Amazon DOP-C02 dumps

Amazon DOP-C02 Exam Dumps

AWS Certified DevOps Engineer - Professional
915 Reviews

Exam Code DOP-C02
Exam Name AWS Certified DevOps Engineer - Professional
Questions 449 Questions Answers With Explanation
Update Date July 27, 2026
Price Was : $90 Today : $50 Was : $108 Today : $60 Was : $126 Today : $70

What Is the DOP-C02 Certification Exam?

The DOP-C02 certification exam is a standardized assessment designed to measure a candidate's knowledge, competencies, and practical understanding within a defined professional field. It serves as the primary requirement for earning the AWS Certified Professional, a credential that represents a recognized level of proficiency in its respective industry. Depending on the field, this may involve theoretical knowledge, applied problem-solving, regulatory understanding, or hands-on procedural competence.

The exam is typically developed and maintained by an accrediting body or professional organization that sets the standards for the AWS Certified Professional. This ensures that anyone who earns the credential has met a consistent benchmark, regardless of where they studied or gained their experience. For many professionals, the DOP-C02 Certification Exam represents a formal checkpoint in their career, one that confirms readiness to take on greater responsibility within their chosen field.

Why the AWS Certified Professional Certification Matters?

Certifications like the AWS Certified Professional exist because industries need a reliable way to verify competence beyond a resume or a job title. Earning this credential signals to employers, clients, and colleagues that a professional has invested time in building a structured foundation of knowledge and has been evaluated against an established standard.

Beyond individual recognition, the AWS Certified Professional certification often supports broader professional development. It can influence hiring decisions, contribute to internal advancement, or serve as a prerequisite for more specialized roles within the field. In many industries, certifications also help standardize expectations across organizations, making it easier for professionals to move between employers or sectors while carrying a credential that is widely understood and respected.

Who Should Take the DOP-C02 Exam?

The DOP-C02 exam is generally relevant to individuals who are either entering a field or looking to formalize skills they have already developed through experience. This can include early-career professionals seeking a credential to support their first steps into the industry, as well as experienced practitioners who want official recognition of knowledge gained on the job.

Students preparing to enter the workforce may also pursue the DOP-C02 exam as a way to strengthen their qualifications before graduating or applying for their first roles. In some fields, employers actively encourage or require staff to pursue this certification as part of ongoing professional development, particularly in industries where standards, safety, or compliance play a significant role in daily responsibilities.

Knowledge and Skills Evaluated in the AWS Certified DevOps Engineer - Professional

The AWS Certified DevOps Engineer - Professional is built to evaluate both foundational knowledge and the practical judgment needed to apply that knowledge in real situations. Candidates are generally expected to understand core principles and terminology relevant to their field, along with the reasoning behind established procedures, standards, or best practices.

Depending on the industry, this may include understanding regulatory requirements, following established protocols, applying analytical or technical methods, or exercising sound judgment in situations that require careful decision-making. Rather than testing isolated facts in a vacuum, the AWS Certified DevOps Engineer - Professional tends to reward candidates who can connect concepts to realistic scenarios, reflecting the kind of thinking expected in day-to-day professional practice.

DOP-C02 Exam Preparation Resources

Preparing for the DOP-C02 certification exam becomes more effective when using high-quality and up-to-date study materials. MyCertsHub provides resources designed to help candidates build knowledge, practice consistently, and become familiar with the actual exam format.

Preparation Features:

  •   449 carefully prepared practice questions
  •   Updated on July 27, 2026
  •   DOP-C02 Practice Questions & Answers
  •   Comprehensive Study Guide covering the latest exam objectives
  •   Interactive Practice Test Engine for realistic exam simulation
  •   Printable PDF study material for convenient offline preparation
  •   Free Updates For 3 Months
  •   Money-Back Guarantee according to our Refund Policy

How to Prepare for the DOP-C02 Certification Exam?

Effective preparation for the DOP-C02 certification exam usually begins with a clear understanding of the exam's objectives and structure. Reviewing official guidelines or documentation published by the certifying body provides the most accurate picture of what will be covered and how heavily different areas are weighted.

From there, many candidates benefit from building a structured study plan that breaks preparation into manageable sections over a set period of time. A well-organized DOP-C02 Study Guide can help sequence this material logically, especially for those approaching a topic for the first time. Consistent review, paired with realistic practice, tends to produce better retention than concentrated last-minute studying.

