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 331–340 of 483

Q331

What happens when an AWS Lambda function exceeds its timeout setting?

  • A Lambda gracefully finishes running
  • B Lambda execution is terminated immediately
  • C Lambda retries the execution
  • D Lambda logs an error without termination
Explanation AWS Lambda will terminate the execution immediately upon reaching the timeout limit, unlike other options suggesting graceful handling or retries.
Q332

A company needs to ensure comprehensive logging for all actions taken by an IAM user. Which AWS service should they use?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS Config
  • D AWS X-Ray
Explanation AWS CloudTrail records API calls made by IAM users, unlike other services that focus on different monitoring or logging functionalities.
Q333

You are configuring an Amazon S3 bucket to host a static website. What must you do to make bucket contents publicly accessible?

  • A Set the S3 bucket policy
  • B Enable versioning on the bucket
  • C Activate accelerated transfer
  • D Switch to multi-region support
Explanation Setting the S3 bucket policy is necessary to allow public access, whereas the other options do not relate to public accessibility.
Q334

Which service allows for continuous integration and delivery on AWS?

  • A AWS CodePipeline
  • B AWS Lambda
  • C Amazon S3
  • D AWS CloudFormation
Explanation AWS CodePipeline automates CI/CD processes, unlike others.
Q335

A company needs to automatically scale EC2 instances based on demand. Which service should they use?

  • A AWS Auto Scaling
  • B Amazon CloudFront
  • C Elastic Load Balancing
  • D AWS Direct Connect
Explanation AWS Auto Scaling adjusts EC2 instances automatically based on demand.
Q336

What happens when you terminate an EC2 instance with an EBS-backed root volume?

  • A Data is lost, volume deleted
  • B Data is retained, volume snapped
  • C Data is retained, volume deleted
  • D Data is burned, instance recreated
Explanation EBS-backed volumes can retain data even after termination, if deleted on termination is not set.
Q337

Which AWS service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B AWS EC2
  • C AWS Fargate
  • D AWS ECS
Explanation AWS Lambda enables serverless execution, unlike EC2 or ECS which require server management.
Q338

A company needs to ensure data integrity during storage and transmission. Which service should they leverage?

  • A AWS CloudTrail
  • B AWS KMS
  • C AWS IAM
  • D AWS S3
Explanation AWS KMS provides encryption for data integrity, which CloudTrail and IAM do not focus on directly.
Q339

You are configuring an Auto Scaling Group. What happens if the desired capacity is set below the minimum capacity during a scale-in event?

  • A Auto Scaling ignores the desired capacity
  • B Instances terminate until minimum is reached
  • C Desired capacity is ignored
  • D Instances remain untouched
Explanation Auto Scaling will not reduce instances below the minimum setting, thereby ignoring lower desired capacities during scale-in.
Q340

Which service automatically scales AWS EC2 instances?

  • A Auto Scaling
  • B CloudFront
  • C Elastic Load Balancing
  • D Route 53
Explanation Auto Scaling automatically adjusts the number of EC2 instances. CloudFront and Route 53 handle content delivery and DNS respectively, not scaling.