Free AWS DevOps Engineer Professional Exam Braindumps
AWS DevOps Engineer - Professional (DOP-C02) Questions 46–50 (page: 11)

Updated On: 10-Feb-2026

A DevOps Engineer manages a large commercial website that runs on Amazon EC2. The website uses Amazon Kinesis Data Streams to collect and process web logs. The DevOps Engineer manages the Kinesis consumer application, which also runs on Amazon EC2. Sudden increases of data cause the Kinesis consumer application to fall behind, and the Kinesis data streams drop records before the records can be processed.
The DevOps Engineer must implement a solution to improve stream handling.
Which solution meets these requirements with the MOST operational e ciency?

  1. Modify the Kinesis consumer application to store the logs durably in Amazon S3. Use Amazon EMR to process the data directly on Amazon S3 to derive customer insights. Store the results in Amazon S3.
  2. Horizontally scale the Kinesis consumer application by adding more EC2 instances based on the Amazon CloudWatch GetRecords.IteratorAgeMilliseconds metric. Increase the retention period of the Kinesis Data Streams.
  3. Convert the Kinesis consumer application to run as an AWS Lambda function. Con gure the Kinesis Data Streams as the event source for the Lambda function to process the data streams.
  4. Increase the number of shards in the Kinesis Data Streams to increase the overall throughput so that the consumer application processes data faster.

Answer(s): B



A company uses AWS Organizations to manage multiple accounts. Information security policies require that all unencrypted Amazon EBS volumes be marked as non-compliant. A DevOps engineer needs to automatically deploy the solution and ensure that this compliance check is always present.
With solution will accomplish this?

  1. Create an AWS CloudFormation template that de nes an AWS Inspector rule to check whether EBS encryption is enabled. Save the template to an Amazon S3 bucket that has been shared with all accounts within the company. Update the account creation script pointing to the CloudFormation template in Amazon S3.
  2. Create an AWS Con g organizational rule to check whether EBS encryption is enabled and deploy the rule using the AWS CLI. Create and apply an SCP to prohibit stopping and deleting AWS Con g across the organization.
  3. Create an SCP in Organizations. Set the policy to prevent the launch of Amazon EC2 instances without encryption on the EBS volumes using a conditional expression. Apply the SCP to all AWS accounts. Use Amazon Athena to analyze the AWS CloudTrail output, looking for events that deny an ec2:RunInstances action.
  4. Deploy an IAM role to all accounts from a single trusted account. Build a pipeline with AWS CodePipeline with a stage in AWS Lambda to assume the IAM role, and list all EBS volumes in the account. Publish a report to Amazon S3.

Answer(s): B



A company develops and maintains a web application using Amazon EC2 instances and an Amazon RDS for SQL Server DB instance in a single Availability
Zone. The resources need to run only when new deployments are being tested using AWS CodePipeline. Testing occurs one or more times a week and each test takes 2-3 hours to run. A DevOps engineer wants a solution that does not change the architecture components. Which solution will meet these requirements in the MOST cost-effective manner?

  1. Convert the RDS database to an Amazon Aurora Serverless database. Use an AWS Lambda function to start and stop the EC2 instances before and after tests.
  2. Put the EC2 instances into an Auto Scaling group. Schedule scaling to run at the start of the deployment tests.
  3. Replace the EC2 instances with EC2 Spot Instances and the RDS database with an RDS Reserved Instance.
  4. Subscribe Amazon CloudWatch Events to CodePipeline to trigger AWS Systems Manager Automation documents that start and stop all EC2 and RDS instances before and after deployment tests.

Answer(s): D


Reference:

https://docs.amazonaws.cn/en_us/elasticbeanstalk/latest/dg/using-features.managing.as.html? lter- select=AWS%20Management%20Console



The Development team has grown substantially in recent months and so has the number of projects that use separate code repositories. The current process involves con guring AWS CodePipeline manually. There have been service limit alerts regarding the number of Amazon S3 buckets that exist.
Which pipeline option will reduce S3 bucket sprawl alerts?

  1. Combine the multiple separate code repositories into a single one, and deploy using an AWS CodePipeline that has logic for each project.
  2. Create new pipelines by using the AWS API or AWS CLI, and con gure them to use a single S3 bucket with separate pre xes for each project.
  3. Create a new pipeline in a different region for each project to bypass the service limits for S3 buckets in a single region.
  4. Create a new pipeline and S3 bucket for each project by using the AWS API or AWS CLI to bypass the service limits for S3 buckets in a single account.

Answer(s): D



A company runs several applications across multiple AWS accounts in an organization in AWS Organizations. Some of the resources are not tagged properly and the company's nance team cannot determine which costs are associated with which applications. A DevOps engineer must remediate this issue and prevent this issue from happening in the future.
Which combination of actions should the DevOps engineer take to meet these requirements? (Choose two.)

  1. Activate the user-de ned cost allocation tags in each AWS account.
  2. Create and attach an SCP that requires a speci c tag.
  3. De ne each line of business (LOB) in AWS Budgets. Assign the required tag to each resource.
  4. Scan all accounts with Tag Editor. Assign the required tag to each resource.
  5. Use the budget report to nd untagged resources. Assign the required tag to each resource.

Answer(s): B,D



Viewing page 11 of 43
Viewing questions 51 - 55 out of 429 questions


Post your Comments and Discuss Amazon AWS DevOps Engineer Professional exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!