DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Free AWS DVA-C02 Practice Exam & Questions and Answers

Prepare for the AWS DevOps Engineer certification exam using this free DVA-C02 practice test. Includes AWS exam questions and answers to help you study. Download this free set of AWS DVA-C02 practice questions to prepare for the DevOps Engineer exam. Study with actual DVA-C02 exam questions and answers.

Take other online exams

Question #1
A developer is creating a Ruby application and needs to automate the deployment, scaling, and management of an environment without requiring knowledge of the underlying infrastructure. Which service would best accomplish this task?
A. WS CodeDeploy
B. WS CloudFormation
C. WS OpsWorks
D. WS Elastic Beanstalk
View answer
Correct Answer: D
Question #2
A company is updating an application to move the backend of the application from Amazon EC2 instances to a serverless model. The application uses an Amazon RDS for MySQL DB instance and runs in a single VPC on AWS. The application and the DB instance are deployed in a private subnet in the VPC. The company needs to connect AWS Lambda functions to the DB instance. Which solution will meet these requirements?
A. reate Lambda functions inside the VPC with the AWSLambdaBasicExecutionRole policy attached to the Lambda execution role
B. reate Lambda functions inside the VPC with the AWSLambdaVPCAccessExecutionRole policy attached to the Lambda execution role
C. reate Lambda functions with the AWSLambdaBasicExecutionRole policy attached to the Lambda execution role
D. reate Lambda functions with the AWSLambdaPCAccessExecutionRole policy attached to the Lambda execution role
View answer
Correct Answer: B
Question #3
A company is building a web application on AWS. When a customer sends a request, the application will generate reports and then make the reports available to the customer within one hour. Reports should be accessible to the customer for 8 hours. Some reports are larger than 1 MB. Each report is unique to the customer. The application should delete all reports that are older than 2 days. Which solution will meet these requirements with the LEAST operational overhead?
A. enerate the reports and then store the reports as Amazon DynamoDB items that have a specified TTL
B. enerate the reports and then store the reports in an Amazon S3 bucket that uses server-side encryption
C. enerate the reports and then store the reports in an Amazon S3 bucket that uses server-side encryption
D. enerate the reports and then store the reports in an Amazon RDS database with a date stamp
View answer
Correct Answer: C
Question #4
A developer is working on an ecommerce website. The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available. How can the developer update the application to meet these requirements with MINIMUM changes?
A. ewrite the application to be cloud native and to run on AWS Lambda, where the logs can be reviewed in Amazon CloudWatch
B. et up centralized logging by using Amazon OpenSearch Service, Logstash, and OpenSearch Dashboards
C. cale down the application to one larger EC2 instance where only one instance is recording logs
D. nstall the unified Amazon CloudWatch agent on the EC2 instances
View answer
Correct Answer: D
Question #5
An application under development is required to store hundreds of video files. The data must be encrypted within the application prior to storage, with a unique key for each video file. How should the developer code the application?
A. se the KMS Encrypt API to encrypt the data
B. se a cryptography library to generate an encryption key for the application
C. se the KMS GenerateDataKey API to get a data key
D. pload the data to an S3 bucket using server side-encryption with an AWS KMS key
View answer
Correct Answer: C
Question #6
An ecommerce website uses an AWS Lambda function and an Amazon RDS for MySQL database for an order fulfillment service. The service needs to return order confirmation immediately. During a marketing campaign that caused an increase in the number of orders, the website's operations team noticed errors for "too many connections" from Amazon RDS. However, the RDS DB cluster metrics are healthy, CPU and memory capacity are still available. What should a developer do to resolve the errors?
A. nitialize the database connection outside the handler function
B. nitialize the database connection outside the handler function
C. se Amazon Simple Queue Service (Amazon SQS) FIFO queues to queue the orders
D. se Amazon Simple Queue Service (Amazon SQS) FIFO queues to queue the orders
View answer
Correct Answer: B
Question #7
A company's new mobile app uses Amazon API Gateway. As the development team completes a new release of its APIs, a developer must safely and transparently roll out the API change. What is the SIMPLEST solution for the developer to use for rolling out the new API version to a limited number of users through API Gateway?
A. reate a new API in API Gateway
B. alidate the new API version and promote it to production during the window of lowest expected utilization
C. mplement an Amazon CloudWatch alarm to trigger a rollback if the observed HTTP 500 status code rate exceeds a predetermined threshold
D. se the canary release deployment option in API Gateway
View answer
Correct Answer: D
Question #8
A team is developing an application that is deployed on Amazon EC2 instances. During testing, the team receives an error. The EC2 instances are unable to access an Amazon S3 bucket. Which steps should the team take to troubleshoot this issue? (Select TWO.)
A. heck whether the policy that is assigned to the IAM role that is attached to the EC2 instances grants access to Amazon S3
B. heck the S3 bucket policy to validate the access permissions for the S3 bucket
C. heck whether the policy that is assigned to the IAM user that is attached to the EC2 instances grants access to Amazon S3
D. heck the S3 Lifecycle policy to validate the permissions that are assigned to the S3 bucket
E. heck the security groups that are assigned to the EC2 instances
View answer
Correct Answer: AB
Question #9
A company receives food orders from multiple partners. The company has a microservices application that uses Amazon API Gateway APIs with AWS Lambda integration. Each partner sends orders by calling a customized API that is exposed through API Gateway. The API call invokes a shared Lambda function to process the orders. Partners need to be notified after the Lambda function processes the orders. Each partner must receive updates for only the partner's own orders. The company wants to add new partners in the future with the fewest code changes possible. Which solution will meet these requirements in the MOST scalable way?
A. reate a different Amazon Simple Notification Service (Amazon SNS) topic for each partner
B. reate a different Lambda function for each partner
C. reate an Amazon Simple Notification Service (Amazon SNS) topic
D. reate one Amazon Simple Notification Service (Amazon SNS) topic
View answer
Correct Answer: C
Question #10
A developer is leveraging a Border Gateway Protocol (BGP)-based As VPN connection to connect from on- premises to Amazon EC2 instances in the developer's account. The developer is able to access an EC2 instance in subnet A, but is unable to access an EC2 instance in subnet B in the same VPC. Which logs can the developer use to verify whether the traffic is reaching subnet B?
A. PN logs
B. GP logs
C. PC Flow Logs
D. WS CloudTrail logs
View answer
Correct Answer: C

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: