AWS Certified Data Engineer Associate DEA-C01 Practice Question

A data engineering team stores AWS Glue PySpark scripts in an AWS CodeCommit repository. An AWS CodePipeline currently builds the artifacts and deploys them through AWS CloudFormation. The team must add an automated test stage that installs Python dependencies, executes pytest-based unit tests that import AWS Glue 4.0 libraries, and fails the pipeline if any test fails, while minimizing cost and infrastructure management. Which solution meets these requirements?

  • Insert an AWS Batch job action that spins up an EMR on EKS cluster during the pipeline run to execute the PySpark unit tests and then terminates the cluster.

  • Introduce a manual approval action that requires a data engineer to execute the tests on a dedicated EC2 instance before continuing the pipeline.

  • Add an AWS CodeBuild stage to the pipeline that uses the public AWS Glue 4.0 Docker image as its build environment, runs pip install -r requirements.txt followed by pytest, and lets the build's exit code determine pipeline success.

  • Add an AWS Glue job configured with job bookmarks in "Test run" mode; configure CodePipeline to monitor a CloudWatch metric from the job and fail if the metric reports errors.

AWS Certified Data Engineer Associate DEA-C01
Data Ingestion and Transformation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot