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 121–130 of 483

Q121

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon ECS
  • D AWS Batch
Explanation AWS Lambda enables serverless code execution; others require server management.
Q122

A company needs to monitor their AWS resources activity and logs. Which service is the best choice?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS Config
  • D AWS CloudFormation
Explanation AWS CloudTrail specifically records and monitors API calls, while the others serve different functions.
Q123

You are configuring an application with multiple AWS services. What is the benefit of using Amazon EventBridge?

  • A Real-time processing of streaming data
  • B Invoking Lambda functions directly
  • C Decoupling microservices communications
  • D Creating CloudFormation templates
Explanation EventBridge helps integrate and decouple microservices, enhancing scalability; others are less relevant to this context.
Q124

Which service allows automated infrastructure provisioning in AWS?

  • A CloudFormation
  • B EC2
  • C Elastic Beanstalk
  • D S3
Explanation CloudFormation automates provisioning and management of AWS resources, while the others serve different purposes.
Q125

A company needs to move large data sets to AWS with minimal downtime. Which AWS service should they choose?

  • A AWS Snowball
  • B Direct Connect
  • C S3 Transfer Acceleration
  • D AWS DataSync
Explanation AWS Snowball is designed for large data transfers with minimal downtime, unlike the others that focus on ongoing transfers or connectivity.
Q126

You are configuring an IAM policy to restrict access. What happens if you attach a deny policy to a user?

  • A Access granted for all actions
  • B Access denied for all actions
  • C Access continues as usual
  • D Only specific actions denied
Explanation Deny policies in IAM override any allow policies, blocking all specified actions.
Q127

Which AWS service is best suited for continuous integration and continuous delivery (CI/CD)?

  • A AWS CodePipeline
  • B AWS Lambda
  • C Amazon S3
  • D Amazon EC2
Explanation AWS CodePipeline manages CI/CD processes, while others serve different purposes.
Q128

A company needs to restrict access to specific S3 buckets based on IAM roles. Which feature should they use?

  • A Bucket Policies
  • B S3 Events
  • C CloudTrail
  • D Lifecycle Policies
Explanation Bucket Policies allow fine-grained control over access, unlike the other options.
Q129

What happens when an Auto Scaling group is configured with a scaling policy after reaching maximum instance limits?

  • A New instances are launched.
  • B Scaling stops temporarily.
  • C Traffic is redirected.
  • D Profiles are adjusted.
Explanation No new instances can be launched if the maximum limit is reached.
Q130

Which AWS service can be used for automating the deployment of infrastructure?

  • A AWS CloudFormation
  • B AWS EC2
  • C AWS IAM
  • D AWS S3
Explanation AWS CloudFormation automates infrastructure deployment, while EC2, IAM, and S3 serve different purposes.