Courseiva

CompTIA DataSys+ (DS0-001) (DS0-001) (DS0-001) — Questions 151216

216 questions total · 3pages · All types, answers revealed

Page 2

Page 3 of 3

151
MCQeasy

An administrator needs to restrict access to a specific S3 bucket so that only the Finance team can view files. Which configuration is the most effective approach?

A.Configure an S3 Bucket Policy
B.Update the VPC Route Table
C.Enable Public Access Block
D.Enable S3 Versioning
AnswerA

Bucket policies allow for fine-grained resource-based access control.

Why this answer

IAM policies attached to the specific bucket (Bucket Policies) are the primary control for S3 access management.

152
MCQmedium

A database administrator wants to check the current connection count. Which system catalog or dynamic management view would typically provide this information?

A.Information Schema
B.System Tables
C.Dynamic Management Views
D.Audit Logs
AnswerC

DMVs are designed for monitoring server state and connections.

Why this answer

Most RDBMS provide dynamic management views (like sys.dm_exec_sessions in SQL Server) to monitor server health and connections.

153
MCQhard

An analyst notices that a database query is performing full table scans even though a WHERE clause is present on a indexed column. What is a likely reason for this?

A.Too many rows match the criteria
B.The table is too small
C.The index is fragmented
D.Using a function on the indexed column
AnswerD

Non-SARGable queries (those using functions on the left side of the operator) force index misses.

Why this answer

Applying a function (like UPPER() or YEAR()) to an indexed column in the WHERE clause prevents the database from using the index effectively.

154
Multi-Selectmedium

Which THREE of the following are standard SQL join types?

Select 3 answers
A.TOP
B.LEFT
C.SORT
D.INNER
E.FULL
AnswersB, D, E

Returns all left rows.

Why this answer

INNER, LEFT, and FULL are all standard SQL join types.

155
Multi-Selecthard

Which TWO of the following are potential issues when denormalizing a database?

Select 2 answers
A.Data anomalies
B.Simplified data entry
C.Improved schema flexibility
D.Slower join performance
E.Increased storage usage
AnswersA, E

Updates may cause inconsistencies.

Why this answer

Denormalization can lead to data anomalies (inconsistencies) and increased storage usage due to redundancy.

156
MCQmedium

When normalizing a database, what is the primary goal of moving data into a third normal form (3NF)?

A.Remove transitive dependencies
B.Enable multi-dimensional analysis
C.Increase data redundancy
D.Increase read speed
E.Combine multiple tables
AnswerA

3NF focuses on eliminating transitive dependencies.

Why this answer

3NF removes transitive dependencies to ensure that every non-key attribute depends only on the primary key.

157
Multi-Selectmedium

Which TWO of the following are commonly used methods for handling outliers during data analysis?

Select 2 answers
A.Normalization to 0-1 range
B.Ignoring the data quality
C.Deleting all rows containing outliers
D.Winsorization (capping)
E.Increasing the number of dimensions
AnswersC, D

Removing extreme values is a valid, though sometimes risky, strategy.

Why this answer

Capping (winsorizing) and imputation are standard techniques to manage extreme values that might skew analytical results.

158
MCQhard

You are debugging a SQL query that uses an aggregate function. You receive an error stating that a column in your SELECT list is not part of an aggregate or a GROUP BY clause. What is the cause?

A.Missing WHERE clause
B.Incorrect join type
C.Missing column in GROUP BY
D.Using an alias in WHERE
AnswerC

Columns in SELECT that are not aggregated must be grouped.

Why this answer

Standard SQL requires every non-aggregated column in the SELECT clause to be included in the GROUP BY clause to ensure deterministic results.

159
MCQhard

When migrating data between two different relational databases, which DDL-related issue is most likely to cause failure if ignored?

A.Table naming conventions
B.Incompatible data types
C.Storage engine choice
D.Primary key naming
AnswerB

Data type mismatch is a critical technical failure point.

Why this answer

Data types can vary significantly between RDBMS vendors, leading to truncation or conversion errors if not mapped correctly during migration.

160
Multi-Selectmedium

Which THREE of the following are recognized data governance best practices?

