DOP-C02 Practice Exam 9: Data and AI platform DevOps
AWS Certified DevOps Engineer – Professional. 75 questions, 12 with more than one correct answer. Real exam: 75 questions (65 scored, 10 unscored), multiple choice and multiple response, 180 minutes, pass at a scaled 750 / 1,000.
Independent practice questions by Core Concept Learning, written from the public exam guide; not official AWS content. Study the free DOP-C02 course
Study mode: check any answer as you go. Or practise under exam conditions: 180 minutes, answers hidden until you submit.
Question 1
Domain 1: SDLC Automation · Task 1.1A data platform team keeps Glue job scripts, Step Functions definitions and IAM roles in Git. Every merge must deploy them to a dev account, run a sample job, then promote to production. Which approach fits BEST?
Question 2
Domain 1: SDLC Automation · Task 1.1An ML team's training container takes 40 minutes to build because it installs large CUDA libraries every time. What should the engineer do?
Question 3
Domain 1: SDLC Automation · Task 1.1A generative AI app's prompt templates and guardrail settings change often. The team wants them versioned, reviewed and deployed through the same pipeline as code. Which approach fits BEST?
Question 4
Domain 1: SDLC Automation · Task 1.1A data pipeline's CodeBuild step needs a database password and an API token for a SaaS data source. Which TWO practices fit? Select TWO.
Choose 2.
Question 5
Domain 1: SDLC Automation · Task 1.1A team wants its SageMaker model training pipeline to run automatically whenever new labeled data lands in S3, and register the resulting model for approval. Which approach fits BEST?
Question 6
Domain 1: SDLC Automation · Task 1.2A data engineering team wants every change to its Spark transformations tested against a small sample dataset, with row counts and schema checked, before deployment. Where should the tests run?
Question 7
Domain 1: SDLC Automation · Task 1.2Before a new model version replaces the current one, the team wants to confirm its accuracy on a held-out dataset meets a threshold, and stop the release otherwise. What should the pipeline include?
Question 8
Domain 1: SDLC Automation · Task 1.2A generative AI assistant must be tested on every release for harmful outputs and hallucinations against a fixed set of prompts. Which approach fits BEST?
Question 9
Domain 1: SDLC Automation · Task 1.2A team's data pipeline build passes, but downstream reports break because a column was renamed. What should the pipeline add?
Question 10
Domain 1: SDLC Automation · Task 1.3ML teams share feature engineering code as Python packages across 20 accounts, and training jobs must use only approved versions. What should the engineer set up?
Question 11
Domain 1: SDLC Automation · Task 1.3A team trains models in SageMaker and needs each model version tracked with its training data reference, metrics and approval status before deployment. What should the engineer use?
Question 12
Domain 1: SDLC Automation · Task 1.3Inference container images are large and slow to start on new nodes. Which TWO actions reduce startup time? Select TWO.
Choose 2.
Question 13
Domain 1: SDLC Automation · Task 1.4A real-time inference endpoint on SageMaker must be updated to a new model with a small share of traffic first and automatic rollback if latency or errors rise. What should the engineer use?
Question 14
Domain 1: SDLC Automation · Task 1.4A Lambda function that enriches streaming records must be deployed gradually, 10% at a time every minute, with rollback on errors. Which configuration fits?
Question 15
Domain 1: SDLC Automation · Task 1.4A Glue ETL job update must be rolled out so that if the new version fails, the previous version can run immediately. Which approach fits BEST?
Question 16
Domain 1: SDLC Automation · Task 1.4A data API on EKS is deployed with Helm. After an upgrade, pods fail and the team needs the previous release back within minutes. What should the engineer do?
Question 17
Domain 1: SDLC Automation · Task 1.4A team runs batch inference on ECS. New container versions must be tested on 5% of jobs before all jobs use them. Which approach fits BEST?
Question 18
Domain 2: Configuration Management and IaC · Task 2.1A data platform team wants each new data domain to get the same S3 buckets, Glue databases, Lake Formation permissions and IAM roles from a single definition. Which approach fits BEST?
Question 19
Domain 2: Configuration Management and IaC · Task 2.1A team uses CloudFormation to deploy SageMaker endpoints. Changing the endpoint configuration replaces the endpoint, causing downtime. What should the engineer do?
Question 20
Domain 2: Configuration Management and IaC · Task 2.1The platform team needs data pipeline settings, such as batch sizes and feature switches, changed safely at runtime with validation and rollback. Which service fits BEST?
Question 21
Domain 2: Configuration Management and IaC · Task 2.1A team defines its Bedrock-based application, including the knowledge base, guardrails and Lambda functions, and wants it deployed identically to three accounts. What should the engineer use?
Question 22
Domain 2: Configuration Management and IaC · Task 2.1A team's CloudFormation stack for an EMR cluster sometimes fails because a bootstrap script isn't ready. The cluster must only be marked complete when its steps finish. Which TWO options help? Select TWO.
Choose 2.
Question 23
Domain 2: Configuration Management and IaC · Task 2.2A company creates a separate account for each ML research project, which must come with a VPC without internet access, SageMaker domain settings and budget limits. What should the engineer use?
Question 24
Domain 2: Configuration Management and IaC · Task 2.2Research accounts must never use GPU instance types larger than a set size, and must not create internet gateways. Which control fits BEST?
Question 25
Domain 2: Configuration Management and IaC · Task 2.2Only approved Bedrock foundation models may be invoked in the organization's accounts. The Model access page has been retired. What should the engineer configure?
Question 26
Domain 2: Configuration Management and IaC · Task 2.2Security must see GuardDuty, Inspector and Macie findings for all data and ML accounts in one place, including new accounts. What should the engineer configure?
Question 27
Domain 2: Configuration Management and IaC · Task 2.3Nightly, a data platform must run Glue jobs, wait for them, run quality checks, and publish a report, with retries and alerts on failure. Which service fits BEST?
Question 28
Domain 2: Configuration Management and IaC · Task 2.3The platform team runs Apache Airflow DAGs for data pipelines and wants to stop managing Airflow servers. Which service fits BEST?
Question 29
Domain 2: Configuration Management and IaC · Task 2.3SageMaker notebook instances are left running overnight and over weekends, wasting money. What should the engineer automate?
Question 30
Domain 2: Configuration Management and IaC · Task 2.3A team must keep 400 EC2 instances that run data agents patched and configured, including on-premises collectors, with compliance reports. Which TWO features fit? Select TWO.
Choose 2.
Question 31
Domain 3: Resilient Cloud Solutions · Task 3.1A real-time inference endpoint serves a fraud model and must survive an instance or AZ failure. What should the engineer configure?
Question 32
Domain 3: Resilient Cloud Solutions · Task 3.1A data lake's S3 buckets must stay available for analytics even if a Region has a prolonged outage, with recent data present in the second Region. What should the engineer configure?
Question 33
Domain 3: Resilient Cloud Solutions · Task 3.1A streaming platform on Amazon MSK must keep running if a broker or AZ fails. Which TWO settings help? Select TWO.
Choose 2.
Question 34
Domain 3: Resilient Cloud Solutions · Task 3.1A generative AI app depends on one foundation model in one Region and fails during Regional capacity issues. Which change improves resilience with minimal code changes?
Question 35
Domain 3: Resilient Cloud Solutions · Task 3.2A SageMaker endpoint's traffic varies by time of day. The team wants instances added and removed automatically based on invocations per instance. What should the engineer configure?
Question 36
Domain 3: Resilient Cloud Solutions · Task 3.2A data ingestion service on Kinesis Data Streams throttles producers as new data sources are added, and traffic is unpredictable. What should the engineer change?
Question 37
Domain 3: Resilient Cloud Solutions · Task 3.2Batch feature computation jobs take hours, can be interrupted and resumed, and must run as cheaply as possible on many instance types. What should the engineer use?
Question 38
Domain 3: Resilient Cloud Solutions · Task 3.2A Redshift data warehouse slows down every morning when 200 analysts run dashboards at the same time. Which TWO features help? Select TWO.
Choose 2.
Question 39
Domain 3: Resilient Cloud Solutions · Task 3.3The data platform's Glue Data Catalog and Lake Formation permissions must be recoverable in another Region within 8 hours. What should the engineer plan?
Question 40
Domain 3: Resilient Cloud Solutions · Task 3.3Training data in S3 must be protected from accidental deletion and ransomware for 90 days, and a copy must exist in another account. Which TWO features fit? Select TWO.
Choose 2.
Question 41
Domain 3: Resilient Cloud Solutions · Task 3.3The Hive-compatible metastore for the analytics platform lives in RDS for MySQL. If its Region fails, the platform may lose a few minutes of metadata changes and must be back within an hour. Which approach fits BEST?
Question 42
Domain 4: Monitoring and Logging · Task 4.1A Bedrock-based assistant must log every prompt and response for compliance review, retained for 1 year. What should the engineer enable?
Question 43
Domain 4: Monitoring and Logging · Task 4.1An ML platform team needs GPU utilization and memory metrics from training instances in CloudWatch. What should the engineer configure?
Question 44
Domain 4: Monitoring and Logging · Task 4.1A data platform's Glue and EMR logs from 30 accounts must be searchable in one place, and new accounts must be included automatically. What should the engineer configure?
Question 45
Domain 4: Monitoring and Logging · Task 4.1A team must track the number of input and output tokens per application for a Bedrock-based platform to allocate costs. What should the engineer use?
Question 46
Domain 4: Monitoring and Logging · Task 4.2A model's prediction quality degrades slowly as input data changes. The team wants alerts when input features drift from the training baseline. What should the engineer use?
Question 47
Domain 4: Monitoring and Logging · Task 4.2A Kinesis consumer falls behind during peaks, and dashboards update late. Which metric should the engineer alarm on?
Question 48
Domain 4: Monitoring and Logging · Task 4.2Operations wants a single view of service health, latency SLOs and dependencies for its ML inference APIs, built on CloudWatch. Which feature fits BEST?
Question 49
Domain 4: Monitoring and Logging · Task 4.2An analytics team wants to query a year of application logs stored in S3 with SQL, scanning as little data as possible. Which TWO actions fit? Select TWO.
Choose 2.
Question 50
Domain 4: Monitoring and Logging · Task 4.3When a Glue job fails, the data team wants a Slack message and an automatic retry once, then an OpsItem if it fails again. Which design fits BEST?
Question 51
Domain 4: Monitoring and Logging · Task 4.3An EMR cluster's workload varies through the day. The team wants nodes added and removed automatically based on YARN load, with minimal configuration. What should the engineer enable?
Question 52
Domain 4: Monitoring and Logging · Task 4.3New data files in S3 must trigger validation, and invalid files must be moved to a quarantine prefix with a notification. Which design fits BEST?
Question 53
Domain 5: Incident and Event Response · Task 5.1When a new dataset is published, three teams' pipelines (BI, ML and archiving) must each start independently, and more teams will join. Which TWO designs fit? Select TWO.
Choose 2.
Question 54
Domain 5: Incident and Event Response · Task 5.1Sensor data events must be processed by multiple consumers in near real time, and replayed for 7 days when models are retrained. Which service fits BEST?
Question 55
Domain 5: Incident and Event Response · Task 5.1A pipeline must react when a SageMaker model package is approved in the Model Registry, deploying it to staging automatically. What should the engineer configure?
Question 56
Domain 5: Incident and Event Response · Task 5.2When Model Monitor reports data drift above a threshold, the team wants a retraining pipeline started automatically. Which design fits BEST?
Question 57
Domain 5: Incident and Event Response · Task 5.2Config detects a SageMaker notebook instance with direct internet access enabled, against policy. The team wants it fixed automatically. What should the engineer configure?
Question 58
Domain 5: Incident and Event Response · Task 5.2An inference fleet's Auto Scaling group must change instance types when a new, cheaper GPU type becomes available, without downtime. Which approach fits BEST?
Question 59
Domain 5: Incident and Event Response · Task 5.3A SageMaker training job fails with 'CapacityError: Unable to provision requested ML compute capacity'. What should the engineer try?
Question 60
Domain 5: Incident and Event Response · Task 5.3A Glue job fails with an AccessDenied error reading from an S3 bucket encrypted with a customer managed key. The job role has s3:GetObject. What is the MOST likely cause?
Question 61
Domain 5: Incident and Event Response · Task 5.3An inference endpoint's latency spikes after a new model deployment, but CPU and memory look normal. Which TWO checks help find the cause? Select TWO.
Choose 2.
Question 62
Domain 5: Incident and Event Response · Task 5.3During a production incident affecting a data API, the on-call engineer wants an AI assistant to correlate recent deployments, logs and metrics and suggest a likely root cause. Which service fits BEST?
Question 63
Domain 6: Security and Compliance · Task 6.1Analysts must query only the columns and rows of a data lake table they're entitled to, through Athena, managed centrally. Which service fits BEST?
Question 64
Domain 6: Security and Compliance · Task 6.1SageMaker training jobs run with an execution role that has full S3 access. Security wants it limited to specific training and output buckets. What should the engineer do?
Question 65
Domain 6: Security and Compliance · Task 6.1Data scientists in 15 teams should access only S3 prefixes and SageMaker resources tagged with their team. New teams join monthly. Which approach fits BEST?
Question 66
Domain 6: Security and Compliance · Task 6.1A data pipeline running in an external orchestration tool must call AWS APIs without long-term keys. The tool supports OIDC tokens. What should the engineer configure?
Question 67
Domain 6: Security and Compliance · Task 6.1A partner organization must read one curated dataset in the company's S3 data lake. Which approach is MOST secure?
Question 68
Domain 6: Security and Compliance · Task 6.2A generative AI assistant must block responses containing personal data and refuse prompts about restricted topics. What should the engineer configure?
Question 69
Domain 6: Security and Compliance · Task 6.2Training data in S3 contains personal information. The company must discover where it is across 30 accounts and confirm it's encrypted. Which TWO services help? Select TWO.
Choose 2.
Question 70
Domain 6: Security and Compliance · Task 6.2SageMaker training jobs must not send data to the internet, and must reach S3 privately. Which TWO settings fit? Select TWO.
Choose 2.
Question 71
Domain 6: Security and Compliance · Task 6.2The data platform's Redshift cluster, Glue jobs and S3 buckets must all use customer managed KMS keys, and new resources must comply automatically. Which approach fits BEST?
Question 72
Domain 6: Security and Compliance · Task 6.3Security wants to detect unusual data access, such as a role suddenly reading thousands of S3 objects at night. What should the engineer enable?
Question 73
Domain 6: Security and Compliance · Task 6.3Auditors need a record of which user read which S3 objects in the curated data zone for the past year. What should the engineer enable?
Question 74
Domain 6: Security and Compliance · Task 6.3Container images for inference contain open-source libraries. Security wants continuous detection of newly disclosed vulnerabilities in images already deployed. What should the engineer enable?
Question 75
Domain 6: Security and Compliance · Task 6.3Security needs a continuous list of data lake buckets and KMS keys that grant access to principals outside the organization. Which service fits BEST?
75 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.