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
Start Mock Test Timed · Full-length · Scored

Questions 131–140 of 483

Q131

A company needs to automate its software deployment process across multiple environments. Which AWS tool should they use?

  • A AWS CodePipeline
  • B AWS Lambda
  • C Amazon RDS
  • D AWS CloudTrail
Explanation AWS CodePipeline is specifically designed for automating deployment pipelines, unlike Lambda, RDS, or CloudTrail.
Q132

You are configuring an auto-scaling group. What happens when instances reach their scaling limit?

  • A No new instances are launched
  • B All instances terminate
  • C Health checks are ignored
  • D Traffic is shuffled to instances
Explanation No new instances are launched when the scaling limit is reached, unlike the other options which describe incorrect behaviors.
Q133

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B AWS EC2
  • C Amazon RDS
  • D AWS ECS
Explanation AWS Lambda is a serverless compute service, while others require server management.
Q134

A company needs to secure access to its AWS resources using fine-grained permissions. What should they use?

  • A IAM ROL
  • B Resource Policies
  • C IAM Roles
  • D Security Groups
Explanation IAM Roles allow fine-grained permissions; others do not provide sufficient granularity.
Q135

You are configuring autoscaling for an EC2 instance. What happens if the scaling policy is set too aggressively?

  • A Instances will not scale-up.
  • B Costs will increase significantly.
  • C Only one instance will launch.
  • D System performance will improve immediately.
Explanation Setting an aggressive scaling policy can lead to unnecessary costs due to frequent instance launch and termination.
Q136

What happens when an EC2 instance reaches its CPU credit limit?

  • A It shuts down automatically.
  • B It throttles down CPU performance.
  • C It increases EC2 charges.
  • D It switches instance types.
Explanation The instance will throttle CPU performance when it reaches its CPU credit limit, rather than shutting down or changing types.
Q137

A company needs to ensure its Lambda function has access to the DynamoDB table while following least privilege principles. What should be configured?

  • A Assign a role at the account level.
  • B Create a custom role with policies.
  • C Use IAM user credentials.
  • D Grant access to all IAM roles.
Explanation Creating a custom role with specific policies follows least privilege principles effectively for cross-service access.
Q138

Which service can be used to automatically scale EC2 instances?

  • A Amazon CloudTrail
  • B AWS Lambda
  • C Amazon EC2 Auto Scaling
  • D Amazon EC2 Reservations
Explanation Amazon EC2 Auto Scaling automatically adjusts instance counts based on demand, unlike the other options.
Q139

Which service provides a managed environment for deploying containerized applications?

  • A AWS Elastic Beanstalk
  • B AWS Lambda
  • C Amazon EC2
  • D Amazon RDS
Explanation AWS Elastic Beanstalk simplifies deployment of containerized apps, while the others serve different purposes.
Q140

A company needs to automate testing and deployment of its application using AWS. Which service should they use?

  • A AWS CodeDeploy
  • B AWS CloudFormation
  • C Amazon EC2
  • D AWS CloudTrail
Explanation AWS CodeDeploy automates application deployment and supports testing; the others focus on infrastructure or monitoring.