Select 3 answers
A.Using a single database vendor
B.Increasing database storage capacity
C.Defining clear data ownership roles
D.Implementing automated data quality checks
E.Maintaining an enterprise data catalog
AnswersC, D, E

Owners are responsible for the security and quality of their data.

Why this answer

Effective governance includes defining data ownership, maintaining a metadata catalog, and ensuring data quality.

161
Multi-Selecthard

Which THREE of the following are components of a standard SQL SELECT statement?

Select 3 answers
A.DROP
B.GRANT
C.WHERE
D.FROM
E.GROUP BY
AnswersC, D, E

Filters rows.

Why this answer

The FROM, WHERE, and GROUP BY clauses are fundamental components used to define the source, filter criteria, and aggregation groups.

162
MCQeasy

What is the benefit of using a 'Dashboard' over a static report?

A.Simplified data security
B.Lower storage requirements
C.Dynamic exploration and interactivity
D.Easier to print
AnswerC

Interactivity is the defining feature of dashboards.

Why this answer

Dashboards offer real-time or near-real-time interactivity, allowing users to explore data dynamically.

163
MCQhard

A company is designing a distributed NoSQL database deployment using MongoDB. They need to ensure high availability and automatic failover in the event that a primary node becomes unreachable. What must the architect configure to achieve this?

A.Implement database mirroring using the primary-secondary synchronous replication setting.
B.Increase the write concern to 'all' to force nodes to write simultaneously.
C.Configure a sharded cluster with a single mongos instance.
D.Deploy a MongoDB Replica Set with at least three nodes.
AnswerD

A replica set provides redundancy and automatic election of a new primary node.

Why this answer

A Replica Set provides automatic failover by electing a new primary when the existing primary fails.

164
MCQeasy

Which tool provides a graphical interface for managing SQL Server instances, including configuring security and creating maintenance plans?

A.Performance Monitor
B.SQL Server Profiler
C.SQL Server Management Studio
D.SQL Server Configuration Manager
AnswerC

SSMS is the primary GUI-based management tool for SQL Server.

Why this answer

SQL Server Management Studio (SSMS) is the standard GUI tool for SQL Server management.

165
MCQmedium

What is the primary purpose of a 'Normalization' process in database design?

A.Convert SQL to NoSQL
B.Reduce redundancy
C.Increase query speed
D.Enable horizontal scaling
AnswerB

Minimizing data duplication is the goal of normalization.

Why this answer

Normalization minimizes redundancy and dependency by organizing fields and table relationships, which reduces data anomalies.

166
MCQeasy

Which document is essential to establish the legal basis for processing personal data under GDPR between a controller and a processor?

A.Service Level Agreement (SLA)
B.Acceptable Use Policy (AUP)
C.Data Privacy Impact Assessment (DPIA)
D.Data Processing Agreement (DPA)
AnswerD

The DPA outlines the processing obligations and security standards.

Why this answer

A Data Processing Agreement (DPA) is a mandatory contract under GDPR that specifies the responsibilities of the data controller and the data processor.

167
MCQhard

A data architect is designing a schema for a high-concurrency e-commerce system. They decide to use a surrogate key instead of a natural key for the Orders table to ensure join performance and data integrity. What is the primary advantage of this design choice?

A.It reduces the storage size of the index compared to a string-based natural key
B.It prevents the insertion of duplicate records
C.It ensures that the database complies with ACID requirements
D.It automatically creates a clustered index on the table
AnswerA

Integer-based surrogate keys are highly efficient for indexing and foreign key joins.

Why this answer

Surrogate keys are immutable, integer-based identifiers that remain stable even if the underlying natural business data (like an order number) changes.

168
Multi-Selectmedium

Which THREE of the following are benefits of database indexing?

Select 3 answers
A.Enforcement of uniqueness
B.Faster data retrieval
C.Optimization of JOIN operations
D.Faster write operations
E.Reduced storage requirements
AnswersA, B, C

Unique indexes prevent duplicates.

Why this answer

Indexing speeds up data retrieval, improves JOIN performance, and aids in uniqueness enforcement.

169
MCQmedium

You are managing a database that uses transparent data encryption. If you need to back up the database, what additional component must be included to ensure the backup can be restored on a different server?

A.The master data file
B.The SQL Server configuration file
C.The transaction log file
D.The certificate and its private key
AnswerD