Practical experience, where applicable to the field, also plays an important role in preparation. Working through DOP-C02 Practice Questions and a DOP-C02 practice test can help candidates identify gaps in their understanding and become familiar with the format and pacing of the actual exam. In fields where hands-on skill is assessed, supplementing study with real-world practice or supervised experience often makes the difference between recognizing correct information and genuinely understanding it.

Benefits of Earning the AWS Certified Professional Certification

Successfully earning the AWS Certified Professional certification offers benefits that extend well beyond passing a single exam. It provides documented proof of competence that can be referenced on a resume, professional profile, or internal performance review, offering a clear, third-party validation of skill and knowledge.

The credential can also strengthen professional credibility when working with clients, patients, stakeholders, or colleagues who may not be positioned to evaluate technical or specialized knowledge directly. Over time, this recognition often contributes to expanded career opportunities, whether through new responsibilities, higher-level roles, or eligibility for additional certifications that build on this foundational credential.

Prepare for the DOP-C02 Exam with MyCertsHub

Preparing for the DOP-C02 exam is a process that benefits from organized, consistent effort rather than rushed, last-minute review. MyCertsHub is designed to support that process by offering study resources, practice materials, and educational content that help candidates understand what the AWS Certified DevOps Engineer - Professional covers and how to approach their preparation thoughtfully.

Whether someone is just beginning to explore the AWS Certified Professional or is in the final stages of reviewing material before their exam date, MyCertsHub aims to serve as a dependable resource throughout that journey. Every candidate's path to certification looks a little different, and the goal remains the same: to provide clear, genuinely useful information that supports real understanding of the subject matter.

Amazon DOP-C02 Sample Question Answers

Question # 1

A company has an organization in AWS Organizations for its multi-account environment. ADevOps engineer is developing an AWS CodeArtifact based strategy for applicationpackage management across the organization. Each application team at the company hasits own account in the organization. Each application team also has limited access to acentralized shared services account.Each application team needs full access to download, publish, and grant access to its ownpackages. Some common library packages that the application teams use must also beshared with the entire organization.Which combination of steps will meet these requirements with the LEAST administrativeoverhead? (Select THREE.)

A. Create a domain in each application team's account. Grant each application team'saccount lull read access and write access to the application team's domain 
B. Create a domain in the shared services account Grant the organization read access andCreateRepository access.
C. Create a repository in each application team's account. Grant each application team'saccount lull read access and write access to its own repository. 
D. Create a repository in the shared services account. Grant the organization read accessto the repository in the shared services account. Set the repository as the upstreamrepository in each application team's repository. 
E. For teams that require shared packages, create resource-based policies that allow readaccess to the repository from other application teams' accounts. 
F. Set the other application teams' repositories as upstream repositories. 



Question # 2

A company has developed a static website hosted on an Amazon S3 bucket. The websiteis deployed using AWS CloudFormation. The CloudFormation template defines an S3bucket and a custom resource that copies content into the bucket from a source location.The company has decided that it needs to move the website to a new location, so theexisting CloudFormation stack must be deleted and re-created. However, CloudFormationreports that the stack could not be deleted cleanly.What is the MOST likely cause and how can the DevOps engineer mitigate this problem forthis and future versions of the website?

A. Deletion has failed because the S3 bucket has an active website configuration. Modifythe Cloud Formation template to remove the WebsiteConfiguration properly from the S3bucket resource.
B. Deletion has failed because the S3 bucket is not empty. Modify the custom resource'sAWS Lambda function code to recursively empty the bucket when RequestType is Delete. 
C. Deletion has failed because the custom resource does not define a deletion policy. Adda DeletionPolicy property to the custom resource definition with a value ofRemoveOnDeletion. 
D. Deletion has failed because the S3 bucket is not empty. Modify the S3 bucket resourcein the CloudFormation template to add a DeletionPolicy property with a value of Empty.



Question # 3

A company uses an Amazon Elastic Kubernetes Service (Amazon EKS) cluster to host itsmachine learning (ML) application. As the ML model and the container image grow, podstartup time has increased to several minutes. The DevOps engineer created anEventBridge rule that triggers Systems Manager automation to prefetch container imagesfrom ECR. Node groups and the cluster have tags configured.What should the DevOps engineer do next to meet the requirements?

A. Create an IAM role allowing EventBridge to use Systems Manager to run commands inthe control plane nodes. Create a State Manager association using control plane nodetags.
B. Create an IAM role allowing EventBridge to use Systems Manager to run commands inthe worker nodes. Create a State Manager association using the nodes’ machine size. 
C. Create an IAM role allowing EventBridge to use Systems Manager to run commands inthe worker nodes. Create a State Manager association using the nodes’ tags to prefetchcontainer images. 
D. Create an IAM role allowing EventBridge to use Systems Manager to run commands inthe control plane nodes. Create a State Manager association using the nodes’ tags



