DOP-C02PROFESSIONAL

AWS Certified DevOps Engineer - Professional

Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.

Exam at a glance
Questions75
Duration180 min
Passing score75%
Domains6
Question bank2775
Questions updatedAug 08 2024
Start a free practice exam
PRACTICE EXAMDOP-C02 exam simulatorFull-length or custom exams with explanations and a pass probability indicator.Open simulator →COURSEInteractive DOP-C02 course139 lessons built around exercises, no videos.See the course →EXAM GUIDEOfficial DOP-C02 exam guideThe AWS document listing every domain, task and service in scope.Open the guide →

Exam domains

The DOP-C02 questions are grouped into 6 domains divided into 19 tasks.

DOP-C02 example questions

One example question per domain from the DOP-C02 question bank, with the correct answer and its explanation. Sign in to the simulator to answer them with all answer options.

SDLC Automation

You are a DevOps Engineer at a company that has a microservices architecture built using AWS Lambda. You have been tasked with setting up a Continuous Integration/Continuous Deployment (CI/CD) pipeline that automates the deployment of these Lambda functions. The deployment must ensure zero downtime and should integrate seamlessly with AWS CodeDeploy. Which deployment strategy should you choose?

Show answerCORRECT ANSWER

Canary Deployment

Canary Deployment gradually shifts traffic to the Lambda function in small increments, ensuring that any issues can be detected and rolled back quickly if needed, thus guaranteeing zero downtime.

Configuration Management and IaC

You are a DevOps engineer at a mid-sized tech company. Your team is in the process of implementing a new infrastructure as code (IaC) strategy using AWS CloudFormation to manage your cloud resources. You have created several reusable CloudFormation templates to standardize the deployment of various AWS services, including EC2 instances, RDS databases, and VPC configurations. However, you recently discovered that some of your templates grant overly permissive IAM roles, which has raised security concerns. Now, you need to enforce more stringent IAM policies within your CloudFormation templates and ensure that only needed permissions are granted to various resources. Which solution will help you achieve this objective most effectively?

Show answerCORRECT ANSWER

Use IAM policy conditions within your CloudFormation templates to specify more granular access controls tailored to specific resources.

IAM policy conditions allow you to define explicit rules about when a policy effect is allowed or denied. Using conditions makes your IAM policies more secure and customized to specific scenarios.

Resilient Cloud Solutions

Your company runs a fleet of web applications across multiple AWS regions to ensure high availability and low latency for users around the globe. The architecture leverages Amazon EC2 instances running behind Elastic Load Balancers (ELBs) and uses Amazon Route 53 for DNS routing. The business requirements dictate that even in the event of a regional outage, your users should experience minimal downtime and uninterrupted service. How can you meet these requirements with the least amount of manual intervention while also improving the performance of your globally distributed applications?

Show answerCORRECT ANSWER

Use AWS Global Accelerator to route traffic to healthy application endpoints in multiple AWS regions, ensuring automatic failover and optimized performance based on user's location.

AWS Global Accelerator provides a single entry point to your application and automatically routes user traffic to the optimal endpoint based on network latency, ensuring low latency and high availability. In case a region becomes unhealthy, Global Accelerator will route traffic to the next best region.

Monitoring and Logging

A healthcare company uses AWS to host its applications, and it is critical to ensure the privacy and security of patient information. The DevOps team has been tasked with configuring Amazon CloudWatch to monitor application logs and store them in an encrypted format to comply with stringent security policies and industry regulations like HIPAA. After setting up CloudWatch, they must ensure that the log data collected is encrypted at rest. Which of the following actions should the DevOps team take to properly configure the encryption of log data using AWS KMS while ensuring the log metrics remain available for alerting and analysis?

Show answerCORRECT ANSWER

Use AWS KMS to create a Customer Master Key (CMK) and configure CloudWatch Logs to use this CMK for encrypting log data.

CloudWatch Logs natively supports the use of AWS KMS Customer Master Keys (CMKs) for encrypting log data at rest. By creating a CMK and configuring CloudWatch Logs to use it, the logs will be encrypted according to the specified key, ensuring compliance with security policies.

Incident and Event Response

Your team has built a financial application that stores transactional data in an Amazon DynamoDB table. To ensure the consistency and reliability of your system, you need to update a secondary system whenever there is an insertion or update in your DynamoDB table. The requirements are to process these changes efficiently, ensure persistence, and allow retry mechanisms in case of failures. What AWS service combination would be the most suitable for this task?

Show answerCORRECT ANSWER

Use DynamoDB Streams to capture changes, send them to an AWS Lambda function to process the data, and then use an Amazon SQS queue to handle any retry logic.

DynamoDB Streams can capture changes to the table. AWS Lambda can process those changes and Amazon SQS can provide the required durability and retry logic for eventual consistency.

Security and Compliance

You are designing a new internal application for an enterprise that is rapidly scaling its AWS infrastructure. To ensure secure access management, you need to implement permissions boundaries to restrict the maximum permissions that IAM and machine identities can receive. You also need to ensure that only certain trusted administrators can grant IAM roles with elevated permissions. What combination of approaches should you use to achieve this? A) Apply permissions boundaries to all IAM roles and users, and grant administrators the necessary IAM permissions to make changes. B) Use AWS Organizations Service Control Policies (SCPs) to manage permissions across accounts, and use IAM roles with MFA to restrict access further. C) Apply permissions boundaries to IAM roles and users, use AWS STS for temporary elevated permissions when required, and implement MFA for administrative actions. D) Use IAM access advisor combined with VPC endpoint policies to restrict permissions and access.

Show answerCORRECT ANSWER

C) Apply permissions boundaries to IAM roles and users, use AWS STS for temporary elevated permissions when required, and implement MFA for administrative actions.