Without the certificate used to protect the encryption key, the restored database cannot be decrypted.

Why this answer

To restore a TDE-encrypted database, the certificate used to protect the DEK must be backed up and moved to the new server.

170
MCQeasy

In data visualization, what is the 'Data-Ink Ratio' intended to improve?

A.Chart rendering speed
B.Color palette selection
C.Data compression
D.Chart readability and clarity
AnswerD

It focuses on reducing chart junk to clarify data trends.

Why this answer

The Data-Ink Ratio, a concept by Edward Tufte, aims to maximize the information-carrying ink while minimizing non-essential decorations.

171
MCQhard

A database administrator is investigating performance degradation during heavy concurrent write operations. Which isolation level provides the highest level of data consistency but the lowest concurrency?

A.Read Committed
B.Repeatable Read
C.Serializable
D.Read Uncommitted
AnswerC

Serializable provides the highest consistency by preventing all concurrency-related anomalies.

Why this answer

Serializable isolation ensures that concurrent transactions result in a state that could have been achieved if transactions were executed serially, preventing all phenomena but reducing concurrency.

172
MCQhard

A database is experiencing high lock contention on a specific table during batch update processes. What is the most effective way to resolve this issue without changing the application code?

A.Switching to an asynchronous commit model
B.Increasing the memory allocation for the buffer pool
C.Enabling snapshot isolation
D.Dropping all non-clustered indexes
AnswerC

Snapshot isolation uses row versioning to allow reads to proceed without waiting for write locks.

Why this answer

Implementing snapshot isolation (or read-committed snapshot isolation) allows readers to access the versioned data without blocking writers, significantly reducing contention.

173
MCQeasy

In the context of database deployment, what is the primary purpose of a staging environment?

A.To test the deployment and migration process
B.To develop new features in isolation
C.To handle production workload during maintenance
D.To perform unit testing on code
AnswerA

Staging allows for the verification of the actual installation and upgrade steps.

Why this answer

A staging environment is a mirror of production designed to test deployment scripts, configurations, and data migration processes before the final production rollout.

174
MCQhard

When analyzing JSON data stored in a relational database using SQL, how do you typically access nested key-value pairs?

A.Using path-based operators
B.Converting to XML first
C.Using the SELECT * command
D.Using standard JOINs
AnswerA

JSON path accessors are required to traverse hierarchies.

Why this answer

Modern SQL engines provide specific operators or functions (like the '->>' operator in PostgreSQL) to navigate JSON paths.

175
Multi-Selectmedium

As a Data Privacy Officer, you are reviewing technical controls for data security. Which TWO of the following are best practices to ensure 'Privacy by Design' in a new application? (Select TWO)

Select 2 answers
A.Prioritizing high-performance database indexing over data encryption
B.Setting default configuration to capture maximum user metadata
C.Ensuring that privacy settings are set to the most restrictive level by default
D.Implementing pseudonymization for datasets used in testing environments
E.Requiring all developers to have root access to the production database
AnswersC, D

Restrictive defaults ensure that users are protected until they choose to change settings.

Why this answer

Privacy by Design requires embedding privacy controls like pseudonymization and default data settings into the development lifecycle.

176
MCQmedium

When reviewing a database security configuration, which finding poses the highest risk?

A.Old server hardware
B.Lack of database documentation
C.Enabled default accounts with default passwords
D.Redundant indexes
AnswerC

Default credentials are a critical security vulnerability.

Why this answer

Default accounts (like 'admin' or 'sa') with default passwords are the most common entry points for attackers.

177
Multi-Selecteasy

Which TWO of the following are essential components of a robust database backup plan?

Select 2 answers
A.Testing of backup restoration procedures
B.Automatic database schema updates
C.Periodic full and incremental backups
D.Installation of the latest OS patches
E.Off-site storage of backup media
AnswersC, E

Regular backups are the foundation of data recovery.

Why this answer

A complete backup plan must account for both the schedule (frequency) and the location (off-site storage for disaster recovery).

178
MCQeasy

Which action represents a 'Data Lifecycle' phase where data is safely removed?

A.Data Profiling
B.Data Integration
C.Data Ingestion
D.Data Disposition
AnswerD

Disposition is the final stage of the lifecycle.

