The AWS Certified DevOps Engineer – Professional (DOP-C02) exam validates your skills in automating the testing and deployment of AWS applications. It is ideal for those looking to advance their DevOps career.
You are configuring a Lambda function to trigger on S3 events. What happens if the function fails?
AEvent retries indefinitely
BS3 ignores the event
CA failure notification is sent
DThe event is dropped
Explanation
AWS Lambda can send notifications through SNS if it fails.
Q292
Which service allows you to automate CI/CD pipelines?
AAWS CodePipeline
BAWS CloudFormation
CAWS Lambda
DAmazon S3
Explanation
AWS CodePipeline automates the process of building and deploying applications, while the others serve different purposes.
Q293
A company needs to ensure secure access to its application for developers without providing permanent IAM credentials. What approach should they use?
AAWS Secret Manager
BAWS IAM roles
CAWS EC2 instance profiles
DAWS CloudTrail
Explanation
AWS IAM roles allow temporary, secure access without permanent credentials, whereas the others do not provide the same functionality.
Q294
You are configuring a highly available application architecture across multiple AWS regions. What happens if one region experiences a failure?
ATraffic will be disrupted
BBackup region automatically takes over
CNo effect if using Route 53
DUsers are notified of downtime
Explanation
If configured properly, a backup region can automatically handle traffic, while the other options are incorrect regarding availability.
Q295
Which service is used for managing secrets in AWS?
AAWS Secrets Manager
BAWS Key Management Service
CAWS CloudTrail
DAWS Config
Explanation
AWS Secrets Manager is specifically designed for storing and managing sensitive information, unlike other services mentioned.
Q296
A company needs to run automated tests whenever code is pushed to their repository. Which AWS service should they use for CI/CD?
AAWS Lambda
BAWS CodeBuild
CAWS CloudFormation
DAWS CloudTrail
Explanation
AWS CodeBuild is optimized for running build jobs, including automated tests.
Q297
What happens when an EC2 instance is terminated?
AData on instance store is preserved
BElastic IP is released
CRoot volume is deleted by default
DAWS charges for data transfer
Explanation
By default, the root volume is deleted upon termination unless configured otherwise.
Q298
Which AWS service can automate the deployment of applications?
AAWS CloudFormation
BAWS Lambda
CAWS CloudWatch
DAWS Elastic Beanstalk
Explanation
AWS Elastic Beanstalk simplifies application deployment; CloudFormation is for infrastructure management, Lambda executes code, and CloudWatch monitors resources.
Q299
A company needs to securely share documents with external partners. Which AWS feature should they use?
AS3 Lifecycle Policies
BIAM Roles
CS3 Pre-signed URLs
DCloudFront Distributions
Explanation
S3 Pre-signed URLs allow secure external document sharing; Lifecycle Policies manage data storage, IAM Roles control permissions, and CloudFront accelerates content delivery.
Q300
What happens when you increase the desired count of an Amazon ECS service?
ANo changes occur immediately
BNew tasks are launched
CRunning tasks are terminated
DService deployments are paused
Explanation
Increasing the desired count launches new tasks to meet the specified count; no immediate changes occur, running tasks aren't terminated, and deployments don’t pause.