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 securely store secrets for their application. Which service should they use?
AAmazon S3
BAWS Secrets Manager
CAWS Config
DAmazon CloudWatch
Explanation
AWS Secrets Manager is designed for storing and managing secrets securely, unlike S3 which is for object storage.
Q72
What happens when an Auto Scaling group scales down the number of EC2 instances?
AEC2 instances are terminated randomly.
BInstances with highest load are kept.
COldest instances are usually terminated.
DAll instances are paused, not terminated.
Explanation
Auto Scaling typically terminates the oldest instances when scaling down to manage cost and resource efficiency.
Q73
Which service helps manage Kubernetes clusters on AWS?
AAmazon EKS
BAmazon ECS
CAWS Lambda
DAWS Fargate
Explanation
Amazon EKS is specifically designed to manage Kubernetes clusters, while the others do not provide this specific functionality.
Q74
A company needs to securely store sensitive data. Which service should they primarily use?
AAmazon S3
BAWS RDS
CAWS Secrets Manager
DAWS Lambda
Explanation
AWS Secrets Manager is designed to securely store sensitive information, while the others are not primarily intended for this purpose.
Q75
What happens when you remove an IAM user's permissions but their access key remains active?
AUser can still access resources
BUser access is immediately revoked
CUser's access key is deleted
DUser access key becomes inactive
Explanation
The IAM user can still access resources with an active access key, despite the revocation of permissions.
Q76
Which service allows you to automate AWS resource provisioning?
AAWS CloudFormation
BAWS Lambda
CAWS Elastic Beanstalk
DAWS CodeDeploy
Explanation
AWS CloudFormation provides a solution for automating resource provisioning that is Infrastructure as Code; others do not primarily focus on provisioning resources.
Q77
A company needs to perform canary deployments while minimizing downtime. Which service should they use?
AAWS CodePipeline
BAWS Elastic Load Balancing
CAWS CloudFront
DAWS CodeDeploy
Explanation
AWS CodeDeploy specifically supports canary deployments, while others focus on different functionalities.
Q78
You are configuring your IAM policies for an organization. What happens if a user has conflicting permissions?
AAllow permission will always take precedence
BDeny permission will always take precedence
CConflicting permissions cause an error
DThe user will be explicitly denied
Explanation
In IAM, explicit deny permissions override allow permissions, ensuring security; the wrong options misinterpret IAM policies' behavior.
Q79
Which AWS service is best for orchestrating microservices?
AAWS Elastic Beanstalk
BAWS Lambda
CAmazon ECS
DAWS CloudFormation
Explanation
Amazon ECS is specifically designed for microservices orchestration, while the others serve different purposes.
Q80
A company needs to automate deployments using CloudFormation. What must they use in their templates?
ASPOT Instances
BResource policies
CChanging styles
DAWS resources
Explanation
AWS resources must be defined in CloudFormation templates for automation.