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.
Which AWS service is best for real-time data processing?
AAmazon Kinesis
BAWS Glue
CAmazon S3
DAWS Batch
Explanation
Amazon Kinesis is designed for real-time data processing, while others are used for data storage or batch processing.
Q2
A company needs to automate scaling of an application based on demand. What should they implement?
AAWS CloudFormation
BAuto Scaling Groups
CElastic Load Balancer
DAWS Lambda
Explanation
Auto Scaling Groups automatically adjust capacity according to demand, unlike the other options which serve different functions.
Q3
You are configuring IAM policies and want to restrict a user's access to only specific resources within a service. What should you do?
AAttach an inline policy
BUse a service role
CCreate a Managed Policy
DGrant administrator access
Explanation
Inline policies allow for specific, resource-level access while the other options are either broader or inappropriate for this need.
Q4
Which AWS service would you use for continuous integration and continuous delivery?
AAWS CodePipeline
BAWS Lambda
CAWS CloudFormation
DAmazon S3
Explanation
AWS CodePipeline is specifically designed for CI/CD workflows, while Lambda supports serverless, and CloudFormation is for infrastructure as code.
Q5
A company needs to directly access objects in S3 via HTTP without using SDKs. What should they implement?
AS3 Select
BPre-signed URLs
CStatic website hosting
DS3 Replication
Explanation
Static website hosting provides direct HTTP access to S3 objects without SDK usage, while pre-signed URLs require temporary access tokens.
Q6
What happens when you terminate an EC2 instance with an EBS-backed root volume?
AVolume is deleted
BVolume is kept
CInstance is paused
DVolume is resized
Explanation
By default, the EBS root volume is deleted upon instance termination unless configured to be retained, contrary to remaining options.
Q7
Which AWS service can automatically scale resources based on demand?
AAmazon EC2 Auto Scaling
BAWS Lambda
CAmazon RDS
DAmazon S3
Explanation
Amazon EC2 Auto Scaling adjusts instance numbers based on need, while the others do not primarily scale resources dynamically.
Q8
A company needs to monitor its AWS infrastructure in real-time and react to specific events automatically. What service should they consider for this requirement?
AAmazon SNS
BAmazon CloudWatch
CAWS CloudTrail
DAWS Config
Explanation
Amazon CloudWatch offers monitoring and event handling, while the other options serve different monitoring or logging purposes.
Q9
You are configuring an IAM policy that includes a deny statement. What will be the effect if the policy is attached to a user that already has an allow policy granting the same permissions?
AAllow permission will take precedence
BUser will be denied those permissions
COnly deny applies to all actions
DIAM policies do not support deny
Explanation
Deny statements in IAM policies always take precedence over allow statements, thus the user will be denied those permissions.
Q10
Which AWS service provides a fully managed message queuing service?
AAmazon SQS
BAWS Lambda
CAmazon RDS
DAWS Direct Connect
Explanation
Amazon SQS is specifically designed for message queuing, while the others serve different purposes.