Question # 4

AnyCompany is using AWS Organizations to create and manage multiple AWS accountsAnyCompany recently acquired a smaller company, Example Corp. During the acquisitionprocess, Example Corp's single AWS account joined AnyCompany's management accountthrough an Organizations invitation. AnyCompany moved the new member account underan OU that is dedicated to Example Corp.AnyCompany's DevOps eng•neer has an IAM user that assumes a role that is namedOrganizationAccountAccessRole to access member accounts. This role is configured witha full access policy When the DevOps engineer tries to use the AWS Management Consoleto assume the role in Example Corp's new member account, the DevOps engineerreceives the following error message "Invalid information in one or more fields. Check yourinformation or contact your administrator."Which solution will give the DevOps engineer access to the new member account?

A. In the management account, grant the DevOps engineer's IAM user permission toassume the OrganzatlonAccountAccessR01e IAM role in the new member account. 
B. In the management account, create a new SCR In the SCP, grant the DevOpsengineer's IAM user full access to all resources in the new member account. Attach theSCP to the OU that contains the new member account, 
C. In the new member account, create a new IAM role that is namedOrganizationAccountAccessRole. Attach the AdmInistratorAccess AVVS managed policy tothe role. In the role's trust policy, grant the management account permission to assume therole.
D. In the new member account edit the trust policy for the Organ zationAccountAccessRoleIAM role. Grant the management account permission to assume the role. 



Question # 5

A DevOps engineer wants to find a solution to migrate an application from on premises toAWS The application is running on Linux and needs to run on specific versions of ApacheTomcat HAProxy and Varnish Cache to function properly. The application's operatingsystem-level parameters require tuning The solution must include a way to automate thedeployment of new application versions. The infrastructure should be scalable and faultyservers should be replaced automatically.Which solution should the DevOps engineer use?

A. Upload the application as a Docker image that contains all the necessary software toAmazon ECR Create an Amazon ECS cluster using an AWS Fargate launch type and anAuto Scaling group. Create an AWS CodePipeline pipeline that uses Amazon ECR as asource and Amazon ECS as a deployment provider 
B. Upload the application code to an AWS CodeCommit repository with a savedconfiguration file to configure and install the software Create an AWS Elastic Beanstalkweb server tier and a load balanced-type environment that uses the Tomcat solution stackCreate an AWS CodePipeline pipeline that uses CodeCommit as a source and ElasticBeanstalk as a deployment provider
C. Upload the application code to an AWS CodeCommit repository with a set ofebextensions files to configure and install the software. Create an AWS Elastic Beanstalkworker tier environment that uses the Tomcat solution stack Create an AWS CodePipelinepipeline that uses CodeCommit as a source and Elastic Beanstalk as a deploymentprovider
D. Upload the application code to an AWS CodeCommit repository with an appspec.yml fileto configure and install the necessary software. Create an AWS CodeDeploy deploymentgroup associated with an Amazon EC2 Auto Scaling group Create an AWS CodePipelinepipeline that uses CodeCommit as a source and CodeDeploy as a deployment provider 



Question # 6

A company is building a serverless application that uses AWS Lambda functions to processdata.A BeginResponse Lambda function initializes data in response to specific applicationevents. The company needs to ensure that a large number of Lambda functions areinvoked after the BeginResponse Lambda function runs. Each Lambda function must beinvoked in parallel and depends on only the outputs of the BeginResponse Lambdafunction. Each Lambda function has retry logic for invocation and must be able to fine-tuneconcurrency without losing data.Which solution will meet these requirements with the MOST operational efficiency?