Why this answer

The 'Disposition' or 'Destruction' phase involves securely deleting data that is no longer required.

179
MCQmedium

When joining two tables in SQL where you need to return all records from the left table even if there is no match in the right table, which JOIN type is appropriate?

A.LEFT JOIN
B.CROSS JOIN
C.INNER JOIN
D.FULL OUTER JOIN
AnswerA

LEFT JOIN preserves all data from the primary table.

Why this answer

A LEFT JOIN returns all rows from the left table and the matched rows from the right table, filling with NULL if no match exists.

180
MCQmedium

To ensure non-repudiation in a database system, what must be captured for every transaction?

A.Audit Logs with Unique User IDs
B.Server Uptime
C.Data Compression
D.Database Versioning
AnswerA

Unique IDs linked to actions ensure accountability.

Why this answer

Detailed audit logs including a timestamp, user ID, and the executed command provide the necessary evidence for non-repudiation.

181
MCQeasy

What is the first step in a Data Governance program?

A.Hiring a network engineer
B.Data Classification and Inventory
C.Writing SQL queries
D.Purchasing storage hardware
AnswerB

You cannot govern what you haven't identified.

Why this answer

Identifying and classifying data assets is the prerequisite to applying any security controls.

182
MCQhard

An organization is deploying a database that requires a Recovery Time Objective (RTO) of less than one minute. Which backup and recovery strategy is most appropriate?

A.Transaction log shipping to a standby server
B.Tape-based full backups
C.Daily incremental backups
D.High-availability clustering
AnswerD

HA clusters offer automatic failover, typically achieving RTOs within seconds.

Why this answer

Always-On availability groups or high-availability clusters allow for near-instant failover, meeting very aggressive RTOs.

183
MCQmedium

A database administrator needs to ensure that a SQL Server transaction log does not grow uncontrollably during a high-volume ETL process. Which recovery model should be configured to allow for periodic log truncation while maintaining a balance between performance and recovery needs?

A.Differential
B.Bulk-Logged
C.Full
D.Simple
AnswerB

Bulk-Logged recovery minimizes log space usage during bulk operations while still allowing for log backups.

Why this answer

The Full recovery model requires log backups to truncate the transaction log. The Simple recovery model automatically truncates the log, but the Bulk-Logged recovery model is specifically designed to minimize log space usage during large-scale bulk-load operations.

184
MCQmedium

A DBA needs to automate the maintenance of database statistics in SQL Server. Which tool is the standard approach to manage this across all user databases?

A.Active Directory Users and Computers
B.SQL Server Configuration Manager
C.SQL Server Agent Maintenance Plans
D.Windows Task Scheduler
AnswerC

Maintenance Plans provide a GUI to schedule and automate statistics updates.

Why this answer

Maintenance Plans allow for the automation of tasks like updating statistics, reorganizing indexes, and backing up databases.

185
MCQeasy

What is the primary purpose of a Data Protection Impact Assessment (DPIA) under GDPR?

A.Identify and mitigate data processing risks
B.Backup the production database
C.Configure firewall rules
D.Accelerate database performance
AnswerA

DPIA is a formal process for risk assessment in data projects.

Why this answer

A DPIA identifies and minimizes data protection risks associated with new data processing activities.

186
Multi-Selecthard

You are evaluating the data lifecycle of an organization's unstructured data. Which THREE actions should be included in a robust Data Retention and Disposal policy? (Select THREE)

Select 3 answers
A.Creating manual backups every 24 hours
B.Automating the migration of all data to off-site tape storage
C.Classifying data based on regulatory and business sensitivity
D.Establishing a legal hold process to override automatic deletion
E.Defining explicit expiration triggers and destruction methods
AnswersC, D, E

Classification determines how long data must be kept.

Why this answer

Retention policies must define how data is stored, categorized by sensitivity, and securely destroyed.

187
MCQhard

In a multi-tenant cloud database, which mechanism ensures that tenant A cannot see data belonging to tenant B?

A.Row-Level Security (RLS)
B.Data Replication
C.Schema Versioning
D.Database Encryption
AnswerA

RLS enforces data isolation at the record level.

Why this answer

Row-Level Security (RLS) restricts rows in a table based on user or application context, effectively enforcing logical isolation.

