| Exam Code | DOP-C02 |
| Exam Name | AWS Certified DevOps Engineer - Professional |
| Questions | 449 Questions Answers With Explanation |
| Update Date | July 16,2026 |
| Price |
Was : |
Prepare Yourself Expertly for DOP-C02 Exam:
Our team of highly skilled and experienced professionals is dedicated to delivering up-to-date and precise study materials in PDF format to our customers. We deeply value both your time and financial investment, and we have spared no effort to provide you with the highest quality work. We ensure that our students consistently achieve a score of more than 95% in the Amazon DOP-C02 exam. You provide only authentic and reliable study material. Our team of professionals is always working very keenly to keep the material updated. Hence, they communicate to the students quickly if there is any change in the DOP-C02 dumps file. The Amazon DOP-C02 exam question answers and DOP-C02 dumps we offer are as genuine as studying the actual exam content.
You can reach out to our agents at any time for guidance; we are available 24/7. Our agent will provide you information you need; you can ask them any questions you have. We are here to provide you with a complete study material file you need to pass your DOP-C02 exam with extraordinary marks.
Pass4surexams provide trusted study material. If you want to meet a sweeping success in your exam you must sign up for the complete preparation at Pass4surexams and we will provide you with such genuine material that will help you succeed with distinction. Our experts work tirelessly for our customers, ensuring a seamless journey to passing the Amazon DOP-C02 exam on the first attempt. We have already helped a lot of students to ace IT certification exams with our genuine DOP-C02 Exam Question Answers. Don't wait and join us today to collect your favorite certification exam study material and get your dream job quickly.
Enroll with confidence at Pass4surexams, and not only will you access our comprehensive Amazon DOP-C02 exam question answers and dumps, but you will also benefit from a remarkable offer – 90 days of free updates. In the dynamic landscape of certification exams, our commitment to your success doesn't waver. If there are any changes or updates to the Amazon DOP-C02 exam content during the 90-day period, rest assured that our team will promptly notify you and provide the latest study materials, ensuring you are thoroughly prepared for success in your exam."
Quality is the heart of our service that's why we offer our students real exam questions with 100% passing assurance in the first attempt. Our DOP-C02 dumps PDF have been carved by the experienced experts exactly on the model of real exam question answers in which you are going to appear to get your certification.
A company has started using AWS across several teams. Each team has multiple accountsand unique security profiles. The company manages the accounts in an organization inAWS Organizations. Each account has its own configuration and security controls.The company's DevOps team wants to use preventive and detective controls to govern allaccounts. The DevOps team needs to ensure the security of accounts now and in thefuture as the company creates new accounts in the organization.Which solution will meet these requirements?
A. Use Organizations to create OUs that have appropriate SCPs attached for each team.Place each team in the appropriate OUs to apply security controls. Create any new teamaccounts in the appropriate OUs
B. Create an AWS Control Tower landing zone. Configure OUs and appropriate controls inAWS Control Tower for the existing teams. Configure trusted access for AWS ControlTower. Enroll the existing accounts in the appropriate OUs that match the appropriatesecurity policies for each team. Use AWS Control Tower to provision any new accounts.
C. Create AWS CloudFormation stack sets in the organization's management account.Configure a stack set that deploys AWS Config with configuration rules and remediationactions for all controls to each account in the organization. Update the stack sets to deployto new accounts as the accounts are created.
D. Configure AWS Config to manage the AWS Config rules across all AWS accounts in theorganization. Deploy conformance packs that provide AWS Config rules and remediationactions across the organization.
A company that uses electronic patient health records runs a fleet of Amazon EC2instances with an Amazon Linux operating system. The company must continuously ensurethat the EC2 instances are running operating system patches and application patches thatare in compliance with current privacy regulations. The company uses a custom repositoryto store application patches.A DevOps engineer needs to automate the deployment of operating system patches andapplication patches. The DevOps engineer wants to use both the default operating systempatch repository and the custom patch repository.Which solution will meet these requirements with the LEAST effort?
A. Use AWS Systems Manager to create a new custom patch baseline that includes thedefault operating system repository and the custom repository. Run the AWSRunPatchBaseline document by using the Run command to verify and install patches. Usethe BaselineOverride API to configure the new custom patch baseline
B. Use AWS Direct Connect to integrate the custom repository with the EC2 instances. UseAmazon EventBridge events to deploy the patches
C. Use the yum-config-manager command to add the custom repository to the/etc/yum.repos.d configuration. Run the yum-config-manager-enable command to activatethe new repository
D. Use AWS Systems Manager to create a patch baseline for the default operating systemrepository and a second patch baseline for the custom repository. Run the AWSRunPatchBaseline document by using the Run command to verify and install patches. Usethe BaselineOverride API to configure the default patch baseline and the custom patchbaseline.
A large enterprise is deploying a web application on AWS. The application runs on AmazonEC2 instances behind an Application Load Balancer. The instances run in an Auto Scalinggroup across multiple Availability Zones. The application stores data in an Amazon RDS forOracle DB instance and Amazon DynamoDB. There are separate environments tordevelopment testing and production.What is the MOST secure and flexible way to obtain password credentials duringdeployment?
A. Retrieve an access key from an AWS Systems Manager securestring parameter toaccess AWS services. Retrieve the database credentials from a Systems ManagerSecureString parameter
B. Launch the EC2 instances with an EC2 1AM role to access AWS services Retrieve thedatabase credentials from AWS Secrets Manager.
C. Retrieve an access key from an AWS Systems Manager plaintext parameter to accessAWS services. Retrieve the database credentials from a Systems Manager SecureStringparameter.
D. Launch the EC2 instances with an EC2 1AM role to access AWS services Store thedatabase passwords in an encrypted config file with the application artifacts.
A company manages a web application that runs on Amazon EC2 instances behind anApplication Load Balancer (ALB). The EC2 instances run in an Auto Scaling group acrossmultiple Availability Zones. The application uses an Amazon RDS for MySQL DB instanceto store the data. The company has configured Amazon Route 53 with an alias record thatpoints to the ALB.A new company guideline requires a geographically isolated disaster recovery (DR> sitewith an RTO of 4 hours and an RPO of 15 minutes.Which DR strategy will meet these requirements with the LEAST change to the applicationstack?
A. Launch a replica environment of everything except Amazon RDS in a differentAvailability Zone Create an RDS read replica in the new Availability Zone: and configurethe new stack to point to the local RDS DB instance. Add the new stack to the Route 53record set by using a hearth check to configure a failover routing policy.
B. Launch a replica environment of everything except Amazon RDS in a different AWS.Region Create an RDS read replica in the new Region and configure the new stack to pointto the local RDS DB instance. Add the new stack to the Route 53 record set by using ahealth check to configure a latency routing policy.
C. Launch a replica environment of everything except Amazon RDS ma different AWSRegion. In the event of an outage copy and restore the latest RDS snapshot from theprimary. Region to the DR Region Adjust the Route 53 record set to point to the ALB in theDR Region.
D. Launch a replica environment of everything except Amazon RDS in a different AWSRegion. Create an RDS read replica in the new Region and configure the new environmentto point to the local RDS DB instance. Add the new stack to the Route 53 record set byusing a health check to configure a failover routing policy. In the event of an outagepromote the read replica to primary.
A company uses an Amazon API Gateway regional REST API to host its application API.The REST API has a custom domain. The REST API's default endpoint is deactivated.The company's internal teams consume the API. The company wants to use mutual TLSbetween the API and the internal teams as an additional layer of authentication.Which combination of steps will meet these requirements? (Select TWO.)
A. Use AWS Certificate Manager (ACM) to create a private certificate authority (CA).Provision a client certificate that is signed by the private CA.
B. Provision a client certificate that is signed by a public certificate authority (CA). Importthe certificate into AWS Certificate Manager (ACM).
C. Upload the provisioned client certificate to an Amazon S3 bucket. Configure the APIGateway mutual TLS to use the client certificate that is stored in the S3 bucket as the truststore.
D. Upload the provisioned client certificate private key to an Amazon S3 bucket. Configurethe API Gateway mutual TLS to use the private key that is stored in the S3 bucket as thetrust store.
E. Upload the root private certificate authority (CA) certificate to an Amazon S3 bucket.Configure the API Gateway mutual TLS to use the private CA certificate that is stored in theS3 bucket as the trust store.
A space exploration company receives telemetry data from multiple satellites. Smallpackets of data are received through Amazon API Gateway and are placed directly into anAmazon Simple Queue Service (Amazon SQS) standard queue. A custom application issubscribed to the queue and transforms the data into a standard format.Because of inconsistencies in the data that the satellites produce, the application isoccasionally unable to transform the data. In these cases, the messages remain in theSQS queue. A DevOps engineer must develop a solution that retains the failed messagesand makes them available to scientists for review and future processing.Which solution will meet these requirements?
A. Configure AWS Lambda to poll the SQS queue and invoke a Lambda function to checkwhether the queue messages are valid. If validation fails, send a copy of the data that is notvalid to an Amazon S3 bucket so that the scientists can review and correct the data. Whenthe data is corrected, amend the message in the SQS queue by using a replay Lambdafunction with the corrected data.
B. Convert the SQS standard queue to an SQS FIFO queue. Configure AWS Lambda topoll the SQS queue every 10 minutes by using an Amazon EventBridge schedule. Invokethe Lambda function to identify any messages with a SentTimestamp value that is olderthan 5 minutes, push the data to the same location as the application's output location, andremove the messages from the queue.
C. Create an SQS dead-letter queue. Modify the existing queue by including a redrivepolicy that sets the Maximum Receives setting to 1 and sets the dead-letter queue ARN tothe ARN of the newly created queue. Instruct the scientists to use the dead-letter queue toreview the data that is not valid. Reprocess this data at a later time.
D. Configure API Gateway to send messages to different SQS virtual queues that arenamed for each of the satellites. Update the application to use a new virtual queue for anydata that it cannot transform, and send the message to the new virtual queue. Instruct thescientists to use the virtual queue to review the data that is not valid. Reprocess this data ata later time.
A company requires its internal business teams to launch resources through pre-approvedAWS CloudFormation templates only. The security team requires automated monitoringwhen resources drift from their expected state.Which strategy should be used to meet these requirements?
A. Allow users to deploy CloudFormation stacks using a CloudFormation service role only.Use CloudFormation drift detection to detect when resources have drifted from theirexpected state.
B. Allow users to deploy CloudFormation stacks using a CloudFormation service role only.Use AWS Config rules to detect when resources have drifted from their expected state.
C. Allow users to deploy CloudFormation stacks using AWS Service Catalog only. Enforcethe use of a launch constraint. Use AWS Config rules to detect when resources havedrifted from their expected state.
D. Allow users to deploy CloudFormation stacks using AWS Service Catalog only. Enforcethe use of a template constraint. Use Amazon EventBridge notifications to detect whenresources have drifted from their expected state.
A company must encrypt all AMIs that the company shares across accounts. A DevOpsengineer has access to a source account where an unencrypted custom AMI has beenbuilt. The DevOps engineer also has access to a target account where an Amazon EC2Auto Scaling group will launch EC2 instances from the AMI. The DevOps engineer mustshare the AMI with the target account.The company has created an AWS Key Management Service (AWS KMS) key in thesource account.Which additional steps should the DevOps engineer perform to meet the requirements?(Choose three.)
A. In the source account, copy the unencrypted AMI to an encrypted AMI. Specify the KMSkey in the copy action.
B. In the source account, copy the unencrypted AMI to an encrypted AMI. Specify thedefault Amazon Elastic Block Store (Amazon EBS) encryption key in the copy action.
C. In the source account, create a KMS grant that delegates permissions to the AutoScaling group service-linked role in the target account.
D. In the source account, modify the key policy to give the target account permissions tocreate a grant. In the target account, create a KMS grant that delegates permissions to theAuto Scaling group service-linked role.
E. In the source account, share the unencrypted AMI with the target account.
F. In the source account, share the encrypted AMI with the target account.
A company's DevOps team manages a set of AWS accounts that are in an organization inAWS OrganizationsThe company needs a solution that ensures that all Amazon EC2 instances use approvedAMIs that the DevOps team manages. The solution also must remediate the usage of AMIsthat are not approved The individual account administrators must not be able to remove therestriction to use approved AMIs.Which solution will meet these requirements?
A. Use AWS CloudFormation StackSets to deploy an Amazon EventBridge rule to eachaccount. Configure the rule to react to AWS CloudTrail events for Amazon EC2 and tosend a notification to an Amazon Simple Notification Service (Amazon SNS) topic.Subscribe the DevOps team to the SNS topic
B. Use AWS CloudFormation StackSets to deploy the approved-amis-by-id AWS Configmanaged rule to each account. Configure the rule with the list of approved AMIs. Configurethe rule to run the the AWS-StopEC2lnstance AWS Systems Manager Automation runbookfor the noncompliant EC2 instances.
C. Create an AWS Lambda function that processes AWS CloudTrail events for AmazonEC2 Configure the Lambda function to send a notification to an Amazon Simple NotificationService (Amazon SNS) topic. Subscribe the DevOps team to the SNS topic. Deploy theLambda function in each account in the organization Create an Amazon EventBridge rulein each account Configure the EventBridge rules to react to AWS CloudTrail events forAmazon EC2 and to invoke the Lambda function.
D. Enable AWS Config across the organization Create a conformance pack that uses theapproved -amis-by-id AWS Config managed rule with the list of approved AMIs. Deploy theconformance pack across the organization. Configure the rule to run the AWSStopEC2lnstance AWS Systems Manager Automation runbook for the noncompliant EC2instances.
A DevOps engineer updates an AWS CloudFormation stack to add a nested stack thatincludes several Amazon EC2 instances. When the DevOps engineer attempts to deploythe updated stack, the nested stack fails to deploy. What should the DevOps engineer doto determine the cause of the failure?
A. Use the CloudFormation detect root cause capability for the failed stack to analyze thefailure and return the event that is the most likely cause for the failure.
B. Query failed stacks by specifying the root stack as the ParentId property. Examine theStackStatusReason property for all returned stacks to determine the reason the nestedstack failed to deploy.
C. Activate AWS Systems Manager for the AWS account where the application runs. Usethe AWS Systems Manager Automation AWSSupport-TroubleshootCFNCustomResourcerunbook to determine the reason the nested stack failed to deploy.
D. Configure the CloudFormation template to publish logs to Amazon CloudWatch. Viewthe CloudFormation logs for the failed stack in the CloudWatch console to determine thereason the nested stack failed to deploy.
A global company manages multiple AWS accounts by using AWS Control Tower. Thecompany hosts internal applications and public applications.Each application team in the company has its own AWS account for application hosting.The accounts are consolidated in an organization in AWS Organizations. One of the AWSControl Tower member accounts serves as a centralized DevOps account with CI/CDpipelines that application teams use to deploy applications to their respective target AWSaccounts. An 1AM role for deployment exists in the centralized DevOps account.An application team is attempting to deploy its application to an Amazon ElasticKubernetes Service (Amazon EKS) cluster in an application AWS account. An 1AM role fordeployment exists in the application AWS account. The deployment is through an AWSCodeBuild project that is set up in the centralized DevOps account. The CodeBuild projectuses an 1AM service role for CodeBuild. The deployment is failing with an Unauthorizederror during attempts to connect to the cross-account EKS cluster from CodeBuild.Which solution will resolve this error?
A. Configure the application account's deployment 1AM role to have a trust relationshipwith the centralized DevOps account. Configure the trust relationship to allow thests:AssumeRole action. Configure the application account's deployment 1AM role to havethe required access to the EKS cluster. Configure the EKS cluster aws-auth ConfigMap tomap the role to the appropriate system permissions
B. Configure the centralized DevOps account's deployment I AM role to have a trustrelationship with the application account. Configure the trust relationship to allow thests:AssumeRole action. Configure the centralized DevOps account's deployment 1AM roleto allow the required access to CodeBuild.
C. Configure the centralized DevOps account's deployment 1AM role to have a trustrelationship with the application account. Configure the trust relationship to allow thests:AssumeRoleWithSAML action. Configure the centralized DevOps account's deployment1AM role to allow the required access to CodeBuild.
D. Configure the application account's deployment 1AM role to have a trust relationshipwith the AWS Control Tower management account. Configure the trust relationship to allowthe sts:AssumeRole action. Configure the application account's deployment 1AM role tohave the required access to the EKS cluster. Configure the EKS cluster aws-authConfigMap to map the role to the appropriate system permissions.
A company uses Amazon Elastic Container Service (Amazon ECS) with an Amazon EC2launch type. The company requires all log data to be centralized on Amazon CloudWatch.The company's ECS tasks include a LogConfiguration object that specifies a value ofawslogs for the log driver name.The company's ECS tasks failed to deploy. An error message indicates that a missingpermission causes the failure. The company confirmed that the IAM role used to launchcontainer instances includes the logs:CreateLogGroup, logs:CreateLogStream, andlogs:PutLogEvents permissions.Which solution will fix the problem?
A. Add an IAM trust policy to the IAM role that establishes Amazon ECS as a trustedservice
B. Add the logs:PutDestination permission to the policy applied to the IAM role.
C. Remove the logs:CreateLogStream permission from the policy applied to the IAM role.
D. Add an IAM trust policy to the IAM role that establishes CloudWatch as a trustedservice
A company uses AWS WAF to protect its cloud infrastructure. A DevOps engineer needs togive an operations team the ability to analyze log messages from AWS WAR. Theoperations team needs to be able to create alarms for specific patterns in the log output.Which solution will meet these requirements with the LEAST operational overhead?
A. Create an Amazon CloudWatch Logs log group. Configure the appropriate AWS WAFweb ACL to send log messages to the log group. Instruct the operations team to createCloudWatch metric filters.
B. Create an Amazon OpenSearch Service cluster and appropriate indexes. Configure anAmazon Kinesis Data Firehose delivery stream to stream log data to the indexes. UseOpenSearch Dashboards to create filters and widgets
C. Create an Amazon S3 bucket for the log output. Configure AWS WAF to send logoutputs to the S3 bucket. Instruct the operations team to create AWS Lambda functionsthat detect each desired log message pattern. Configure the Lambda functions to publish toan Amazon Simple Notification Service (Amazon SNS) topic
D. Create an Amazon S3 bucket for the log output. Configure AWS WAF to send logoutputs to the S3 bucket. Use Amazon Athena to create an external table definition that fitsthe log message pattern. Instruct the operations team to write SOL queries and to createAmazon CloudWatch metric filters for the Athena queries.
A cloud team uses AWS Organizations and AWS IAM Identity Center to manage acompany's AWS accounts. The company recently established a research team. Theresearch team requires the ability to fully manage the resources in its account. Theresearch team must not be able to create IAM users.The cloud team creates a Research Administrator permission set in IAM Identity Center forthe research team. The permission set has the AdministratorAccess AWS managed policyattached. The cloud team must ensure that no one on the research team can create IAMusers.Which solution will meet these requirements?
A. Create an IAM policy that denies the iam:CreateUser action. Attach the IAM policy to theResearch Administrator permission set.
B. Create an IAM policy that allows all actions except the iam:CreateUser action. Use theIAM policy to set the permissions boundary for the Research Administrator permission set.
C. Create an SCP that denies the iam:CreateUser action. Attach the SCP to the researchteam's AWS account.
D. Create an AWS Lambda function that deletes IAM users. Create an AmazonEventBridge rule that detects the IAM CreateUser event. Configure the rule to invoke theLambda function.
A company is migrating its container-based workloads to an AWS Organizations multiaccount environment. The environment consists of application workload accounts that thecompany uses to deploy and run the containerized workloads. The company has alsoprovisioned a shared services account tor shared workloads in the organization.The company must follow strict compliance regulations. All container images must receivesecurity scanning before they are deployed to any environment. Images can be consumedby downstream deployment mechanisms after the images pass a scan with no criticalvulnerabilities. Pre-scan and post-scan images must be isolated from one another so that adeployment can never use pre-scan images.A DevOps engineer needs to create a strategy to centralize this process.Which combination of steps will meet these requirements with the LEAST administrativeoverhead? (Select TWO.)
A. Create Amazon Elastic Container Registry (Amazon ECR) repositories in the sharedservices account: one repository for each pre-scan image and one repository for each postscan image. Configure Amazon ECR image scanning to run on new image pushes to thepre-scan repositories. Use resource-based policies to grant the organization write accessto the pre-scan repositories and read access to the post-scan repositories.
B. Create pre-scan Amazon Elastic Container Registry (Amazon ECR) repositories in eachaccount that publishes container images. Create repositories for post-scan images in theshared services account. Configure Amazon ECR image scanning to run on new imagepushes to the pre-scan repositories. Use resource-based policies to grant the organizationread access to the post-scan repositories.
C. Configure image replication for each image from the image's pre-scan repository to theimage's post-scan repository.
D. Create a pipeline in AWS CodePipeline for each pre-scan repository. Create a sourcestage that runs when new images are pushed to the pre-scan repositories. Create a stagethat uses AWS CodeBuild as the action provider. Write a buildspec.yaml definition thatdetermines the image scanning status and pushes images without critical vulnerabilities lothe post-scan repositories.
E. Create an AWS Lambda function. Create an Amazon EventBridge rule that reacts toimage scanning completed events and invokes the Lambda function. Write function codethat determines the image scanning status and pushes images without criticalvulnerabilities to the post-scan repositories.
A company is developing code and wants to use semantic versioning. The company'sDevOps team needs to create a pipeline for compiling the code. The team also needs tomanage versions of the compiled code. If the code uses any open source libraries, thelibraries must also be cached in the build process. Which solution will meet theserequirements?
A. Create an AWS CodeArtifact repository and associate the upstream repositories. Createan AWS CodeBuild project that builds the semantic version of the code artifacts. Configurethe project to authenticate and connect to the CodeArtifact repository and publish theartifact to the repository
B. Use AWS CodeDeploy to upload the generated semantic version of the artifact to anAmazon Elastic File System (Amazon EFS) file system.
C. Use an AWS CodeBuild project to build the code and to publish the generated semanticversion of the artifact to AWS Artifact. Configure build caching in the CodeBuild project.
D. Create a new AWS CodeArtifact repository. Create an AWS Lambda function that pullsopen source packages from the internet and publishes the packages to the repository.Configure AWS CodeDeploy to build semantic versions of the code and publish theversions to the repository.
A DevOps engineer needs to configure an AWS CodePipeline pipeline that publishescontainer images to an Amazon Elastic Container Registry (Amazon ECR) repository. Thepipeline must wait for the previous run to finish and must run when new Git tags arepushed to a Git repository that is connected to AWS CodeConnections. An existingdeployment pipeline needs to run in response to the publication of new container images.Which solution will meet these requirements?
A. Configure a CodePipeline V2 type pipeline that uses QUEUED mode. Add a trigger filterto the pipeline definition that includes all tags. Configure an Amazon EventBridge rule thatmatches container image pushes to start the existing deployment pipeline.
B. Configure a CodePipeline V2 type pipeline that uses SUPERSEDED mode. Add atrigger filter to the pipeline definition that includes all branches. Configure an AmazonEventBridge rule that matches container image pushes to start the existing deploymentpipeline.
C. Configure a CodePipeline V1 type pipeline that uses SUPERSEDED mode. Add atrigger filter to the pipeline definition that includes all tags. Add a stage at the end of thepipeline to invoke the existing deployment pipeline
D. Configure a CodePipeline V1 type pipeline that uses QUEUED mode. Add a trigger filterto the pipeline definition that includes all branches. Add a stage at the end of the pipeline toinvoke the existing deployment pipeline.
A company runs a microservices application on Amazon Elastic Kubernetes Service(Amazon EKS). Users recently reported significant delays while accessing an accountsummary feature, particularly during peak business hours.A DevOps engineer used Amazon CloudWatch metrics and logs to troubleshoot the issue.The logs indicated normal CPU and memory utilization on the EKS nodes. The DevOpsengineer was not able to identify where the delays occurred within the microservicesarchitecture.The DevOps engineer needs to increase the observability of the application to pinpointwhere the delays are occurring.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 the delays.
C. Create alarms based on the existing CloudWatch metrics. Set up an Amazon SimpleNotification Service (Amazon SNS) topic to send email alerts.
D. Increase the timeout settings in the application code for network operations to allowmore time for operations to finish.
A company hired a penetration tester to simulate an internal security breach The testerperformed port scans on the company's Amazon EC2 instances. The company's securitymeasures did not detect the port scans.The company needs a solution that automatically provides notification when port scans areperformed on EC2 instances. The company creates and subscribes to an Amazon SimpleNotification Service (Amazon SNS) topic.What should the company do next to meet the requirement?
A. Ensure that Amazon GuardDuty is enabled Create an Amazon CloudWatch alarm fordetected EC2 and port scan findings. Connect the alarm to the SNS topic.
B. Ensure that Amazon Inspector is enabled Create an Amazon EventBridge event fordetected network reachability findings that indicate port scans Connect the event to theSNS topic.
C. Ensure that Amazon Inspector is enabled. Create an Amazon EventBridge event fordetected CVEs that cause open port vulnerabilities. Connect the event to the SNS topic
D. Ensure that AWS CloudTrail is enabled Create an AWS Lambda function to analyze theCloudTrail logs for unusual amounts of traffic from an IP address range Connect theLambda function to the SNS topic.
A company wants to use AWS Systems Manager documents to bootstrap physical laptopsfor developers The bootstrap code Is stored in GitHub A DevOps engineer has alreadycreated a Systems Manager activation, installed the Systems Manager agent with theregistration code, and installed an activation ID on all the laptops.Which set of steps should be taken next?
A. Configure the Systems Manager document to use the AWS-RunShellScnpt command tocopy the files from GitHub to Amazon S3, then use the aws-downloadContent plugin with asourceType of S3
B. Configure the Systems Manager document to use the aws-configurePackage plugin withan install action and point to the Git repository
C. Configure the Systems Manager document to use the aws-downloadContent plugin witha sourceType of GitHub and sourcelnfo with the repository details.
D. Configure the Systems Manager document to use the aws:softwarelnventory plugin andrun the script from the Git repository
A company is migrating its web application to AWS. The application uses WebSocketconnections for real-time updates and requires sticky sessions.A DevOps engineer must implement a highly available architecture for the application. Theapplication must be accessible to users worldwide with the least possible latency.Which solution will meet these requirements with the LEAST operational overhead?
A. Deploy an Application Load Balancer (ALB). Deploy another ALB in a different AWSRegion. Enable cross-zone load balancing and sticky sessions on the ALBs. Integrate theALBs with Amazon Route 53 latency-based routing.
B. Deploy a Network Load Balancer (NLB). Deploy another NLB in a different AWS Region.Enable cross-zone load balancing and sticky sessions on the NLBs. Integrate the NLBswith Amazon Route 53 geolocation routing.
C. Deploy a Network Load Balancer (NLB) with cross-zone load balancing enabled.Configure the NLB with IP-based targets in multiple Availability Zones. Use AmazonCloudFront for global content delivery. Implement sticky sessions by using source IPaddress preservation on the NLB
D. Deploy an Application Load Balancer (ALB) for HTTP traffic. Deploy a Network LoadBalancer (NLB) in each of the company's AWS Regions for WebSocket connections.Enable sticky sessions on the ALB. Configure the ALB to forward requests to the NLB.
A company uses an organization in AWS Organizations with all features enabled tomanage a fleet of AWS accounts. The company expects to create many new accounts foran upcoming project.The company wants to ensure that the new accounts will not have default VPCs and thatusers can develop only in specific AWS Regions. The company must monitor the newaccounts for compliance with the Center for Internet Security (CIS) AWS FoundationsBenchmark framework.Which combination of solutions will meet these requirements with the LEAST operationaleffort? (Select TWO.)
A. Activate AWS Control Tower. Configure AWS Control Tower to disable internetaccessible subnets. Set the maximum number of private subnets to zero. Configure Regiondenies, and ensure that users can access only the specified Regions.
B. Activate AWS Control Tower. Install Customizations for AWS Control Tower (CfCT).Develop a custom AWS CloudFormation template to delete default VPCs. ConfigureRegion denies, and ensure that users can access only the specified Regions.
C. Write an SCP that denies access to all Regions except the specified Regions. Create anAWS Lambda function that assumes an IAM role by using the Organizations default servicerole in each member account to identify and delete default VPCs. Create an AmazonEventBridge rule that invokes the Lambda function when the company creates a new AWSaccount.
D. Activate AWS Security Hub at the organization level. Select the CIS AWS FoundationsBenchmark framework, and apply the framework to the organization.
E. Activate the CIS AWS Foundations Benchmark framework on the Control Library panelin AWS Control Tower.
A company has an on-premises application that is written in Go. A DevOps engineer mustmove the application to AWS. The company's development team wants to enableblue/green deployments and perform A/B testing.Which solution will meet these requirements?
A. Deploy the application on an Amazon EC2 instance, and create an AMI of the instance.Use the AMI to create an automatic scaling launch configuration that is used in an AutoScaling group. Use Elastic Load Balancing to distribute traffic. When changes are made tothe application, a new AMI will be created, which will initiate an EC2 instance refresh.
B. Use Amazon Lightsail to deploy the application. Store the application in a zipped formatin an Amazon S3 bucket. Use this zipped version to deploy new versions of the applicationto Lightsail. Use Lightsail deployment options to manage the deployment.
C. Use AWS CodeArtifact to store the application code. Use AWS CodeDeploy to deploythe application to a fleet of Amazon EC2 instances. Use Elastic Load Balancing todistribute the traffic to the EC2 instances. When making changes to the application, uploada new version to CodeArtifact and create a new CodeDeploy deployment.
D. Use AWS Elastic Beanstalk to host the application. Store a zipped version of theapplication in Amazon S3. Use that location to deploy new versions of the application. UseElastic Beanstalk to manage the deployment options.
A company runs a fleet of Amazon EC2 instances in a VPC. The company's employeesremotely access the EC2 instances by using the Remote Desktop Protocol (RDP). Thecompany wants to collect metrics about how many RDP sessions the employees initiateevery day. Which combination of steps will meet this requirement? (Select THREE.)
A. Create an Amazon EventBridge rule that reacts to EC2 Instance State-changeNotification events.
B. Create an Amazon CloudWatch Logs log group. Specify the log group as a target for theEventBridge rule.
C. Create a flow log in VPC Flow Logs.
D. Create an Amazon CloudWatch Logs log group. Specify the log group as a destinationfor the flow log.
E. Create a log group metric filter.
F. Create a log group subscription filter. Use EventBridge as the destination.
A company is building a new pipeline by using AWS CodePipeline and AWS CodeBuild ina build account. The pipeline consists of two stages. The first stage is a CodeBuild job tobuild and package an AWS Lambda function. The second stage consists of deploymentactions that operate on two different AWS accounts a development environment accountand a production environment account. The deployment stages use the AWS Cloud Formation action that CodePipeline invokes to deploy the infrastructure that the Lambda functionrequires.A DevOps engineer creates the CodePipeline pipeline and configures the pipeline toencrypt build artifacts by using the AWS Key Management Service (AWS KMS) AWSmanaged key for Amazon S3 (the aws/s3 key). The artifacts are stored in an S3 bucketWhen the pipeline runs, the Cloud Formation actions fail with an access denied error.Which combination of actions must the DevOps engineer perform to resolve this error?(Select TWO.)
A. Create an S3 bucket in each AWS account for the artifacts Allow the pipeline to write tothe S3 buckets. Create a CodePipeline S3 action to copy the artifacts to the S3 bucket ineach AWS account Update the CloudFormation actions to reference the artifacts S3 bucketin the production account.
B. Create a customer managed KMS key Configure the KMS key policy to allow the IAMroles used by the CloudFormation action to perform decrypt operations Modify the pipelineto use the customer managed KMS key to encrypt artifacts.
C. Create an AWS managed KMS key Configure the KMS key policy to allow thedevelopment account and the production account to perform decrypt operations. Modify thepipeline to use the KMS key to encrypt artifacts.
D. In the development account and in the production account create an IAM role forCodePipeline. Configure the roles with permissions to perform CloudFormation operationsand with permissions to retrieve and decrypt objects from the artifacts S3 bucket. In theCodePipeline account configure the CodePipeline CloudFormation action to use the roles.
E. In the development account and in the production account create an IAM role forCodePipeline Configure the roles with permissions to perform CloudFormationoperationsand with permissions to retrieve and decrypt objects from the artifacts S3 bucket. In theCodePipelme account modify the artifacts S3 bucket policy to allow the roles accessConfigure the CodePipeline CloudFormation action to use the roles.
Be part of the conversation — share your thoughts, reply to others, and contribute your experience.
The study material I'm using focuses a lot on monitoring, automation, and deployment strategies.
Technical question: what is the role of AWS CodePipeline in DevOps?
Most study material says CodePipeline automates software release workflows and CI/CD processes.
Some practice questions about deployment automation and logging workflows were very helpful.
Agreed, especially understanding infrastructure as code and operational excellence topics.
I started preparing for the DOP-C02 exam using practice questions. DevOps engineering concepts are quite detailed.
Yes, the study material explains CI/CD pipelines, monitoring, and infrastructure automation very clearly.
Sun Hao
Some scenario questions about incident response and recovery were interesting.
Frederik Klein
Those usually test operational reliability and troubleshooting concepts.