A. Create an Amazon Simple Notification Service (Amazon SNS) topic. Modify theBeginResponse Lambda function to publish to the SNS topic before the BeginResponseLambda function finishes running. Subscribe all Lambda functions that need to invoke afterthe BeginResponse Lambda function runs to the SNS topic. Subscribe any new Lambdafunctions to the SNS topic.
B. Create an Amazon Simple Queue Service (Amazon SQS) queue for each Lambdafunction that needs to run after the BeginResponse Lambda function runs. Subscribe eachLambda function to its own SQS queue. Create an Amazon Simple Notification Service(Amazon SNS) topic. Subscribe each SQS queue to the SNS topic. Modify theBeginResponse function to publish to the SNS topic when it finishes running. 
C. Create an Amazon Simple Queue Service (Amazon SQS) queue for each Lambdafunction that needs to run after the BeginResponse Lambda function runs. Subscribe theLambda function to the SQS queue. Create an Amazon Simple Notification Service(Amazon SNS) topic for each SQS queue. Subscribe the SQS queues to the SNS topics.Modify the BeginResponse function to publish to the SNS topics when the function finishesrunning.
D. Create an AWS Step Functions Standard Workflow. Configure states in the workflow toinvoke the Lambda functions sequentially. Create an Amazon Simple Notification Service(Amazon SNS) topic. Modify the BeginResponse Lambda function to publish to the SNStopic before the Lambda function finishes running. Create a new Lambda function that issubscribed to the SNS topic and that invokes the Step Functions workflow



Question # 7

A company needs to adopt a multi-account strategy to deploy its applications and theassociated CI/CD infrastructure. The company has created an organization in AWSOrganizations that has all features enabled. The company has configured AWS ControlTower and has set up a landing zone.The company needs to use AWS Control Tower controls (guardrails) in all AWS accountsin the organization. The company must create the accounts for a multi-environmentapplication and must ensure that all accounts are configured to an initial baseline.Which solution will meet these requirements with the LEAST operational overhead?

A. Create an AWS Control Tower Account Factory Customization (AFC) blueprint that usesthe baseline configuration. Use AWS Control Tower Account Factory to provision adedicated AWS account for each environment and a CI/CD account by using the blueprint. 
B. Use AWS Control Tower Account Factory to provision a dedicated AWS account foreach environment and a CI/CD account. Use AWS CloudFormation StackSets to apply thebaseline configuration to the new accounts
C. Use Organizations to provision a multi-environment AWS account and a CI/CD account.In the Organizations management account, create an AWS Lambda function that assumesthe Organizations access role to apply the baseline configuration to the new accounts.
D. Use Organizations to provision a dedicated AWS account for each environment, anaudit account, and a CI/CD account. Use AWS CloudFormation StackSets to apply thebaseline configuration to the new accounts.



Question # 8

A company built its serverless infrastructure on AWS. The infrastructure consists of anAmazon API Gateway REST API, multiple AWS Lambda functions, and AmazonEventBridge.The company wants to be aware of any new supply chain attacks that the company'sCI/CD pipelines do not catch. The company needs a solution to detect malicious activity inthe deployed applicationWhich solution meets these requirements?

A. Enable AWS WAF for the API Gateway REST API. Configure an AWS WAF ACL. Addthe known bad inputs managed rule group.
B. Enable Amazon GuardDuty. Enable Lambda Protection. Use EventBridge for eventnotifications.
C. Deploy AWS CloudFormation Guard in the CI/CD pipelines. Write rules to catch thesupply chain attacks. 
D. Create a firewall in AWS Network Firewall. Configure a policy. Add the managed rule forthe Emerging Threats rule group. 



Question # 9

A company has developed a web application that conducts seasonal sales on publicholidays. The web application is deployed on AWS and uses AWS services for storage,database, computing, and encryption. During seasonal sales, the company expects highnetwork traffic from many users. The company must receive insights regarding anyunexpected behavior during the sale. A DevOps team wants to review the insights upondetecting anomalous behaviors during the sale. The DevOps team wants to receiverecommended actions to resolve the anomalous behaviors. The recommendations must beprovided on the provisioned infrastructure to address issues that might occur in the future.Which combination of steps will meet these requirements with the LEAST operationaloverhead? (Select TWO.)

A. Enable Amazon DevOps Guru in the AWS account. Determine the coverage for DevOpsGuru for all supported AWS resources in the account. Use the DevOps Guru dashboard tofind the analysis, recommendations, and related metrics. 
B. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure AmazonDevOps Guru to send notifications about important events to the company when anomaliesare identified. 
C. Create an Amazon S3 bucket. Store Amazon CloudWatch logs, AWS CloudTrail data,and AWS Config data in the S3 bucket. Use Amazon Athena to generate insights on thedata. Create a dashboard by using Amazon QuickSight. 
D. Configure email message reports for an Amazon QuickSight dashboard. Schedule andsend the email reports to the company
E. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure AmazonAthena to send query results about important events to the company when anomalies areidentified. 



Question # 10

A DevOps team deploys an ECS app behind an ALB using CodeDeploy with all-at-oncestrategy. Recent deployment increased response times, requiring rollback. The team wantsa deployment strategy to monitor new versions before full traffic shift and rollback quickly ifissues occur.Which steps meet these requirements? (Select TWO.)