188
Multi-Selecthard

Which TWO of the following are common risks associated with performing a direct 'DROP' operation on a large production table?

Select 2 answers
A.Automatic loss of database backup files
B.Corruption of the master database
C.Excessive transaction log growth
D.Immediate application errors due to missing objects
E.Permanent increase in database file size
AnswersC, D

The operation needs to be recorded, potentially filling the log.

Why this answer

Dropping a large table can cause massive transaction log growth if the operation is logged, and it can cause immediate application failures if the application expects the table to exist.

189
MCQhard

A database developer is implementing a partitioning strategy for a large table containing historical financial records. The requirement is to allow for efficient archival of data older than five years. Which partitioning strategy should be chosen?

A.Range partitioning
B.Composite partitioning
C.List partitioning
D.Hash partitioning
E.Round-robin partitioning
AnswerA

Range partitioning is ideal for time-series data, allowing for efficient partition dropping or archiving.

Why this answer

Range partitioning allows the database to group data by specific values such as dates, making it very simple to drop an entire partition when data reaches its archival age.

190
Multi-Selecteasy

Which TWO of the following are common types of data visualizations used to represent trends over time?

Select 2 answers
A.Histogram
B.Scatter Plot
C.Line Chart
D.Area Chart
E.Pie Chart
AnswersC, D

Line charts are the standard for temporal trends.

Why this answer

Line charts and area charts are the most effective visual representations for showing changes over continuous time intervals.

191
Multi-Selecthard

Which TWO of the following are common issues encountered when integrating data from disparate sources?

Select 2 answers
A.Excessive storage space
B.Inconsistent data formats
C.Fast network speeds
D.Conflicting identifiers
E.Over-documentation
AnswersB, D

Example: date formats differing between systems.

Why this answer

Inconsistent data formats and conflicting identifiers are the most common barriers to effective data integration.

192
MCQhard

A DBA is tuning a query that performs a large join. The execution plan shows a 'Hash Match' operation. What can the DBA do to potentially change the join algorithm if the Hash Match is causing high memory pressure?

A.Create an index on join columns
B.Set the isolation level to Read Uncommitted
C.Force the join order
D.Update statistics
AnswerA

Indexing join keys provides the optimizer with alternative, potentially more efficient, join strategies.

Why this answer

Adding an index on the join columns allows the optimizer to consider a 'Merge Join' or 'Nested Loop' join, which may be more memory-efficient than a Hash Match.

193
MCQmedium

Which of the following is a common symptom of a broken access control mechanism in a database?

A.High CPU usage
B.Database fragmentation
C.Slow network speed
D.Insecure Direct Object Reference (IDOR)
AnswerD

IDOR occurs when a user can manipulate an input to access another user's data.

Why this answer

Insecure Direct Object References (IDOR) allow users to access resources they should not, indicating broken access control.

194
Multi-Selectmedium

A security team is implementing an access management strategy. Which THREE of the following are considered essential components of an effective Identity and Access Management (IAM) framework?

Select 3 answers
A.Authentication mechanisms
B.Network cabling standards
C.Centralized logging and auditing
D.Authorization policies
E.Database partitioning
AnswersA, C, D

Verifies the user's identity.

Why this answer

IAM frameworks rely on Authentication (who you are), Authorization (what you can do), and Auditing (tracking what you did).

195
MCQmedium

A DBA is configuring an Always On Availability Group in SQL Server. To ensure that the secondary node can be used for read-only reporting tasks, which setting must be correctly configured in the Availability Group replica settings?

A.Readable Secondary
B.Automatic Failover
C.Synchronous Commit
D.Primary Role
AnswerA

This setting enables the secondary replica to handle read-only workloads.

Why this answer

The 'Readable Secondary' property must be set to 'Read-intent only' or 'Yes' to allow the secondary node to accept connections for reporting tasks.

196
MCQeasy

Which of the following is an example of an unstructured data source that a data analyst might need to ingest?

A.An email message body
B.An XML file with defined tags
C.A relational SQL table
D.A CSV file with fixed columns
AnswerA

Textual content in emails is unstructured.

Why this answer

Emails are considered unstructured because they contain free-form text that does not follow a strict relational schema.

