Amazon AWS
AWS Certified DevOps Engineer – Professional
DOP-C02
Popular
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.
483 questions
0 views
Free
Questions 321–330 of 483
What happens when you delete a CloudFormation stack?
A
Resources remain intact
B
Stack is permanently destroyed
C
Resources are deleted
D
Stack updates are lost
Reveal Answer
Explanation
Deleting a CloudFormation stack results in the deletion of the resources created by it.
Which service provides monitoring and observability for AWS resources?
A
AWS CloudTrail
B
Amazon CloudWatch
C
AWS Config
D
AWS X-Ray
Reveal Answer
Explanation
Amazon CloudWatch is the service that monitors and provides observability for AWS resources while the others serve different functions.
A company wants to deploy microservices with low latency using AWS. Which configuration would be appropriate?
A
EC2 instances in multiple Availability Zones
B
Lambda functions triggered by S3 events
C
Elastic Load Balancer with EC2 Auto Scaling
D
AWS Fargate with Amazon ECS
Reveal Answer
Explanation
AWS Fargate simplifies running containers, making it ideal for low-latency microservices.
What happens when an AWS IAM user is deleted?
A
All policies are deleted too
B
Access keys remain available
C
User sessions are invalidated
D
Shared resources are automatically deleted
Reveal Answer
Explanation
When an IAM user is deleted, all user sessions are invalidated, ensuring immediate revocation of access.
What service allows for serverless execution of code in response to events?
A
AWS Lambda
B
Amazon EC2
C
Amazon ECS
D
Amazon S3
Reveal Answer
Explanation
AWS Lambda is specifically designed for serverless executions. The other services are not designed for event-driven code execution.
A company needs to ensure its application can handle an unexpected traffic spike. Which architectural approach should they consider?
A
Static Scaling
B
Auto Scaling
C
Manual Scaling
D
Elastic Load Balancing
Reveal Answer
Explanation
Auto Scaling automatically adjusts capacity to handle traffic spikes. The other options do not provide dynamic scaling functionality.
You are configuring a new IAM user on AWS. What happens if you assign no permissions?
A
User can access all resources.
B
User can perform any EC2 actions.
C
User has no access to any resources.
D
User can access the AWS Console.
Reveal Answer
Explanation
Without permissions, the user cannot access any AWS resources. The other options imply unintended access capabilities that don't exist.
Which service is best for serverless compute?
A
AWS Lambda
B
EC2
C
ECS
D
RDS
Reveal Answer
Explanation
AWS Lambda allows for running code without provisioning servers, while others require managing infrastructure.
A company needs to synchronize multiple data sources to an Amazon S3 bucket. Which solution is best?
A
AWS DataSync
B
AWS Glue
C
AWS Snowball
D
Amazon Transfer Family
Reveal Answer
Explanation
AWS DataSync is specifically designed for fast, automated data transfers to S3, whereas the others serve different purposes.
What happens when you increase the ASG desired capacity to 0?
A
All instances terminate immediately
B
Instances enter standby state
C
No instances will launch
D
New instances are created
Reveal Answer
Explanation
Setting desired capacity to 0 causes all running instances to be terminated, while the others do not reflect that behavior.