A. Use CodeDeployDefault.ECSCanary10Percent5Minutes deployment configuration. 
B. Use CodeDeployDefault.ECSLinear10PercentEvery3Minutes deployment configuration. 
C. Create a CloudWatch alarm on ALB UnHealthyHostCount and associate it with thedeployment group for rollback.
D. Create a CloudWatch alarm on ALB TargetResponseTime and associate it with thedeployment group for rollback. 
E. Create a CloudWatch alarm on ALB TargetConnectionErrorCount and associate it withthe deployment group for rollback.



Question # 11

A company is migrating from its on-premises data center to AWS. The company currentlyuses a custom on-premises CI/CD pipeline solution to build and package software.The company wants its software packages and dependent public repositories to beavailable 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 solutionand to configure CodeArtifact with the LEAST operational overhead? (Select TWO.)

A. Update the CI/CD pipeline to create a VM image that contains newly packaged softwareUse AWS Import/Export to make the VM image available as anAmazon EC2 AMI. Launchthe AMI with an attached 1AM instance profile that allows CodeArtifact actions. Use AWSCLI commands to publish the packages to a CodeArtifact repository. 
B. Create an AWS Identity and Access Management Roles Anywhere trust anchor Createan 1AM role that allows CodeArtifact actions and that has a trust relationship on the trustanchor. Update the on-premises CI/CD pipeline to assume the new 1AM role and topublish the packages to CodeArtifact.
C. Create a new Amazon S3 bucket. Generate a presigned URL that allows the PutObjectrequest. Update the on-premises CI/CD pipeline to use thepresigned URL to publish thepackages from the on-premises location to the S3 bucket. Create an AWS Lambda functionthat runs when packages are created in the bucket through a put command Configure theLambda function to publish the packages to CodeArtifact 
D. For each public repository, create a CodeArtifact repository that is configured with anexternal connection Configure the dependent repositories as upstream public repositories
E. Create a CodeArtifact repository that is configured with a set of external connections tothe public repositories. Configure the external connections to be downstream of therepository 



Question # 12

A company’s web app runs on EC2 with a relational database. The company wants highlyavailable multi-Region architecture with latency-based routing for global customers.Which solution meets these requirements?

A. ALB in each Region with Auto Scaling groups; Aurora global database with readreplicas; Route 53 latency-based routing to ALBs.
B. ALB in each Region with Auto Scaling groups; RDS primary in one Region with readreplicas in others; Route 53 failover routing to ALBs. 
C. Elastic Beanstalk with ALB in each Region; Aurora global database with read replicas;CloudFront with custom origins for ALBs; Route 53 latency-based routing to CloudFront. 
D. Elastic Beanstalk with ALB in each Region; RDS primary in one Region with readreplicas; CloudFront with custom origins for ALBs; Route 53 failover routing to CloudFront. 



Question # 13

A company runs a microservices application on Amazon EKS. Users report delaysaccessing an account summary feature during peak hours. CloudWatch metrics and logsshow normal CPU and memory utilization on EKS nodes. The DevOps engineer cannotidentify where delays occur within the microservices.Which solution will meet these requirements?

A. Deploy the AWS X-Ray daemon as a DaemonSet in the EKS cluster. Use the X-RaySDK to instrument the application code. Redeploy the application. 
B. Enable CloudWatch Container Insights for the EKS cluster. Use the Container Insightsdata to diagnose delays. 
C. Create alarms based on existing CloudWatch metrics. Set up SNS email alerts. 
D. Increase the timeout settings in the application code for network operations. 



Question # 14

A company has many AWS accounts. During AWS account creation the company usesautomation to create an Amazon CloudWatch Logs log group in every AWS Region thatthe company operates in. The automaton configures new resources in the accounts topublish logs to the provisioned log groups in their Region.The company has created a logging account to centralize the logging from all the otheraccounts. A DevOps engineer needs to aggregate the log groups from all the accounts toan existing Amazon S3 bucket in the logging account.Which solution will meet these requirements in the MOST operationally efficient manner?

