Certified Data Engineer Associate Practice Exam — Free Online
QuestionQ1
Data Governance & Quality
Save question
Identify the impact of ON VIOLATION DROP ROW and ON VIOLATION FAIL UPDATE for a constraint violation.
A data engineer has created an ETL pipeline using Delta Live table to manage their company travel reimbursement detail, they want to ensure that the if the location details has not been provided by the employee, the pipeline needs to be terminated.
What is the primary function of the Silver layer in the Databricks medallion architecture?
AStore historical data solely for auditing purposes
BAggregate and enrich data for business analytics
CValidate, clean, and deduplicate data for further processing
DIngest raw data in its original state
In a healthcare provider organization using Delta Lake to store electronic health records (EHRs), a data analyst needs to analyze a snapshot of the patient_records table from two weeks ago before some recent data corrections were applied.
What approach should the Data Engineer take to allow the analyst to query that specific prior version?
ATruncate the table to remove all data, then reload the data from two weeks ago into the truncated table for the analyst to query.
BIdentify the version number corresponding to two weeks ago from the Delta transaction log, share that version number with the analyst to query using VERSION AS OF syntax, or export that version to a new Delta table for the analyst to query.
CRestore the table to the version from two weeks ago using the RESTORE command, and have the analyst query the restored table.
DUse the VACUUM command to remove all versions of the table older than two weeks, then the analyst can query the remaining version.
Which of the following describes the storage organization of a Delta table?
ADelta tables are stored in a single file that contains data, history, metadata, and other attributes.
BDelta tables store their data in a single file and all metadata in a collection of files in a separate location.
CDelta tables are stored in a collection of files that contain data, history, metadata, and other attributes.
DDelta tables are stored in a collection of files that contain only the data stored within the table.
EDelta tables are stored in a single file that contains only the data stored within the table.
A data engineer needs to combine sales data from an on-premises PostgreSQL database with customer data in Azure Synapse for a comprehensive report. The goal is to avoid data duplication and ensure up-to-date information.
How should the data engineer achieve this using Databricks?
AExport data from both sources to CSV files and upload them to Databricks
BUse Lakehouse Federation to query both data sources directly
CManually synchronize data from both sources into a single database
DDevelop custom ETL pipelines to ingest data into Databricks
QuestionQ6
Databricks Intelligence Platform
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ7
Productionizing Data Pipelines
QuestionQ8
Development and Ingestion
QuestionQ9
Development and Ingestion
QuestionQ10
Data Governance & Quality
QuestionQ11
Productionizing Data Pipelines
QuestionQ12
Data Governance & Quality
QuestionQ13
Development and Ingestion
QuestionQ14
Productionizing Data Pipelines
QuestionQ15
Databricks Intelligence Platform
QuestionQ16
Data Governance & Quality
QuestionQ17
Productionizing Data Pipelines
QuestionQ18
Development and Ingestion
QuestionQ19
Data Governance & Quality
QuestionQ20
Databricks Intelligence Platform
QuestionQ21
Data Processing & Transformations
QuestionQ22
Productionizing Data Pipelines
QuestionQ23
Development and Ingestion
QuestionQ24
Databricks Intelligence Platform
QuestionQ25
Productionizing Data Pipelines
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Ad
Want a break from the ads?
Go ad-free and unlock Learn Mode, Exam Mode, AstroTutor AI and every premium tool — everything you need to walk in prepared, and confident.
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Which languages are supported by Serverless compute clusters?
Choose two
ASQL
BPython
CR
DScala
EJava
A data engineer wants to schedule their Databricks SQL dashboard to refresh once per day, but they only want the associated SQL endpoint to be running when it is necessary.
Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?
AThey can ensure the dashboard’s SQL endpoint matches each of the queries’ SQL endpoints.
BThey can set up the dashboard’s SQL endpoint to be serverless.
CThey can turn on the Auto Stop feature for the SQL endpoint.
DThey can reduce the cluster size of the SQL endpoint.
EThey can ensure the dashboard’s SQL endpoint is not one of the included query’s SQL endpoint.
A data engineer is attempting to write Python and SQL in the same command cell and is running into an error. The engineer thought that it was possible to use a Python variable in a select statement.
Why does the command fail?
ADatabricks supports language interoperability in the same cell but only between Scala and SQL.
BDatabricks supports multiple languages but only one per notebook.
CDatabricks supports one language per cell.
DDatabricks supports language interoperability but only if a special character is used.
Which type of workloads are compatible with Auto Loader?
AStreaming workloads
BMachine learning workloads
CServerless workloads
DBatch workloads
A new data engineering team has been assigned to work on a project. The team will need access to database customers in order to see what tables already exist. The team has its own group team.
Which of the following commands can be used to grant the necessary permission on the entire database to the new team?
AGRANT VIEW ON CATALOG customers TO team;
BGRANT CREATE ON DATABASE customers TO team;
CGRANT USAGE ON CATALOG team TO customers;
DGRANT CREATE ON DATABASE team TO customers;
EGRANT USAGE ON DATABASE customers TO team;
A data engineer wants to create a data entity from a couple of tables. The data entity must be used by other data engineers in other sessions. It also must be saved to a physical location.
Which of the following data entities should the data engineer create?
ATable
BFunction
CView
DTemporary view
A data engineer needs to provide access to a group named manufacturing-team. The team needs privileges to create tables in the quality schema.
Which set of SQL commands will grant a group named manufacturing-team to create tables in a schema named production with the parent catalog named manufacturing with the least privileges?
AGRANT CREATE TABLE ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT USE SCHEMA ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT USE CATALOG ON CATALOG manufacturing TO manufacturing-team;
BGRANT USE TABLE ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT USE SCHEMA ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT USE CATALOG ON CATALOG manufacturing TO manufacturing-team;
CGRANT CREATE TABLE ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT CREATE SCHEMA ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT CREATE CATALOG ON CATALOG manufacturing TO manufacturing-team;
DGRANT CREATE TABLE ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT CREATE SCHEMA ON SCHEMA manufacturing.quality TO manufacturing-team; GRANT USE CATALOG ON CATALOG manufacturing TO manufacturing-team;
How can Git operations must be performed outside of Databricks Repos?
ACommit
BPull
CMerge
DClone
A data engineer is maintaining an ETL pipeline code with a GitHub repository linked to their Databricks account. The data engineer wants to deploy the ETL pipeline to production as a databricks workflow.
BMaintain workflow_config.json and deploy it using Databricks CLI
CMaintain workflow_config.json and deploy it using Terraform
DManually create and manage the workflow in UI
A developer configures Databricks Connect and begins running PySpark code locally. They observe that DataFrame operations run on the remote cluster, while actions such as .show() return results directly to the local console.
What does this behavior demonstrate about the way Databricks Connect is used?
AIt requires manual synchronization of results from the cluster
BIt runs all Spark compute locally and only reads remote files
CIt proxies Spark commands from the local client to the remote cluster
DIt mirrors the entire cluster environment on the developer's machine
A data engineer is maintaining a data pipeline. Upon data ingestion, the data engineer notices that the source data is starting to have a lower level of quality. The data engineer would like to automate the process of monitoring the quality level.
Which of the following tools can the data engineer use to solve this problem?
AUnity Catalog
BData Explorer
CDelta Lake
DDelta Live Tables
EAuto Loader
In which of the following scenarios should a data engineer use the MERGE INTO command instead of the INSERT INTO command?
AWhen the location of the data needs to be changed
BWhen the target table is an external table
CWhen the source is not a Delta table
DWhen the target table cannot contain duplicate records
A data engineer is writing a script that is meant to ingest new data from cloud storage. In the event of the Schema change, the ingestion should fail. It should fail until the changes downstream source can be found and verified as intended changes.
Which command will meet the requirements?
AfailOnNewColumns
Bnone
Crescue
DaddNewColumns
A dataset has been defined using Delta Live Tables and includes an expectations clause:
CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION DROP ROW
What is the expected behavior when a batch of data containing data that violates these constraints is processed?
ARecords that violate the expectation are dropped from the target dataset and loaded into a quarantine table.
BRecords that violate the expectation are added to the target dataset and flagged as invalid in a field added to the target dataset.
CRecords that violate the expectation are dropped from the target dataset and recorded as invalid in the event log.
DRecords that violate the expectation are added to the target dataset and recorded as invalid in the event log.
ERecords that violate the expectation cause the job to fail.
What is a benefit of the Databricks Lakehouse Architecture embracing open source technologies?
AAvoiding vendor lock-in
BSimplified governance
CAbility to scale workloads
DCloud-specific integrations
Which statement regarding the relationship between Silver tables and Bronze tables is always true?
ASilver tables contain a less refined, less clean view of data than Bronze data.
BSilver tables contain aggregates while Bronze data is unaggregated.
CSilver tables contain more data than Bronze tables.
DSilver tables contain less data than Bronze tables.
A data engineer using Databricks must manage BI query latency and cost for a sales analytics domain. Silver tables already hold validated, normalized sales and product data. The team needs dashboard-ready query performance and datasets aligned to business concepts (for example, weekly_sales and account_performance) without burdening analysts with complex joins.
Which Gold-layer design approach should the data engineer select in a medallion architecture?
AMove raw, append-only source data directly into Gold to avoid transformation costs and enable time travel.
BCreate denormalized, domain-aligned tables and materialized aggregates (e.g., weekly_sales) optimized for reporting and dashboards.
CBuild only lightly cleansed views in Gold and preserve most business logic in Silver to reduce duplication.
DKeep all data heavily normalized in Gold to minimize storage and rely on BI tools to join data at query time.
A data engineer is designing a data pipeline. The source system generates files in a shared directory that is also used by other processes. As a result, the files should be kept as is and will accumulate in the directory. The data engineer needs to identify which files are new since the previous run in the pipeline, and set up the pipeline to only ingest those new files with each run.
Which of the following tools can the data engineer use to solve this problem?
AUnity Catalog
BDelta Lake
CDatabricks SQL
DAuto Loader
A data analysis team has noticed that their Databricks SQL queries are running too slowly when connected to their always-on SQL endpoint. They claim that this issue is present when many members of the team are running small queries simultaneously. They ask the data engineering team for help. The data engineering team notices that each of the team’s queries uses the same SQL endpoint.
Which approach can the data engineering team use to improve the latency of the team’s queries?
AThey can increase the cluster size of the SQL endpoint.
BThey can increase the maximum bound of the SQL endpoint’s scaling range.
CThey can turn on the Auto Stop feature for the SQL endpoint.
DThey can turn on the Serverless feature for the SQL endpoint.
A data engineer is developing an ETL process based on Spark SQL. The execution fails. The data engineer checks the Spark UI and can see the ERRORS as follows:
"java.lang.OutofMemoryError: Java heap space"
Which two corrective actions should the data engineer perform to resolve this issue?
Choose two
ANarrow the filters in order to collect less data in the query
BUpsize the worker nodes and activate autoshuffle partitions
CUpsize the driver node and deactivate autoshuffle partitions
DCache the dataset in order to boost the query performance
EFix the shuffle partitions to 50 to ensure the allocation
Community Discussion