Free AWS DOP-C02 Actual Exam Questions
Dumps Box (DumpsBox) offers up-to-date practice exam questions for DOP-C02 certification exam which are developed and validated by Amazon – AWS subject domain experts certified in AWS DOP-C02 . These practice questions are update regularly as we keep an eye on any recent changes in DOP-C02 syllabus, and when there is update our team quickly adjusts the questions. This commitment to providing the best quality exam prep material to certification aspirants is what makes DumpsBox.com the best certification exam prep website. On top of that, our strong, yet strictly moderated, community based feedback keeps the content clean and current. Each question has helpful community discussion that provides it extra perspective and introduces helpful resources for better exam preparation. This also saves students from other outdated practice questions or illicit exam dumps that can have adverse affects on career. Browse through our AWS DOP-C02 exam questions and pass your exam on first try.
contains 10 AWS accounts. The company has turned on AWS CloudTrail in all the accounts. The
company expects the number of AWS accounts in the organization to increase to 500 during the next
year. The company plans to use multiple OUs for these accounts.
The company has enabled AWS Config in each existing AWS account in the organization. A DevOps
engineer must implement a solution that enables AWS Config automatically for all future AWS
accounts that are created in the organization.
Which solution will meet this requirement?
It’s D because using EventBridge to catch the CreateAccount event and then triggering a Systems Manager Automation runbook gives a clear, automated way to enable AWS Config right after an account is made. Unlike Lambda (option A), Automation runbooks can handle more complex steps and error handling, making them better suited for this kind of setup. Options B and C miss the automatic trigger or don’t actually enable Config themselves, so they’re less complete solutions.
B tbh, stack sets are designed to handle automatic deployments across new accounts in an organization, which fits the scale here better than manual triggers or SCPs that don’t enable Config themselves.
engineering team maintains the database resources in a Cloud Formation template, and the software
development team maintains the web application resources in a separate CloudFormation template.
As the scope of the application grows, the software development team needs to use resources
maintained by the database engineering team However, both teams have their own review and
lifecycle management processes that they want to keep. Both teams also require resource-level
change-set reviews. The software development team would like to deploy changes to this template
using their Cl/CD pipeline.
Which solution will meet these requirements?
Maybe A makes sense since exports keep the stacks independent and allow both teams to review changes separately. Passing resource IDs as parameters like D feels messier and more manual.
A/D? Exporting outputs (A) keeps teams independent, but passing IDs as parameters (D) also sounds simple and clean. Not sure if stack sets or nested stacks fit well with separate reviews here.
dashboard to view changes to the Redshift users and the queries the users perform.
Which combination of steps will meet this requirement? (Select TWO.)
It’s B for sure because Redshift audit logs go to S3 by default. Then I’d pick E because using a Lambda with Athena to query those logs makes sense for building a custom dashboard. D sounds easy but I don’t think CloudWatch gets Redshift logs directly, so the widget wouldn’t have the data. Plus, Lambda gives more flexibility to process and filter the logs before showing them. So B and E seem like the right pair to me.
Option B handles audit logs to S3, and D lets us visualize them easily on CloudWatch.
sales event and must ensure that the web application can scale to meet the demand
The application's frontend infrastructure includes an Amazon CloudFront distribution that has an
Amazon S3 bucket as an origin. The backend infrastructure includes an Amazon API Gateway API.
several AWS Lambda functions, and an Amazon Aurora DB cluster
The company's DevOps engineer conducts a load test and identifies that the Lambda functions can
fulfill the peak number of requests However, the DevOps engineer notices request latency during the
initial burst of requests Most of the requests to the Lambda functions produce queries to the
database A large portion of the invocation time is used to establish database connections
Which combination of steps will provide the application with the required scalability? (Select TWO)
Guessing A and E here—reserved concurrency (A) can make sure Lambdas don't get throttled at peak, and RDS Proxy (E) would handle the DB connection overhead, which seems to be the main cause of latency.
Option A could help by setting higher reserved concurrency to ensure enough Lambda instances can run simultaneously, preventing throttling during the burst. Also, option D might be worth considering—if the DB connections are being initialized outside the handler, refactoring to open connections inside the handler could avoid unnecessary initialization on cold starts. Combining these could reduce latency during spikes even if provisioned concurrency and RDS Proxy are not fully implemented yet. Still, I think A and D are good independent measures to improve scalability in this setup.
custom on-premises CI/CD pipeline solution to build and package software.
The company wants its software packages and dependent public repositories to be available in AWS
CodeArtifact to facilitate the creation of application-specific pipelines.
Which combination of steps should the company take to update the CI/CD pipeline solution and to
configure CodeArtifact with the LEAST operational overhead? (Select TWO.)
B/D for sure. B avoids managing long-term credentials by using IAM Roles Anywhere, and D simplifies dependency management with upstream connections. The other choices add unnecessary complexity or overhead.
This one feels like B and D. B makes sense because IAM Roles Anywhere lets the on-prem pipeline assume a role securely without managing long-lived creds, which reduces operational work. And D is the cleanest way to handle public repo dependencies by setting them as upstream connections in CodeArtifact, so you don’t have to manually sync or maintain them yourself. Other options add unnecessary steps or complexity, but B and D keep it simple and scalable.
Amazon EC2 instance in production. No developer should be allowed to attach an Elastic IP address
to an instance. The security team must be notified if any production server has an Elastic IP address
at any time
How can this task be automated'?
B imo, it combines permission denial with automated compliance checks and alerts.
This is tricky but I’d go with C because it’s about removing permissions from developers completely, and the scheduled Lambda keeps checking for violations regularly. That double check feels safer than just relying on Config alerts. C
Balancer (ALB) The EC2 Instances are in multiple Availability Zones The application was
misconfigured in a single Availability Zone, which caused a partial outage of the application.
A DevOps engineer made changes to ensure that the unhealthy EC2 instances in one Availability
Zone do not affect the healthy EC2 instances in the other Availability Zones. The DevOps engineer
needs to test the application's failover and shift where the ALB sends traffic During failover. the ALB
must avoid sending traffic to the Availability Zone where the failure has occurred.
Which solution will meet these requirements?
I think D fits best here. Using the readiness check with the ELB target group ARN gives a more targeted way to control traffic to specific AZs, which seems safer than just turning off cross-zone load balancing. It ensures that only healthy targets get traffic during failover, which is what they want.
B/C? B feels right since cross-zone is set on the target group, and ARC can shift traffic away from the bad AZ. But C could work if ARC handles ALB DNS-level failover cleanly.
company has configured the stack to send event notifications to an Amazon Simple Notification
Service (Amazon SNS) topic.
A DevOps engineer must implement an automated solution that applies a tag to the specific Cloud
Formation stack instance only after a successful stack update occurs. The DevOps engineer has
created an AWS Lambda function that applies and updates this tag (or the specific slack instance.
Which solution will meet these requirements?
B tbh seems off since AWS Config is more about compliance checks, not real-time event triggers for stack updates. EventBridge in C is more direct and real-time for this use case.
It’s C. Using an EventBridge rule to catch the UPDATE_COMPLETE event is more precise and doesn’t depend on how the SNS topic is configured or whether it’s shared with other stacks. This way, the Lambda runs only when that specific event happens, avoiding unnecessary triggers. Option D depends a lot on how the SNS topic is set up, and if it’s shared or not filtered properly, the Lambda could fire off for unrelated events. EventBridge feels like the cleaner, more direct approach here.
the use of Instance Metadata Service Version 2 (IMDSv2) on all EC2 instances in the AWS account. If
an EC2 instance does not prevent the use of Instance Metadata Service Version 1 (IMDSv1), the EC2
instance must be terminated.
Which solution will meet these requirements?
Probably A makes the most sense here since AWS Config rules continuously monitor all instances, not just new ones, so it can catch and remediate existing non-compliant instances by terminating them automatically.
Maybe D could work since it reacts right when an instance launches, checking the metadata version immediately. If it finds IMDSv1 is enabled, the Lambda can shut down that instance fast. That way, you catch non-compliant instances as soon as they come up. A relies on AWS Config which is good for ongoing compliance but might not catch things instantly at launch. Plus, D’s event-driven approach feels more direct for this kind of enforcement without needing extra setup like Systems Manager Automation. Just depends on how quickly you want to react after instance creation.
member of the company's security team must sign off on any application changes before the changes
are deployed into production. The approval must be recorded and retained.
Which combination of actions will meet these requirements? (Select TWO.)
It’s definitely E for the manual approval since it’s made exactly for that kind of sign-off process. For the second pick, I’d go with A because CloudWatch Logs give you detailed, timestamped records of all pipeline actions, which fits the requirement to record and retain the approval. CloudTrail (C) is more about API calls and might not capture the manual approval details as clearly as CloudWatch does. B sounds useful but it’s not as explicit about capturing approvals as logs are. So E and A seem like a solid combo here.
E imo for the manual approval part since it's designed for explicit sign-offs. For retention, B works well because storing pipeline stage data in S3 keeps a clear record of changes over time.
these requirements:
• A number of instances must be available to serve traffic during the deployment Traffic must be
balanced across those instances, and the instances must automatically heal in the event of failure.
• A new fleet of instances must be launched for deploying a new revision automatically, with no
manual provisioning.
• Traffic must be rerouted to the new environment to half of the new instances at a time. The
deployment should succeed if traffic is rerouted to at least half of the instances; otherwise, it should
fail.
• Before routing traffic to the new fleet of instances, the temporary files generated during the
deployment process must be deleted.
• At the end of a successful deployment, the original instances in the deployment group must be
deleted immediately to reduce costs.
How can a DevOps engineer meet these requirements?
B vs C? Both use blue/green which fits the new fleet and traffic shifting needs. B sets a custom min healthy hosts at 50% which matches the “half the instances” requirement, but the BeforeBlockTraffic hook might run too early since traffic is still flowing. C uses CodeDeployDefault.HalfAtAtime which is designed for shifting traffic half at a time and has the BeforeAllowTraffic hook to delete temp files just before traffic switches, which seems cleaner. C also mentions immediate termination of old instances. I’d pick C over B mainly because of better timing on deleting temp files and deployment
D imo doesn’t work because in-place deployments can’t launch a new fleet automatically, which is a key requirement here. Also, CodeDeployDefault.AllAtOnce would shift all traffic at once, not half at a time. That conflicts with the staged traffic rerouting. So the option’s deployment type and strategy seem off for the requirements. The hooks timing for deleting temp files also feels less precise compared to BeforeAllowTraffic for cleaning right before traffic hits new instances. Overall, D misses the automatic fleet launch and controlled traffic shift parts, which are pretty critical here.
Tower to build a landing zone that has an audit and logging account All databases must be encrypted
at rest for compliance reasons. The company's security engineer needs to receive notification about
any noncompliant databases that are in the company's accounts
Which solution will meet these requirements with the MOST operational efficiency?
It’s A because Control Tower guardrails automate compliance checks without extra setup.
A, Control Tower guardrails handle this natively, no custom code needed.
instances that are in an Auto Scaling group. The
application is stateless. The Auto Scaling group uses a custom AMI that is fully prebuilt. The EC2
instances do not have a custom bootstrapping process.
The AMI that the Auto Scaling group uses was recently deleted. The Auto Scaling group's scaling
activities show failures because the AMI ID does not exist.
Which combination of steps should a DevOps engineer take to meet these requirements? (Select
THREE.)
It’s C to avoid failures, plus A and B to fix the AMI issue properly.
Maybe C, A, and B. C to scale down the group to zero to avoid launch failures, then A and B to create and apply a new launch template with the correct AMI before scaling back up.
uses AWS Backup in a primary account and uses an AWS Key Management Service (AWS KMS) key to
encrypt the backups.
The company needs to automate a cross-account backup of the resources that AWS Backup backs up
in the primary account. The company configures cross-account backup in the Organizations
management account. The company creates a new AWS account in the organization and configures
an AWS Backup backup vault in the new account. The company creates a KMS key in the new account
to encrypt the backups. Finally, the company configures a new backup plan in the primary account.
The destination for the new backup plan is the backup vault in the new account.
When the AWS Backup job in the primary account is invoked, the job creates backups in the primary
account. However, the backups are not copied to the new account's backup vault.
Which combination of steps must the company take so that backups can be copied to the new
account's backup vault? (Select TWO.)
Maybe A and E. The backup vault in the new account needs to trust the primary account, and the new account’s KMS key policy must allow the primary account’s AWS Backup service to use it for encryption.
Maybe try A and E. The backup vault in the new account definitely needs to allow the primary account access so it can store backups there, and since the new account’s KMS key encrypts those backups, its key policy must grant the primary account permission to use that key. Without that, the copy can’t happen. The other options seem off because the backup vault and KMS key in the primary account don’t control access for storing backups in the new account’s vault.
In an Amazon S3 bucket All data Is encrypted with AWS Key Management Service (AWS KMS)
customer managed keys. All AWS resources are deployed from an AWS Cloud Formation template.
A DevOps engineer needs to set up a development environment for the application in a different
AWS account The data in the development environment's S3 bucket needs to be updated once a
week from the production environment's S3 bucket.
The company must not move Pll from the production environment without anonymizmg the Pll first
The data in each environment must be encrypted with different KMS customer managed keys.
Which combination of steps should the DevOps engineer take to meet these requirements? (Select
TWO )
This seems like a good case for A and D. The Step Functions can do the PII redaction and copying with proper KMS permissions, while EventBridge can schedule the workflow weekly in the dev account.
C/E? Batch Operations can handle copying at scale, and Lambda redacts PII before access in dev. Scheduling with EC2 cron keeps it automated without added complexity.