A. In the logging account create a CloudWatch Logs destination with a destination policy.For each new account subscribe the CloudWatch Logs log groups to the. DestinationConfigure a single Amazon Kinesis data stream and a single Amazon Kinesis DataFirehose delivery stream to deliver the logs from the CloudWatch Logs destination to theS3 bucket. 
B. In the logging account create a CloudWatch Logs destination with a destination policyfor each Region. For each new account subscribe the CloudWatch Logs log groups to thedestination. Configure a single Amazon Kinesis data stream and a single Amazon KinesisData Firehose delivery stream to deliver the logs from all the CloudWatch Logsdestinations to the S3 bucket.
C. In the logging account create a CloudWatch Logs destination with a destination policyfor each Region. For each new account subscribe the CloudWatch Logs log groups to thedestination Configure an Amazon Kinesis data stream and an Amazon Kinesis DataFirehose delivery stream for each Region to deliver the logs from the CloudWatch Logsdestinations to the S3 bucket. 
D. In the logging account create a CloudWatch Logs destination with a destination policy.For each new account subscribe the CloudWatch Logs log groups to the destination.Configure a single Amazon Kinesis data stream to deliver the logs from the CloudWatchLogs destination to the S3 bucket. 



Question # 15

A company's organization in AWS Organizations has a single OU. The company runsAmazon EC2 instances in the OU accounts. The company needs to limit the use of eachEC2 instance's credentials to the specific EC2 instance that the credential is assigned to. ADevOps engineer must configure security for the EC2 instances.Which solution will meet these requirements?

A. Create an SCP that specifies the VPC CIDR block. Configure the SCP to check whetherthe value of the aws:VpcSourcelp condition key is in the specified block. In the same SCPcheck, check whether the values of the aws:EC2lnstanceSourcePrivatelPv4 andaws:SourceVpc condition keys are the same. Deny access if either condition is false. Applythe SCP to the OU.
B. Create an SCP that checks whether the values of the aws:EC2lnstanceSourceVPC andaws:SourceVpc condition keys are the same. Deny access if the values are not the same.In the same SCP check, check whether the values of theaws:EC2lnstanceSourcePrivatelPv4 and awsVpcSourcelp condition keys are the same.Deny access if the values are not the same. Apply the SCP to the OU. 
C. Create an SCP that includes a list of acceptable VPC values and checks whether the value of the aws:SourceVpc condition key is in the list. In the same SCP check, define a list of acceptable IP address values and check whether the value of the aws:VpcSourcelp condition key is in the list. Deny access if either condition is false. Apply the SCP to each account in the organization
D. Create an SCP that checks whether the values of the aws:EC2lnstanceSourceVPC andaws:VpcSourcelp condition keys are the same. Deny access if the values are not the same.In the same SCP check, check whether the values of theaws:EC2lnstanceSourcePrivatolPv4 and aws:SourceVpc condition keys are the same.Deny access if the values are not the same. Apply the SCP to each account in theorganization. 



Question # 16

A company's DevOps engineer uses AWS Systems Manager to perform maintenancetasks during maintenance windows. The company has a few Amazon EC2 instances thatrequire a restart after notifications from AWS Health. The DevOps engineer needs toimplement an automated solution to remediate these notifications. The DevOps engineercreates an Amazon EventBridge rule.How should the DevOps engineer configure the EventBridge rule to meet theserequirements?

A. Configure an event source of AWS Health, a service of EC2. and an event type thatindicates instance maintenance. Target a Systems Manager document to restart the EC2instance. 
B. Configure an event source of Systems Manager and an event type that indicates amaintenance window. Target a Systems Manager document to restart the EC2 instance.registers an automation task to restart the EC2 instance during a maintenance window. 
D. Configure an event source of EC2 and an event type that indicates instancemaintenance. Target a newly created AWS Lambda function that registers an automationtask to restart the EC2 instance during a maintenance window.



Question # 17

A company is testing a web application that runs on Amazon EC2 instances behind anApplication Load Balancer. The instances run in an Auto Scaling group across multipleAvailability Zones. The company uses a blue green deployment process with immutableinstances when deploying new software.During testing users are being automatically logged out of the application at random times.Testers also report that when a new version of the application is deployed all users arelogged out. The development team needs a solution to ensure users remain logged macross scaling events and application deployments.What is the MOST operationally efficient way to ensure users remain logged in?

A. Enable smart sessions on the load balancer and modify the application to check tor anexisting session. 
B. Enable session sharing on the toad balancer and modify the application to read from thesession store.
C. Store user session information in an Amazon S3 bucket and modify the application toread session information from the bucket. 
D. Modify the application to store user session information in an Amazon ElastiCachecluster.



Question # 18

