An on-premises application server connects to a database in the cloud. Which of the following must be considered to ensure data integrity during transmission?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationEncryption protects data transmitted between the on-premises application and the cloud database. A secure encrypted channel can detect tampering as well as prevent unauthorized parties from reading the traffic, supporting integrity while the data crosses the network. Bandwidth and redundancy do not validate transmitted content, and masking changes presentation.
A database administrator should review the database disaster recovery documentation:
-
A
whenever a new Chief Technical Officer joins the company.
-
B
when the company's business requirements change.
-
C
during every first week of every month.
-
D
just before an outside audit is scheduled.
Reveal answer details
Close answer details
Correct answerB
ExplanationDisaster recovery documentation must remain aligned with what the business needs the database to protect and restore. When business requirements change, recovery priorities, dependencies, procedures, or objectives may also change, so the documentation should be reviewed and updated at that point.
Which of the following is a result of an on-path attack on a system?
-
A
A Wi-Fi networkthat redirects to clones of legitimate websites
-
B
A website that has crashed and is no longer accessible
-
C
An email from an unknown source requesting bank account details
-
D
A web application that returns the addresses of its customers
Reveal answer details
Close answer details
Correct answerA
ExplanationAn on-path attacker places itself between a user and the intended destination, allowing traffic to be intercepted or redirected. A Wi-Fi network that sends users to clones of legitimate websites demonstrates that intermediary control and can capture information intended for the real sites. A crash or deceptive email does not require interception of the network path.
Which of the following characterizes the disruptive effects of a SQL injection and a denial-of-service attack?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationImpacts are the disruptive consequences produced when attacks succeed, such as unavailable service, altered data, or exposed information. SQL injection and denial-of-service are threats or attack methods; the damage and operational disruption they cause are their impacts. A vulnerability is the weakness that permits an attack, while risk combines possibility with consequence.
A database administrator is new to a company and wants to create a document that illustrates the interaction between tables. Which of the following should the administrator create?
-
A
-
B
Entity relationship diagram
-
C
-
D
Database reference manual
Reveal answer details
Close answer details
Correct answerB
ExplanationAn entity relationship diagram visually represents database entities, their attributes, and the relationships connecting them. It therefore documents how tables interact, such as one-to-many links established through keys. A data dictionary describes individual data elements, while guides and manuals use prose rather than directly modeling table relationships.
A database administrator has configured a Resource Governor with three resource pools. The first resource pool is assigned a minimum CPU and memory value of 25%. The second resource pool is assigned a minimum CPU and memory value of 35%. The database administrator wants to assign the maximum CPU and memory value to the third resource pool. Which of the following is the maximum the database administrator should assign to the third resource pool?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationThe minimum resource percentages assigned across the resource pools cannot exceed 100% in total. The first two pools reserve 25% and 35%, for a combined minimum allocation of 60%. This leaves 40% available for the minimum guaranteed allocation of the third resource pool. Therefore, the largest value that can be assigned while keeping the combined minimum allocations within 100% is 40%.
Which of the following commands is part of DDL?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationCREATE is a data definition language command because it defines a new database object, such as a table, view, or index. DDL concerns database structure and object definitions. UPDATE and INSERT manipulate rows of data, while GRANT controls permissions, so those commands belong to different functional categories.
A database administrator manages a database server that is running low on disk space. A lot of backup files are stored on the server's disks. Which of the following is thebestaction for the administrator to take?
-
A
Move all the backup files to external disks.
-
B
Delete all the backup files containing data that is rated as classified.
-
C
Delete all the backup files that are not required by the backup retention policy.
-
D
Delete all the backup files except for the most recent one.
Reveal answer details
Close answer details
Correct answerC
ExplanationA backup retention policy establishes which backup files must remain available and when older files may be removed. Deleting only files that are no longer required frees disk space without discarding protected recovery points. Removing all backups, keeping only the newest one, or deleting files based on data classification could violate recovery and retention requirements.
A group of developers needs access to a database in a development environment, but the database contains sensitive data. Which of the following should the database administrator do before giving the developers access to the environment?
-
A
Audit access to tables with sensitive data.
-
B
Remove sensitive data from tables
-
C
-
D
Encrypt connections to the development environment.
Reveal answer details
Close answer details
Correct answerC
ExplanationData masking replaces or obscures sensitive values while preserving data formats and enough realistic structure for development work. Applying masking before access lets developers use the environment without seeing the original confidential values. Auditing only records access, and connection encryption protects transit without concealing the data after an authorized connection.
Question 10
Single choice
A database administrator is migrating the information in a legacy table to a newer table. Both tables contain the same columns, and some of the data may overlap. Which of the following SQL commands should the administrator use to ensure that records from the two tables are not duplicated?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationUNION combines the result sets from compatible queries and removes duplicate rows from the combined result. Because the legacy and new tables contain the same columns, their records can be projected in the same order and merged with UNION. JOIN combines related columns from rows, while CROSS JOIN creates combinations and can greatly multiply records.
Question 11
Single choice
(Before installing a new database instance for an organization, a DBA needs to verify the amount of space, the hardware, and the network resources. Which of the following best describes this process?)
-
A
Performing patch management
-
B
Upgrading the database instance
-
C
Checking for database prerequisites
-
D
Provisioning the configuration
Reveal answer details
Close answer details
Correct answerC
ExplanationChecking available storage, compatible hardware, and network capacity verifies that the environment meets the database software's prerequisites before installation begins. This prevents deployment from proceeding on an unsuitable platform. Patch management updates software, an upgrade changes an existing instance, and provisioning occurs after requirements and capacity have been established.
Question 12
Single choice
Which of the following statements best classifies a rollback in a database?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationROLLBACK controls the outcome of the current transaction by undoing changes that have not been committed. Commands that establish, commit, or reverse transactional work belong to TCL, or Transaction Control Language. DDL defines structures, DCL manages permissions, and DML reads or changes data without itself classifying the transaction-control action.
Question 13
Single choice
Which of the following involves executing code against a database?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationSQL injection occurs when crafted input is incorporated into a database command and is interpreted as executable SQL rather than only as data. This can alter the intended query or invoke unauthorized operations against the database. Phishing and social engineering target people, while an on-path attack intercepts traffic.
Question 14
Multiple choice
Which of the following should be factored into the decision regarding storage when planning a new database? (Choose two.)
-
A
-
B
-
C
-
D
-
E
-
F
Central processing unit cores
Reveal answer details
Close answer details
Correct answersD, E
ExplanationStorage size determines how much capacity the database needs for current data, expected growth, indexes, and operational overhead. Storage speed determines how quickly that data can be read or written. Together, size and speed address the capacity and performance properties of the storage subsystem.
Question 15
Single choice
(A systems analyst receives an error report and wants to quickly switch the rows to columns in order to match the format required for analysis. Which of the following spreadsheet functions should the analyst use to make this change?)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationTranspose exchanges the orientation of a data range: existing rows become columns, and existing columns become rows. That directly converts the report into the layout required for analysis without changing the values themselves. Concat joins text, VLOOKUP retrieves a value by lookup, and Clean removes nonprinting characters.
Question 16
Single choice
Which of the following is a tool for preventing data loss?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationEncryption transforms readable data into ciphertext that cannot be meaningfully used without the appropriate key. This protects stored or transmitted information if an unauthorized party obtains it, making encryption a direct data-loss protection control. A gateway and IP configuration handle connectivity, while scripts are a general automation mechanism rather than protection by themselves.
Question 17
Single choice
A database's daily backup failed. Previous backups were completed successfully. Which of the following should the database administrator examine first to troubleshoot the issue?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationThe event log is the first place to look because it records errors and status messages generated when the scheduled backup attempted to run. Its entries can identify the failing component and time before broader resource investigation begins. CPU usage, disk space, and operating-system performance may be checked afterward when a logged error points to them.
Question 18
Single choice
A user successfully signs in to a database but is denied permission to read the payroll table. Which control produced the denial?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationSuccessful sign-in establishes that authentication has verified the user's identity. The later decision about whether that identity may read the payroll table is authorization. The denial therefore comes from permission enforcement, not from password complexity or the process used to enroll the identity.
Question 19
Single choice
The database must expose a parameterized, multi-step write operation while granting callers permission to execute it without direct update rights on its tables. Which object best fits?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationA stored procedure can accept parameters and encapsulate a controlled sequence of write statements as one callable database object. Callers can receive permission to execute that procedure without receiving direct update rights on its underlying tables, supporting both the multi-step operation and restricted access model.
Question 20
Single choice
A data scientist recently joined a company and needs to review the data before building models. Which of the following tools can the data scientist use to find the most extensive details?
-
A
Maintenance documentation
-
B
Unified modeling language
-
C
Entity relationship diagram
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationA data dictionary provides detailed metadata about the available data, such as field meanings, data types, formats, constraints, ownership, and permitted values. Those details help a data scientist understand and assess variables before modeling more fully than a diagram or maintenance document would.
Question 21
Single choice
Which of the following best describes the category of SQL commands required to revoke access to database objects?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationDCL, or Data Control Language, governs authorization to database objects. Commands in this category grant or revoke privileges, so removing a user's access is a DCL operation. DDL defines database structures, DML reads or changes stored data, and TCL controls transactions; none of those categories primarily manages object permissions.
Question 22
Single choice
A database administrator executed multiple transactions and needs to finish the operations. Which of the following functions should the administrator use?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationCOMMIT completes the transaction by making its successful changes durable and ending the current transactional unit of work. ROLLBACK would instead undo uncommitted operations. Save and return are not the transaction-control operation used to finalize multiple database changes.
Question 23
Single choice
An analyst shared a database directly from a workstation. A week later, users could not access the database, but could access other shared resources. Which of the following is the most likely reason the shared database is unavailable?
-
A
The IP addresses for the sharing workstation changed.
-
B
The DNS changed the workstation's name.
-
C
The IP addresses for the users' workstations changed.
-
D
The DNS permissions changed.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe database is hosted by the sharing workstation, so clients need a stable way to locate that host. If the sharing workstation's IP address changed while clients were connecting to its previous address, access to that database would fail even though unrelated shared resources remained available.
Question 24
Single choice
A business analyst queries the same few tables every quarter and does not want to write new SQL code every time. Which of the following would best support the business analyst's needs and allow the database administrator to optimize disk space?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationA view stores a reusable query definition over the underlying tables. The analyst can query that view each quarter instead of rewriting the joins and filters, while the base data remains in its existing tables. Because a standard view does not duplicate the full result as another table, it supports repeated access without consuming space for a separate data copy.
Question 25
Single choice
During a routine audit, a database administrator discovers that the department manager's birthday is next week. The database administrator decides to plan a birthday party for the manager. Which of the following guidelines would the administrator violate by planning the party?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationA birthday is personal information connected to an identifiable employee, so it falls within PII handling requirements. The administrator encountered it while performing authorized database duties and then used it for an unrelated personal purpose. PCI DSS concerns payment-card data, SOX concerns financial controls, and ANSI develops standards rather than defining this privacy category.
Question 26
Single choice
The execution plan shows a full table scan because a filter applies a function to an indexed column. What is the least disruptive first optimization to test?
-
A
Add indexes to every column in the table
-
B
Increase server memory without changing the statement
-
C
Change several database parameters in one deployment
-
D
Rewrite the predicate for indexed access and compare plans
Reveal answer details
Close answer details
Correct answerD
ExplanationApplying a function to the indexed column can prevent the optimizer from using the index for direct access, producing the full scan. Rewriting the predicate so the indexed value can be searched directly addresses that cause. Comparing execution plans then verifies the effect before making broader system changes.
Question 27
Multiple choice
Which of the following have data manipulation and procedural scripting power? (Choose two.)
-
A
-
B
-
C
-
D
-
E
-
F
Reveal answer details
Close answer details
Correct answersB, F
ExplanationPL/SQL extends SQL with procedural constructs for variables, conditions, loops, exceptions, and reusable program units while retaining SQL data manipulation. T-SQL likewise combines SQL operations with procedural control features. These extensions can therefore both manipulate database data and implement multi-step scripting logic.
Question 28
Single choice
(A shared folder can only be accessed by authorized users. Which of the following policies was applied in this scenario?)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationRights and privileges determine which users are authorized to access a resource and what operations they may perform on it. Applying them to the shared folder allows approved users while denying everyone else. Password policies govern credential quality, service accounts support applications or services, and firewall policy filters network traffic rather than folder authorization.
|