197
MCQhard

A database architect is setting up an Always On Availability Group in SQL Server. To ensure that the secondary replica can be used for read-only workloads without impacting the primary node's performance, how should the 'Readable Secondary' property be configured?

A.Set the synchronous commit mode to 'Asynchronous' on all nodes.
B.Set to 'Yes' and force all writes through the secondary replica.
C.Set to 'Read-intent only' to allow access based on application connection strings.
D.Set to 'No' and route traffic via a secondary listener.
AnswerC

This allows offloading read-only traffic to the secondary replica effectively.

Why this answer

The Readable Secondary property allows you to designate which replicas accept read-only connections. Setting this to 'Read-intent only' is a common practice for offloading read-only reporting queries.

198
MCQhard

An organization uses a 'bring your own key' (BYOK) model for database encryption. What is the primary benefit?

A.Easier database installation
B.Improved query performance
C.Increased control over encryption keys
D.Lower storage costs
AnswerC

BYOK ensures the data owner manages the lifecycle of the key.

Why this answer

BYOK allows the organization to retain full control over the encryption keys, preventing the cloud provider from accessing the data.

199
Multi-Selectmedium

Which THREE of the following are common SQL constraints?

Select 3 answers
A.GROUP BY
B.JOIN
C.PRIMARY KEY
D.UNIQUE
E.CHECK
AnswersC, D, E

Ensures unique row identification.

Why this answer

PRIMARY KEY, UNIQUE, and CHECK are standard SQL constraints used to maintain data integrity.

200
Multi-Selecthard

Which TWO technologies or methods are most effective at protecting sensitive data against insider threats?

Select 2 answers
A.Deploying Database DLP tools
B.Using a custom UI theme
C.Implementing separation of duties
D.Increasing server RAM
E.Enabling database mirroring
AnswersA, C

DLP monitors and blocks data exfiltration attempts.

Why this answer

Separation of duties and Data Loss Prevention (DLP) tools are the most effective ways to mitigate the risk posed by users with elevated privileges.

201
MCQmedium

You are deploying a MySQL database on Linux and want to ensure that the database files are isolated from system logs for performance reasons. Which MySQL configuration variable should you modify to specify the data directory location?

A.tmpdir
B.log_error
C.basedir
D.datadir
AnswerD

datadir defines the location of the database data files.

Why this answer

The datadir variable in the [mysqld] section of the my.cnf file specifies the location where database files are stored.

202
MCQhard

A database administrator needs to ensure that a query calculating running totals is performant. Which window function clause is essential to order the calculation sequence?

A.GROUP BY
B.PARTITION BY
C.ROWS BETWEEN
D.ORDER BY
AnswerD

ORDER BY is required to define the sequential nature of a running total.

Why this answer

The ORDER BY clause inside the OVER() function determines the sequence for running calculations.

203
MCQeasy

Which document outlines the 'Data Owner' responsibilities in a data governance framework?

A.Server Inventory List
B.Database Schema
C.Data Governance Charter
D.Network Topology Map
AnswerC

The charter defines the governance framework and roles.

Why this answer

A Data Governance Charter defines roles, responsibilities, and decision-making authority within the organization.

204
MCQhard

A database is configured with a high-availability cluster. During a planned maintenance window, you need to fail over to the secondary node manually. Which command or action is used in a Windows Server Failover Cluster (WSFC) environment?

A.SHUTDOWN WITH NOWAIT
B.ALTER SERVER ROLE
C.Move-ClusterGroup
D.RESTORE DATABASE
AnswerC

This PowerShell command or the Failover Cluster Manager GUI triggers the manual transition.

Why this answer

In a WSFC environment, the 'Move' command in the Failover Cluster Manager is used to manually move the role (including the database resource) to another node.

205
MCQeasy

Which database feature is used to automatically maintain data integrity by ensuring that a value in a child table exists as a primary key in a parent table?

A.Foreign key constraint
B.Check constraint
C.Unique constraint
D.Default constraint
AnswerA

Foreign keys link tables and enforce referential integrity.

Why this answer

A Foreign Key constraint is the standard relational database mechanism for enforcing referential integrity between tables.

206
MCQmedium

A business user needs to calculate the average age of customers, but some age fields are NULL. Which function should be used to treat NULL as 0?