A company builds a container image in an AWS CodeBuild project by running Dockercommands. After the container image is built, the CodeBuild project uploads the containerimage to an Amazon S3 bucket. The CodeBuild project has an IAM service role that haspermissions to access the S3 bucket.A DevOps engineer needs to replace the S3 bucket with an Amazon Elastic ContainerRegistry (Amazon ECR) repository to store the container images. TheDevOps engineer creates an ECR private image repository in the same AWS Region of theCodeBuild project. The DevOps engineer adjusts the IAM service role with the permissionsthat are necessary to work with the new ECR repository. The DevOps engineer also placesnew repository information into the docker build command and the docker push commandthat are used in the buildspec.yml file.When the CodeBuild project runs a build job, the job fails when the job tries to access theECR repository.Which solution will resolve the issue of failed access to the ECR repository?

A. Update the buildspec.yml file to log in to the ECR repository by using the aws ecr getlogin-password AWS CLI command to obtain an authentication token. Update the dockerlogin command to use the authentication token to access the ECR repository.
B. Add an environment variable of type SECRETS_MANAGER to the CodeBuild project. Inthe environment variable, include the ARN of the CodeBuild project's IAM service role.Update the buildspec.yml file to use the new environment variable to log in with the dockerlogin command to access the ECR repository. 
C. Update the ECR repository to be a public image repository. Add an ECR repositorypolicy that allows the IAM service role to have access.
D. Update the buildspec.yml file to use the AWS CLI to assume the IAM service role forECR operations. Add an ECR repository policy that allows the IAM service role to haveaccess.



Question # 19

A company has a single AWS account that runs hundreds of Amazon EC2 instances in asingle AWS Region. New EC2 instances are launched and terminated each hour in theaccount. The account also includes existing EC2 instances that have been running forlonger than a week.The company's security policy requires all running EC2 instances to use an EC2 instanceprofile. If an EC2 instance does not have an instance profile attached, the EC2 instancemust use a default instance profile that has no IAM permissions assigned.A DevOps engineer reviews the account and discovers EC2 instances that are runningwithout an instance profile. During the review, the DevOps engineer also observes that newEC2 instances are being launched without an instance profile.Which solution will ensure that an instance profile is attached to all existing and future EC2instances in the Region?

A. Configure an Amazon EventBridge rule that reacts to EC2 RunInstances API calls.Configure the rule to invoke an AWS Lambda function to attach the default instance profileto the EC2 instances. 
B. Configure the ec2-instance-profile-attached AWS Config managed rule with a triggertype of configuration changes. Configure an automatic remediation action that invokes anAWS Systems Manager Automation runbook to attach the default instance profile to theEC2 instances.
C. Configure an Amazon EventBridge rule that reacts to EC2 StartInstances API calls.Configure the rule to invoke an AWS Systems Manager Automation runbook to attach thedefault instance profile to the EC2 instances.
D. Configure the iam-role-managed-policy-check AWS Config managed rule with a triggertype of configuration changes. Configure an automatic remediation action that invokes anAWS Lambda function to attach the default instance profile to the EC2 instances



Question # 20

A security team is concerned that a developer can unintentionally attach an Elastic IPaddress to an Amazon EC2 instance in production. No developer should be allowed toattach an Elastic IP address to an instance. The security team must be notified if anyproduction server has an Elastic IP address at any timeHow can this task be automated'?

A. Use Amazon Athena to query AWS CloudTrail logs to check for any associate-addressattempts Create an AWS Lambda function to disassociate the Elastic IP address from theinstance, and alert the security team. 
B. Attach an 1AM policy to the developers' 1AM group to deny associate-addresspermissions Create a custom AWS Config rule to check whether an Elastic IP address isassociated with any instance tagged as production, and alert the security team 
C. Ensure that all 1AM groups associated with developers do not have associate-addresspermissions. Create a scheduled AWS Lambda function to check whether an Elastic IPaddress is associated with any instance tagged as production, and alert the secunty team ifan instance has an Elastic IP address associated with it 
D. Create an AWS Config rule to check that all production instances have EC2 1AM rolesthat include deny associate-address permissions Verify whether there is an Elastic IPaddress associated with any instance, and alert the security team if an instance has anElastic IP address associated with it. 



Question # 21

A company deploys an application to Amazon EC2 instances. The application runsAmazon Linux 2 and uses AWS CodeDeploy. The application has the following filestructure for its code repository:appspec.ymlconfig/config.txt application/webThe appspec yml file has the following contents in the files sectionfiles:-source: config/config.txtdestination: /usr/local/src/config.txt-source: /destination: /var/www/htmlThe appspec.yml file has the following contents in the files section:What will the result be for the deployment of the config.txt file?

