DOP-C02 Practice Exam 2: Financial services DevOps
AWS Certified DevOps Engineer – Professional. 75 questions, 8 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.
x
0/75 answered
Question 1
Domain 1: SDLC Automation · Task 1.1
A bank's change policy requires that production deployments be approved by a release manager, with the approval recorded, and that the approver isn't the developer who committed the change. Which pipeline design fits BEST?
Question 2
Domain 1: SDLC Automation · Task 1.1
A payments team builds Java services with Maven in CodeBuild. Builds take 20 minutes because dependencies download every time. What should the engineer do to speed up builds?
Question 3
Domain 1: SDLC Automation · Task 1.1
A trading firm's pipeline deploys to accounts in two Regions. The CloudFormation deploy action in the second Region fails because it can't find the artifact. What must the pipeline have?
Question 4
Domain 1: SDLC Automation · Task 1.1
Builds for a banking app must run inside a VPC to reach a private test database, and also pull base images from Amazon ECR. Builds fail to download images. The subnets have no NAT gateway. What should the engineer add?
Question 5
Domain 1: SDLC Automation · Task 1.1
A pipeline stage must deploy to production only between 9 a.m. and 4 p.m. on weekdays, to meet the bank's change window. What is the SIMPLEST way to enforce this?
Question 6
Domain 1: SDLC Automation · Task 1.2
A bank requires security scanning of infrastructure templates for misconfigurations, such as unencrypted buckets, before any deployment. Which TWO tools can run in the pipeline? Select TWO.
Choose 2.
Question 7
Domain 1: SDLC Automation · Task 1.2
Integration tests for a payments API must run against a fresh, isolated environment for each pull request, then be cleaned up. Which approach fits BEST?
Question 8
Domain 1: SDLC Automation · Task 1.2
A trading application must be tested for latency under realistic load before each release, and the release blocked if p99 latency exceeds 50 ms. Which approach fits BEST?
Question 9
Domain 1: SDLC Automation · Task 1.2
A CodeBuild test step reports results in JUnit XML. The team wants pass rates and trends visible in the console over time, without another tool. What should the engineer configure?
Question 10
Domain 1: SDLC Automation · Task 1.3
A bank's internal Python libraries must be shared across 30 accounts, and only approved versions of public packages may be used. Which design fits BEST?
Question 11
Domain 1: SDLC Automation · Task 1.3
Auditors require that a released container image can never be changed after it's tagged with a version, so that production always runs exactly what was tested. What should the engineer configure?
Question 12
Domain 1: SDLC Automation · Task 1.3
Lambda deployment packages for a payments service are built in CodeBuild. The team must be able to roll back to any of the last 20 releases. What should the engineer do?
Question 13
Domain 1: SDLC Automation · Task 1.4
A bank runs a core service on EC2 behind an ALB. Deployments must keep the old fleet until the new fleet is healthy, then switch traffic all at once, and allow instant rollback. Which approach fits BEST?
Question 14
Domain 1: SDLC Automation · Task 1.4
An EKS-based trading service must release new versions to 5% of traffic first, watch error metrics, then promote. Which approach fits BEST?
Question 15
Domain 1: SDLC Automation · Task 1.4
A CodeDeploy EC2 deployment fails immediately with an error that the CodeDeploy agent can't download the revision. The bucket uses SSE-KMS. What is the MOST likely cause?
Question 16
Domain 1: SDLC Automation · Task 1.4
A team deploys an ECS service with CodeDeploy blue/green. The deployment stops at the BeforeAllowTraffic hook and rolls back. What should the engineer check?
Question 17
Domain 1: SDLC Automation · Task 1.4
A financial reporting service must update its EC2 instances in place, but no more than 25% of instances may be out of service at once. Which CodeDeploy setting fits?
Question 18
Domain 2: Configuration Management and IaC · Task 2.1
A bank's CloudFormation templates repeat the same encrypted, versioned, logged S3 bucket definition in 200 stacks. The security team wants to change the standard once. What should the engineer use?
Question 19
Domain 2: Configuration Management and IaC · Task 2.1
A custom resource in a CloudFormation stack calls a Lambda function to register the service with an internal system. The function crashed, and the stack waited an hour. What should the engineer change?
Question 20
Domain 2: Configuration Management and IaC · Task 2.1
A serverless payments API is defined with AWS SAM. The team wants each Lambda deployment shifted gradually with automatic rollback. What should the engineer add to the SAM template?
Question 21
Domain 2: Configuration Management and IaC · Task 2.1
Engineers fixed a production security group in the console during an incident. The next stack update reverted the fix. What process change prevents this?
Question 22
Domain 2: Configuration Management and IaC · Task 2.1
A company uses CDK. Before merging, reviewers must see exactly which resources a change will add, modify or delete in each environment. What should the pipeline run on each pull request?
Question 23
Domain 2: Configuration Management and IaC · Task 2.2
A bank wants all new accounts placed in the correct OU, with guardrails applied and a standard network, through a request form that business units submit. Which approach fits BEST?
Question 24
Domain 2: Configuration Management and IaC · Task 2.2
Regulators require that no S3 bucket in the organization can be accessed by principals outside the organization, even if a bucket policy allows it. What should the engineer configure?
Question 25
Domain 2: Configuration Management and IaC · Task 2.2
The security team wants GuardDuty, Security Hub and Config enabled in every account and Region of the organization, including future accounts, managed from a security account. Which approach fits BEST?
Question 26
Domain 2: Configuration Management and IaC · Task 2.2
A management account contains production workloads, and an SCP meant to restrict all workloads doesn't affect them. Why, and what should the engineer do?
Question 27
Domain 2: Configuration Management and IaC · Task 2.3
An operations team must rotate a configuration file on 1,500 instances across 20 accounts and Regions, with no more than 10% changed at once and a stop if 2% fail. Which approach fits BEST?
Question 28
Domain 2: Configuration Management and IaC · Task 2.3
A bank must prove that all Windows servers have a specific security agent installed and running, and fix any that don't, continuously. Which TWO features fit? Select TWO.
Choose 2.
Question 29
Domain 2: Configuration Management and IaC · Task 2.3
A reconciliation job must run nightly, call several AWS APIs, wait for an EMR step to finish, and notify the team on failure, with full execution history for auditors. Which service fits BEST?
Question 30
Domain 2: Configuration Management and IaC · Task 2.3
Auditors need a daily, queryable record of installed software, OS patches and network settings for every managed node in the organization, kept for 1 year. What should the engineer configure?
Question 31
Domain 3: Resilient Cloud Solutions · Task 3.1
A trading platform uses DynamoDB for orders and must keep accepting writes in a second Region within seconds if the primary Region fails. What should the engineer configure?
Question 32
Domain 3: Resilient Cloud Solutions · Task 3.1
A payments API's SLA is 99.99%. It runs on a single Region with Multi-AZ components. The business asks whether one Region can meet 99.99% given dependencies. What should the engineer do FIRST?
Question 33
Domain 3: Resilient Cloud Solutions · Task 3.1
A banking app's RDS for PostgreSQL Multi-AZ failover takes the application several minutes to recover because connections hang to the old primary. Which TWO changes help? Select TWO.
Choose 2.
Question 34
Domain 3: Resilient Cloud Solutions · Task 3.1
A bank's customer portal on CloudFront uses an S3 origin in one Region. The team wants the site to keep serving if that bucket's Region is impaired. What should the engineer configure?
Question 35
Domain 3: Resilient Cloud Solutions · Task 3.2
A payments queue consumer on ECS Fargate falls behind at month end. The team wants tasks to scale with the number of waiting messages. What should the engineer configure?
Question 36
Domain 3: Resilient Cloud Solutions · Task 3.2
A risk calculation service on Lambda is invoked by many clients and sometimes exhausts the account's concurrency, throttling other critical functions. What should the engineer do?
Question 37
Domain 3: Resilient Cloud Solutions · Task 3.2
A market data API on API Gateway serves the same quote snapshot thousands of times per second, refreshed every 5 seconds. Backend Lambda costs are high. What should the engineer enable?
Question 38
Domain 3: Resilient Cloud Solutions · Task 3.2
A bank wants to deploy a customer-facing app in three Regions with identical infrastructure and route users to the nearest healthy Region. Which TWO components fit? Select TWO.
Choose 2.
Question 39
Domain 3: Resilient Cloud Solutions · Task 3.3
A core banking system must meet an RPO of seconds and an RTO of under 15 minutes for a Regional failure, while keeping costs below a full second production stack. Which strategy fits BEST?
Question 40
Domain 3: Resilient Cloud Solutions · Task 3.3
Regulators require that backups of transaction databases be immutable, stored in a separate account, and restorable even if the production account is compromised. Which TWO features fit? Select TWO.
Choose 2.
Question 41
Domain 3: Resilient Cloud Solutions · Task 3.3
The bank's DR runbook for a Regional failover involves 14 manual steps across DNS, databases and scaling, and the last test took 3 hours. The target RTO is 30 minutes. What should the engineer do?
Question 42
Domain 4: Monitoring and Logging · Task 4.1
A bank must keep all application logs for 7 years for regulators but query only the last 30 days interactively. What should the engineer configure to minimize cost?
Question 43
Domain 4: Monitoring and Logging · Task 4.1
A trading platform needs custom metrics for order latency with 1-second granularity, and alarms that react within 10 seconds. What should the engineer use?
Question 44
Domain 4: Monitoring and Logging · Task 4.1
Logs from a payments service contain card numbers by mistake. Compliance requires that they be masked in CloudWatch Logs for everyone except a small security group. What should the engineer configure?
Question 45
Domain 4: Monitoring and Logging · Task 4.1
On-premises trading servers and EC2 instances must send logs and memory metrics to CloudWatch, with the agent configuration managed centrally. What should the engineer do?
Question 46
Domain 4: Monitoring and Logging · Task 4.2
A bank's security team wants to find every API call made with a specific access key over the last 18 months across all accounts, with SQL. Logs are delivered by an organization trail. Which option fits BEST?
Question 47
Domain 4: Monitoring and Logging · Task 4.2
Payment errors spike every few days, but only for a few seconds. A 5-minute alarm averages them away. Which TWO changes help detect them? Select TWO.
Choose 2.
Question 48
Domain 4: Monitoring and Logging · Task 4.2
Operations wants to see which microservice in a payment flow returns errors, with a service map and per-call latency, across Lambda, API Gateway and ECS. What should the engineer enable?
Question 49
Domain 4: Monitoring and Logging · Task 4.2
Executives want a weekly business dashboard of payment volumes and failure rates by region, built from data in S3, shared with non-technical users. Which service fits BEST?
Question 50
Domain 4: Monitoring and Logging · Task 4.3
When a CloudWatch alarm for payment errors fires, the team wants an OpsItem created, the on-call engineer paged, and a diagnostics runbook started automatically. Which design fits BEST?
Question 51
Domain 4: Monitoring and Logging · Task 4.3
A DynamoDB table for payment sessions has unpredictable traffic with occasional throttling. The team wants capacity to adjust automatically with no capacity planning. What should the engineer choose?
Question 52
Domain 4: Monitoring and Logging · Task 4.3
The bank's Route 53 health checks for a private internal API always fail because checkers can't reach private IPs. Failover must still work. What should the engineer configure?
Question 53
Domain 5: Incident and Event Response · Task 5.1
A bank wants all IAM changes in any account to be sent to a central security account within seconds, where rules decide on alerts and responses. What should the engineer configure?
Question 54
Domain 5: Incident and Event Response · Task 5.1
A trade settlement system receives events that must be processed in order per account, with at most one processing per event, and with a replay of 7 days of history possible. Which service fits BEST?
Question 55
Domain 5: Incident and Event Response · Task 5.1
Events from an SQS queue must be filtered, enriched with customer data from an API, and delivered to a Step Functions workflow, without writing glue Lambda code. Which feature fits BEST?
Question 56
Domain 5: Incident and Event Response · Task 5.2
When an EC2 instance in production is found to be running without the required security agent, the team wants it automatically quarantined and a ticket opened. Which design fits BEST?
Question 57
Domain 5: Incident and Event Response · Task 5.2
A bank wants a CloudFormation stack update to run automatically when a new approved AMI ID is published to a Parameter Store parameter. What should the engineer configure?
Question 58
Domain 5: Incident and Event Response · Task 5.2
A fleet's desired configuration says no instance may have SSH running. Several instances drift each week when engineers enable it. The team wants drift corrected within 30 minutes. What should the engineer use?
Question 59
Domain 5: Incident and Event Response · Task 5.3
A CodePipeline deploy stage fails with an error that the action role can't decrypt the artifact. The pipeline recently switched to a new customer managed key. What should the engineer check?
Question 60
Domain 5: Incident and Event Response · Task 5.3
A CodeBuild project in a VPC times out in the install phase while downloading packages from the internet. Builds outside the VPC work. What is the MOST likely cause?
Question 61
Domain 5: Incident and Event Response · Task 5.3
After a deployment, a CloudWatch Synthetics canary for the online banking login journey starts failing, though server metrics look normal. What should the engineer review FIRST?
Question 62
Domain 5: Incident and Event Response · Task 5.3
An EKS pod for the fraud service is in CrashLoopBackOff after a release. What should the engineer do FIRST to find the cause?
Question 63
Domain 6: Security and Compliance · Task 6.1
A bank's 3,000 employees sign in with the corporate IdP. They need role-based access to 120 accounts, with MFA and sessions limited to 8 hours. What should the engineer implement?
Question 64
Domain 6: Security and Compliance · Task 6.1
A batch job running on an on-premises server must call AWS APIs. Security forbids long-term access keys. The bank has an internal certificate authority. What should the engineer use?
Question 65
Domain 6: Security and Compliance · Task 6.1
An auditor's role must read objects only in buckets tagged Audit=true, and new buckets will be tagged over time. Which policy approach fits BEST?
Question 66
Domain 6: Security and Compliance · Task 6.1
A developer accidentally attached AdministratorAccess to a Lambda execution role. The security team wants such attachments blocked for all roles except those in a platform path. What should the engineer configure?
Question 67
Domain 6: Security and Compliance · Task 6.1
The security team must rotate RDS credentials used by 40 microservices without downtime, including multi-user rotation to avoid a gap during the switch. What should the engineer use?
Question 68
Domain 6: Security and Compliance · Task 6.2
Regulators require that encryption keys for payment data be stored in single-tenant FIPS 140-3 Level 3 HSMs controlled by the bank, while still using KMS with S3 and EBS. What should the engineer use?
Question 69
Domain 6: Security and Compliance · Task 6.2
A payments API must encrypt traffic between internal microservices with certificates issued by the bank's own private hierarchy, renewed automatically. Which service fits BEST?
Question 70
Domain 6: Security and Compliance · Task 6.2
The bank must apply the same security group baseline and Network Firewall rules to every VPC in 90 accounts, and fix any account where they're changed. Which service fits BEST?
Question 71
Domain 6: Security and Compliance · Task 6.2
Security Hub must be configured so that every account in the organization uses the same standards, with some controls disabled in development OUs. What should the engineer use?
Question 72
Domain 6: Security and Compliance · Task 6.3
Security wants an alert within minutes when anyone in any account makes an S3 bucket public, with the change reverted automatically. Which design fits BEST?
Question 73
Domain 6: Security and Compliance · Task 6.3
GuardDuty in all accounts must send high-severity findings to the bank's SIEM in near real time. Which TWO components fit? Select TWO.
Choose 2.
Question 74
Domain 6: Security and Compliance · Task 6.3
The security team needs to know which IAM roles across the organization haven't been used in 90 days, and which permissions roles have but never use. Which feature fits BEST?
Question 75
Domain 6: Security and Compliance · Task 6.3
Auditors ask the bank to show that no CloudFormation-managed security groups were changed outside the pipeline in the last quarter. Which TWO sources provide evidence? Select TWO.
Choose 2.
75 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.