This approach ensures that IAM roles and users have restricted permissions through permissions boundaries. AWS STS can provide temporary credentials for elevated permissions, and MFA adds a layer of security for administrative actions, aligning with best practices for identity and access management at scale.

All 19 DOP-C02 example questions with answersGrouped by domain. Pick an answer, check it and read the explanation.Browse questions →

Exam mode and practice mode

Exam modePractice mode
Questions count751 - 75
Time limit180 minutesOptional, 10 - 200 minutes
Exam scope6 domains with the official questions ratioSelected domains with the official questions ratio
Correct answersAfter exam submissionAfter exam submission or after each answer
Question typesMix of single and multiple correct answersSingle, multiple or both
Question hintsNeverOptional
Question domainRevealed after exam submissionRevealed after submission or during the exam
Scoring15 of 75 questions do not count towards the resultOfficial AWS method or mathematical mean

See all simulator features on the AWS Exam Simulator page.

About the DOP-C02 exam

The AWS Certified DevOps Engineer - Professional (DOP-C02) certification is designed for individuals with extensive experience in managing AWS environments. It assesses your ability to implement and manage continuous delivery systems and methodologies on AWS. Before attempting this certification, it is recommended to have a solid understanding of modern development and operations processes and methodologies, as well as experience in developing code in at least one high-level programming language and managing automated infrastructures.

 

The exam consists of 75 questions in multiple-choice and multiple-response formats. You have 180 minutes to complete the exam, which can be taken at a Pearson VUE testing center or online with a proctor. The cost of the exam is $300, and it is available in several languages, including English, Japanese, Korean, and Simplified Chinese. To pass, you need a score of 750 out of 1000.

This certification focuses on six main areas: automating the software development lifecycle (SDLC), managing infrastructure as code (IaC), creating resilient cloud solutions, monitoring and logging, incident and event response, and ensuring security and compliance. Key AWS services you need to be familiar with include AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, AWS CloudFormation, Amazon CloudWatch, AWS Lambda, and AWS IAM.

 

Preparing for this certification involves reviewing the official exam guide, which details the domains covered and their respective weightages. Practical experience is crucial, so setting up a lab environment to practice using AWS services is highly recommended. Additionally, enrolling in relevant training courses, such as those offered by experts like Stephane Maarek and Adrian Cantrill, can provide valuable insights and hands-on experience. Practice exams, like those by Jon Bonso, can help you get accustomed to the exam format and identify areas where you need to focus more.

 

Overall, achieving the AWS Certified DevOps Engineer - Professional certification demonstrates your proficiency in managing and automating AWS environments using DevOps principles, making it a valuable credential for advancing your career in cloud computing and DevOps.

Services on the exam

All 101 AWS services that can appear on the DOP-C02 exam.

Amazon AthenaAmazon EMRAmazon OpenSearch ServiceAmazon RedshiftAmazon QuickSightAmazon AppFlowAmazon EventBridgeAmazon Simple Notification Service (Amazon SNS)Amazon Simple Queue Service (Amazon SQS)AWS Step FunctionsAmazon EC2Amazon EC2 Auto ScalingAWS Elastic BeanstalkAWS Serverless Application RepositoryAmazon EKS DistroAmazon Elastic Container Registry (Amazon ECR)Amazon Elastic Container Service (Amazon ECS)Amazon Elastic Kubernetes Service (Amazon EKS)Amazon AuroraAmazon Aurora ServerlessAmazon DocumentDB (with MongoDB compatibility)Amazon DynamoDBAmazon ElastiCacheAmazon RDSAWS X-RayAmazon API GatewayAWS Auto ScalingAWS CloudFormationAWS CloudTrailAmazon CloudWatchAWS Command Line Interface (AWS CLI)AWS Compute OptimizerAWS ConfigAWS Control TowerAWS Health DashboardAWS License ManagerAmazon Managed GrafanaAmazon Managed Service for PrometheusAWS OrganizationsAWS ProtonAWS Service CatalogAWS Systems ManagerAWS Trusted AdvisorAWS Database Migration Service (AWS DMS)AWS Client VPNAmazon CloudFrontElastic Load Balancing (ELB)AWS PrivateLinkAmazon Route 53AWS Site-to-Site VPNAWS Transit GatewayAmazon VPCAWS Certificate Manager (ACM)AWS CloudHSMAmazon CognitoAmazon DetectiveAWS Directory ServiceAmazon GuardDutyAWS IAM Identity Center (AWS Single Sign-On)AWS Identity and Access Management (IAM)Amazon InspectorAWS Key Management Service (AWS KMS)Amazon MacieAWS Network FirewallAWS Resource Access Manager (AWS RAM)AWS Secrets ManagerAWS Security HubAWS ShieldAWS WAFAWS FargateAWS LambdaAWS BackupAmazon Elastic Block Store (Amazon EBS)Amazon Elastic File System (Amazon EFS)Amazon FSxAmazon S3Amazon S3 GlacierAWS Storage GatewayAWS Cloud Development Kit (AWS CDK)AWS CloudShellAWS CodeArtifactAWS CodeBuildAWS CodeCommitAWS CodeDeployAmazon CodeGuruAWS CodeStarAWS Fault Injection Simulator (AWS FIS)AWS Tools and SDKsAWS OpsWorksAWS CopilotAmazon MemoryDB for RedisAWS Security Token Service (AWS STS)AWS Elastic Disaster RecoveryAmazon Kinesis Data FirehoseAmazon Kinesis Data StreamsAWS App RunnerAWS CodePipelineAWS Serverless Application Model (AWS SAM)AWS App2ContainerRed Hat OpenShift Service on AWS (ROSA)AWS Resilience Hub

Other practice exams