A. The config.txt file will be deployed to only /var/www/html/config/config txt 
B. The config.txt file will be deployed to /usr/local/src/config.txt and to/var/www/html/config/config txt.
C. The config.txt file will be deployed to only /usr/local/src/config txt 
D. The config txt file will be deployed to /usr/local/src/config.txt and to/var/www/html/application/web/config txt 



Question # 22

A company needs to update its order processing application to improve resilience andavailability. The application requires a stateful database and uses a single-node AmazonRDS DB instance to store customer orders and transaction history. A DevOps engineermust make the database highly available.Which solution will meet this requirement?

A. Migrate the database to Amazon DynamoDB global tables. Configure automatic failoverbetween AWS Regions by using Amazon Route 53 health checks
B. Migrate the database to Amazon EC2 instances in multiple Availability Zones. UseAmazon Elastic Block Store (Amazon EBS) Mult-Attach to connect all the instances to asingle EBS volume.
C. Use the RDS DB instance as the source instance to create read replicas in multipleAvailability Zones. Deploy an Application Load Balancer to distribute read traffic across theread replicas
D. Modify the RDS DB instance to be a Multi-AZ deployment. Verify automatic failover tothe standby instance if the primary instance becomes unavailable. 



Question # 23

A company has configured an Amazon S3 event source on an AWS Lambda function Thecompany needs the Lambda function to run when a new object is created or an existingobject IS modified In a particular S3 bucket The Lambda function will use the S3 bucketname and the S3 object key of the incoming event to read the contents of the created ormodified S3 object The Lambda function will parse the contents and save the parsedcontents to an Amazon DynamoDB table.The Lambda function's execution role has permissions to read from the S3 bucket and towrite to the DynamoDB table, During testing, a DevOps engineer discovers that theLambdafunction does not run when objects are added to the S3 bucket or when existing objects aremodified.Which solution will resolve this problem?

A. Increase the memory of the Lambda function to give the function the ability to processlarge files from the S3 bucket. 
B. Create a resource policy on the Lambda function to grant Amazon S3 the permission toinvoke the Lambda function for the S3 bucket
C. Configure an Amazon Simple Queue Service (Amazon SQS) queue as an OnFailuredestination for the Lambda function 
D. Provision space in the /tmp folder of the Lambda function to give the function the abilityto process large files from the S3 bucket 



Question # 24

A company recently migrated its legacy application from on-premises to AWS. Theapplication is hosted on Amazon EC2 instances behind an Application Load Balancerwhich is behind Amazon API Gateway. The company wants to ensure users experienceminimal disruptions during any deployment of a new version of the application. Thecompany also wants to ensure it can quickly roll back updates if there is an issue.Which solution will meet these requirements with MINIMAL changes to the application?

A. Introduce changes as a separate environment parallel to the existing one Configure APIGateway to use a canary release deployment to send a small subset of user traffic to thenew environment. 
B. Introduce changes as a separate environment parallel to the existing one Update theapplication's DNS alias records to point to the new environment. 
C. Introduce changes as a separate target group behind the existing Application LoadBalancer Configure API Gateway to route user traffic to the new target group in steps.
D. Introduce changes as a separate target group behind the existing Application LoadBalancer Configure API Gateway to route all traffic to the Application Load Balancer whichthen sends the traffic to the new target group. 



Question # 25

A company uses AWS Control Tower and Organizations for a multi-account environment. Itneeds to create new accounts and ensure they receive a consistent baseline configuration.Which solution meets the requirement with the least overhead?

A. Use Account Factory Customization (AFC) blueprints for baseline setup. 
B. Use Account Factory + StackSets post-setup. 
C. Use Organizations with Lambda applying baseline via access role. 
D. Use Organizations + StackSets manually. 



Feedback That Matters: Reviews of Our Amazon DOP-C02 Dumps

    Milo Houston         Jul 31, 2026

The DOP-C02 test engine on MyCertsHub was incredibly realistic—helped me ace the real exam!

    Arianna Kelly         Jul 30, 2026

Got 20% off using coupon code CERT20—best deal for AWS exam prep anywhere online!

    Sophia Scott         Jul 30, 2026

Clean website, fast downloads, and up-to-date DOP-C02 materials—MyCertsHub delivers!

    Christopher Baumann         Jul 29, 2026

The practice questions felt just like the actual DOP-C02—shoutout to their awesome test engine!

    Ram Gopal Bhatnagar         Jul 29, 2026

I used CERT20 at checkout and saved big—MyCertsHub is now my go-to for IT certs.


Leave Your Review