A.NULLIF
B.IFNULL
C.COALESCE
D.ISNULL
AnswerC

COALESCE is the standard SQL function for handling NULLs.

Why this answer

The COALESCE function returns the first non-null expression in the list, allowing NULLs to be replaced with 0.

207
MCQmedium

Which SQL clause is used to sort the result of a query by one or more columns?

A.ORDER BY
B.SORT BY
C.ARRANGE BY
D.GROUP BY
AnswerA

ORDER BY sorts query results.

Why this answer

The ORDER BY clause is used to sort the result set in ascending or descending order.

208
MCQeasy

What does the 'P' in the acronym 'KPI' stand for?

A.Product
B.Process
C.Performance
D.Planning
AnswerC

Correct terminology.

Why this answer

KPI stands for Key Performance Indicator.

209
MCQeasy

A database administrator needs to perform a schema-only export of a database. Which tool parameter is typically used for this purpose in mysqldump?

A.--quick
B.--add-drop-table
C.--all-databases
D.--no-data
AnswerD

This option excludes data rows and exports only the schema definitions.

Why this answer

The '--no-data' flag instructs mysqldump to export the schema (CREATE statements) without including the table content.

210
MCQhard

A company is using a cloud-based data lake. To satisfy data sovereignty requirements, they must ensure data remains in a specific region. How can this be enforced?

A.Regional Resource Policies
B.Database Load Balancing
C.Database Indexing
D.Data Compression
AnswerA

Resource policies prevent the creation of assets outside allowed regions.

Why this answer

Cloud providers use resource location constraints and policy-based tags to restrict where data can be physically stored.

211
MCQeasy

Which document is essential to create during the database planning phase to define the specific requirements, constraints, and business rules of the proposed system?

A.Database Requirements Specification
B.User Access Policy
C.Disaster Recovery Plan
D.Database Schema Diagram
AnswerA

This document captures all business, technical, and performance needs for the deployment.

Why this answer

A Database Requirements Specification (DRS) serves as the roadmap for the database build, ensuring all stakeholders agree on the system scope.

212
Multi-Selectmedium

Which THREE of the following are components of a database connection string?

Select 3 answers
A.Operating system version
B.Server address
C.Database name
D.Credentials
E.CPU core count
AnswersB, C, D

Identifies the host.

Why this answer

Server address, database name, and authentication credentials are all standard components of a connection string.

213
MCQmedium

You are auditing data security controls. You find that raw sensitive data is being written to application logs by the ETL process. Which remediation step best aligns with the principle of 'Data Minimization'?

A.Implement a log retention policy of 30 days
B.Configure the logging framework to redact sensitive fields at the source
C.Restrict access to log files to senior engineers only
D.Encrypt the log files at rest using AES-256
AnswerB

Redaction prevents sensitive data from ever reaching the logs, upholding minimization.

Why this answer

Data minimization dictates that you should only collect and process the data strictly necessary for the purpose, which includes removing sensitive data from logs.

214
MCQhard

A production database server is running out of memory. Which setting in SQL Server limits the amount of memory the instance can consume from the OS?

A.max server memory
B.Query memory grant
C.Working set size
D.min server memory
AnswerA

This setting limits the instance to a specified maximum amount of memory.

Why this answer

The 'max server memory' setting in SQL Server configuration determines the ceiling for the buffer pool, preventing the instance from starving the OS.

215
MCQmedium

To comply with CCPA, an organization must track the 'Right to Know' requests. Which component of a Data Governance Framework is most relevant?

A.Data Ingestion Pipeline
B.Data Cataloging
C.Load Balancing
D.Data Compression
AnswerB

Catalogs map data assets to owners and sensitivity levels.

Why this answer

Data Cataloging allows for the inventory and metadata management necessary to respond to data access requests.

216
MCQmedium

An administrator needs to enforce password complexity on the database level. Where should this policy be configured?

A.Database Trigger
B.Backup Schedule
C.Database Authentication Policy/IAM
D.Stored Procedure
AnswerC

Authentication policies define the requirements for user credentials.

Why this answer

Password policies for database users are typically managed via the database's built-in authentication provider or integrated identity management system.

Page 2

Page 3 of 3

All pages