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.
A company needs to deploy containers and manage their scaling and availability. Which AWS service should they use?
AAWS Elastic Beanstalk
BAmazon EC2
CAmazon EKS
DAWS Lambda
Explanation
Amazon EKS is focused on Kubernetes workloads, while the others may not manage container scaling and orchestration as effectively.
Q12
What happens when an IAM user tries to access a resource they do not have permissions for?
AAccess is granted by default
BAccess is denied
CAccess is logged
DUser is notified via email
Explanation
IAM follows a deny-by-default security model, so access is denied unless expressly permitted.
Q13
Which AWS service is used for continuous integration and continuous delivery (CI/CD)?
AAWS CodePipeline
BAWS Batch
CAWS Glue
DAWS EC2
Explanation
AWS CodePipeline is specifically designed for CI/CD workflows, while the others serve different purposes.
Q14
A company needs to automate the deployment of its applications across multiple AWS accounts. Which service should it use?
AAWS OpsWorks
BAWS Organizations
CAWS CloudFormation
DAWS Config
Explanation
AWS CloudFormation allows you to automate deployments across multiple accounts using templates, while others do not support this functionality.
Q15
You are configuring a target group for an Application Load Balancer. What happens if you add an instance in an unhealthy state to the target group?
ATraffic will be redirected to it.
BIt automatically becomes healthy.
CIt will not receive traffic.
DIt triggers a health check failure.
Explanation
Instances in an unhealthy state do not receive traffic until their health improves, while other options misrepresent ALB behavior.
Q16
Which service allows for automated infrastructure provisioning in AWS?
AAWS CloudFormation
BAWS Lambda
CAmazon EC2
DAmazon S3
Explanation
AWS CloudFormation is designed for automated infrastructure provisioning, while the others serve different purposes.
Q17
A company needs to manage incoming application traffic effectively. Which service should they use?
AAWS Elastic Load Balancing
BAmazon CloudFront
CAWS Direct Connect
DAWS AppSync
Explanation
AWS Elastic Load Balancing manages application traffic, while the others serve different networking purposes.
Q18
You are configuring IAM policies. What happens when a policy denies a specific action?
AAction is always blocked.
BAction is allowed if another policy permits.
CAction is allowed against all principals.
DAction will be logged only.
Explanation
An explicit deny in IAM policies overrides any allows, while the other options incorrectly depict IAM behavior.
Q19
Which service allows you to automate AWS resource deployments?
AAWS CloudFormation
BAWS Service Catalog
CAWS Config
DAWS CloudTrail
Explanation
AWS CloudFormation enables automated and repeatable infrastructure deployments, while others focus on governance or monitoring.
Q20
A company needs to improve CI/CD pipeline security. What should they implement to control access to pipelines?
AAWS IAM Roles
BAWS WAF
CAWS CloudWatch
DAWS CodeCommit
Explanation
AWS IAM Roles are specifically designed to manage secure access, while others do not directly manage access controls.