Inspirational journeys

Follow the stories of academics and their research expeditions

AWS Certified DevOps Engineer - Professional Certification - Part 34

Mary Smith

Tue, 11 Nov 2025

AWS Certified DevOps Engineer - Professional Certification - Part 34

1. You currently have an Auto Scaling group with an Elastic Load Balancer and need to phase out all instances and replace with a new instance type. What are 2 ways in which this can be achieved. Please select:(Select 2answers)

A) Attach an additional Auto Scaling configuration behind the ELB and phase in newer instances while removing older instances.
B) Use News instance to phase out all instances that use the previous configuration.
C) Attach an additional ELB to your Auto Scaling configuration and phase in newer instances while removing older Instances
D) Use Oldest Launch Configuration to phase out all instances that use the previous configuration.



2. You have an Auto Scaling group of Instances that processes messages from an Amazon Simple Queue Service (SQS) queue. The group scales on the size of the queue. Processing Involves calling a third..party web service. The web service Is complaining about the number of failed and repeated calls it is receiving from you. You have noticed that when the group scales in, instances are being terminated while they are processing. What cost-effective solution can you use to reduce the number of incomplete process attempts?

A) Modify the application running on the instances to enable termination protection while it processes a task and disable it when the processing is complete.
B) Increase the minimum and maximum size for the Auto Scaling group. and change the scaling policies so they scale less dynamically.
C) Create a new Auto Scaling group with minimum and maximum of 2 and instances running web proxy software. Configure the VPC route table to route HTTP traffic to these web proxies.
D) Modify the application running on the instances to put itself Into an Auto Scaling Standby state while it processes a task and return itself to InService when the processing is complete.



3. You are using Elastic Beanstalk to manage your e-commerce store. The store is based on an open source ec commerce platform and is deployed across multiple instances In an Auto Scaling group. Your development team often creates new extensions' for the e-commerce store. These extensions include PHP source code as well as an SQL upgrade script used to make any necessary updates to the database schema. You have noticed that some extension deployments fail due to an error when running the SQL upgrade script. After further investigation, you realize that this is because the SQL script is being executed on all of your Amazon EC2 Instances. How would you ensure that the SQL script Is only executed once per deployment regardless of how many Amazon EC2 instances are running at the time?

A) Update the Amazon RDS security group to only allow write access from a single instance in the Auto Scaling group: that way. only one instance will successfully execute the script on the database.
B) Use a SoIo Command within an Elastic Beanstalk configuration file to execute the script. The Elastic Beanstalk service will ensure that the command is only executed once.
C) Use a container command' within an Elastic Beanstalk configuration file to execute the script., ensuring that the leader on flag Is set to true.
D) Make use of the Amazon EC2 metadata service to query whether the instance is marked as the leader' in the Auto Scaling group. Only execute the script if 'true' is returned.



4. You have an application which consists of EC2 instances in an Auto Scaling group. Between a particular time frame every day, there is an increase In traffic to your website. Hence users are complaining of a poor response time on the application. You have configured your Auto Scaling group to deploy one new EC2 instance when Cpu utilization is greater than 60% for 2 consecutive periods of 5 minutes. What is the least cost-effective way to resolve this problem?

A) Decrease the consecutive number of collection periods
B) Decrease the threshold cu utilization percentage at which to deploy a new Instance
C) Decrease the collection period to ten minutes
D) Increase the minimum number of instances in the Auto Scaling group



5. You have a current Cloud formation template defines in AWS. You need to change the current alarm threshold defined in the Cloud watch alarm. How can you achieve this?

A) Currently there is no option to change what is already defined in Cloud formation templates
B) Delete the current cloud formation template. Create a new one which will update the current resources.
C) Update the template and then update the stack with the new template. Automatically all resources will be changed In the stack.
D) Update the template and then update the stack with the new template. Only those resources that need to be changed will be changed. All other resources which do not need to be changed will remain as they are.



1. Right Answer: A,B
Explanation:

2. Right Answer: D
Explanation:

3. Right Answer: C
Explanation:

4. Right Answer: D
Explanation:

5. Right Answer: D
Explanation:

0 Comments

Leave a comment