Inspirational journeys

Follow the stories of academics and their research expeditions

AWS Certified DevOps Engineer - Professional Certification - Part 20

Mary Smith

Tue, 18 Nov 2025

AWS Certified DevOps Engineer - Professional Certification - Part 20

1. When thinking of AWS(Amazon Web Service) Elastic Beanstalk?s model, which is true?

A) Applications have many environments, environments have many deployments.
B) Environments have many applications, applications have many deployments
C) Deployments have many environments, environments have many applications.
D) Applications have many deployments, deployments have many environments.



2. Your company wants to understand where cost is coming from in the company's production AWS(Amazon Web Service) account. There are a number of applications and services running at any given time. Without expending too much initial development time, how best can you give the business a good understanding of which applications cost the most per month to operate?

A) Use AWS(Amazon Web Service) Cost Allocation Tagging for all resources which support it. Use the Cost Explorer to analyze costs throughout the month.
B) Use custom Cloud Watch Metrics in your system, and put a metric data point whenever cost is incurred.
C) Use the AWS(Amazon Web Service) Price API and constantly running resource inventory scripts to calculate total price based on multiplication of consumed resources over time.
D) Create an automation script which periodically creates AWS(Amazon Web Service) Support tickets requesting detailed intra-month information about your bill.



3. Your company releases new features with high frequency while demanding high application availability. As part of the application's A/B testing, logs from each updated Amazon EC2 instance of the application need to be analyzed In near real-time, to ensure that the application Is working flawlessly after each deployment. If the logs show any anomalous behavior, then the application version of the instance is changed to a more stable one. Which of the below methods should you use for shipping and analyzing the logs in a highly available manner?

A) Ship the logs to Amazon 53 for durability and use Amazon EMR to analyze the logs in a batch manner eaci hour.
B) Ship the logs to Amazon Cloud Watch Logs and use Amazon EMR to analyze the logs in a batch manner each hour.
C) Ship the logs to an Amazon Kinesis stream and have the consumers analyze the logs in a live manner.
D) Ship the logs to a large Amazon EC2 instance and analyze the logs in a live manner



4. There is a requirement to monitor API calls against your AWS(Amazon Web Service) account by different users and entities. There needs to be a history of those calls. The history of those calls are needed In in bulk for later review. Which 2 services can be used In this scenario ?

A) AWS Contig AWS(Amazon Web Service) Inspector
B) AWS Cloud Trail; AWS(Amazon Web Service) Config
C) AWS Cloud Trail; Cloud Watch Events
D) AWS Config AWS(Amazon Web Service) Lambda



5. You need to deploy a new application version to production. Because the deployment is high-risk, you need to roll the new version out to users over a number of hours, to make sure everything is working correctly. You need to be able to control the proportion of users seeing the new version of the application down to the percentage point. You use ELB and EC2 with Auto Scaling Groups and custom AMls with your code prei nstalled assigned to Launch Configurations. There are no database-level changes during your deployment. You have been told you cannot spend too much money, so you must not increase the number of EC2 instances much at all during the deployment, but you also need to be,. able to switch back to the original version of code quickly if something goes wrong. What is the best way to/ meet these requirements?

A) Use the Blue-Green deployment method to enable the fastest possible rollback if needed. Create a full second stack of instances and cut the DNS over to the new stack of instances, and change the DNS back If a rollback is needed.
B) Create a second ELB. Auto Scaling Launch Configuration, and Auto Scaling Group using the Launch Configuration. Create AMI5 with all code pre-installed. Assign the new AMI to the second Auto Scaling Launch Configuration. Use Route53 Weighted Round Robin Records to adjust the proportion of traffic hitting the two ELB5.
C) Migrate to use AWS(Amazon Web Service) Elastic Beanstalk. Use the established and well-tested Rolling Deployment setting AWS(Amazon Web Service) provides on the new Application Environment, publishing a zip bundle of the new code and adjusting the wait period to spread the deployment over time. Re-deploy the old code bundle to rollback if needed.
D) Create AMI5 with all code pre-installed. Assign the new AMI to the Auto Scaling Launch Configuration, to replace the old one. Gradually terminate Instances running the old code (launched with the old Launch Configuration) and allow the new AMIs to boot to adjust the traffic balance to the new code. On rollback, reverse the process by doing the same thing. but changing the AMI on the Launch Config back to the original code.



1. Right Answer: A
Explanation:

2. Right Answer: A
Explanation:

3. Right Answer: C
Explanation:

4. Right Answer: C
Explanation:

5. Right Answer: B
Explanation:

0 Comments

Leave a comment