Inspirational journeys

Follow the stories of academics and their research expeditions

AWS Certified DevOps Engineer - Professional Certification - Part 40

Mary Smith

Mon, 15 Sep 2025

AWS Certified DevOps Engineer - Professional Certification - Part 40

1. You have a requirement to automate the creation of EBS Snapshots. Which of the following can be used to achieve this In the best way possible.

A) Create a power shell script which uses the AWS(Amazon Web Service) CLI to get the volumes and then run the script as a cronjob
B) Use the AWS(Amazon Web Service) Code Deploy service to create a snapshot of the AWS(Amazon Web Service) Volumes
C) Use Cloud watch Events to trigger the snapshots of EBS Volumes
D) Use the AWS(Amazon Web Service) Config service to create a snapshot of the AWS(Amazon Web Service) Volumes



2. Your company has the requirement to set up instances running as part of an Auto scaling Group. Part of the requirement is to use Lifecycle hooks to setup custom based software's and do the necessary configuration on the Instances. The time required for this setup might take an hour, or might finish before the hour Is up. How should you setup lifecycle hooks for the Auto scaling Group. Choose 2 ideal actions you would include as part of the lifecycle hook.(Select 2answers)

A) If the software installation and configuration is complete. then send a signal to complete the launch of the instance.
B) If the software installation and configuration is complete . then restart the time period.
C) Configure the lifecycle hook to record heartbeats. If the hour Is up, restart the timeout period.
D) Configure the lifecycle hook to record heartbeats. If the hour is up. choose to terminate the current instar and start a new one



3. You have a large number of web servers in an Auto Scaling group behind a load balancer. On an hourly basis, you want to filter and process the logs to collect data on unique visitors, and then put that data In a durable data store in order to run reports. Web servers in the Auto Scaling group are constantly launching and terminating based on your scaling policies, but you do not want to lose any of the log data from these servers during a stop/termination initiated by a user or by Auto Scaling. What two approaches will meet these requirements? Choose two answers from the options given below?(Select 2answers)

A) On the web servers, create a scheduled task that executes a script to rotate and transmit the logs to an Amazon 53 bucket. Ensure that the operating system shutdown procedure triggers a logs transmission when the Amazon EC2 instance is stopped/terminated. Use AWS(Amazon Web Service) Data Pipeline to move log data from the Amazon S3 bucket to Amazon Red shift in order to process and run reports every hour.
B) Install an Amazon Cloud watch Logs Agent on every web server during the bootstrap process. Create a Cloud Watch log group and define Metric Filters to create custom metrics that track unique visitors from the streaming web server logs. Create a scheduled task on an Amazon EC2 instance that runs every hour to generate a new report based on the Cloud watch custom metrics.
C) On the web servers, create a scheduled task that executes a script to rotate and transmit the logs to Amazon Glacier. Ensure that the operating system shutdown procedure triggers a logs transmission when the Amazon EC2 instance is stopped/terminated. Use Amazon Data Pipeline to process the data In Amazon Glacier and run reports every hour.
D) Install an AWS(Amazon Web Service) Data Pipeline Logs Agent on every web server during the bootstrap process. Create a log group object In AWS(Amazon Web Service) Data Pipeline, and define Metric Filters to move processed log data directly from the web servers to Amazon Red shift and run reports every hour. Your answer is incorrect.



4. You have an Auto scaling Group configured to launch EC2 Instances for your application. But you notice that the Auto scaling Group is not launching instances in the right proportion. In fact Instances are being launched too fast. What can you do to mitigate this issue? Choose 2 answers from the options given below Please select:(Select 2answers)

A) Adjust the Memory threshold set for the Auto scaling scale-in and scale-out process.
B) Adjust the cool down period set for the Auto scaling Group
C) Set a custom metric which monitors a key application functionality for the scale-in and scale-out process.
D) Adjust the CPU threshold set for the Auto scaling scale-in and scale-out process.



5. Your security officer has told you that you need to tighten up the logging of all events that occur on your AWS(Amazon Web Service) account. He wants to be able to access all events that occur on the account across all regions quickly and in the simplest way possible. He also wants to make sure he is the only person that has access to these events in the most secure way possible. Which of the following would be the best solution to assure his requirements are met? Choose the correct answer from the options below ?

A) Use Cloud Trail to send all API calls to Cloud Watch and send an email to the security officer every time an API call is made. Make sure the emails are encrypted.
B) Use Cloud Trail to log all events to one 53 bucket. Make this S3 bucket only accessible by your security office with a bucket policy that restricts access to his user only and also add MFA to the policy for a further level of security.
C) Use Cloud Trail to log all events to an Amazon Glacier Vault. Make sure the vault access policy only grants access to the security officer's lP address.
D) Use to log all events to a separate 53 bucket in each region as Cloud Trail cannot write to a bucket in a different region. Use MFA and bucket policies on all the different buckets.



1. Right Answer: C
Explanation:

2. Right Answer: A,C
Explanation:

3. Right Answer: A,B
Explanation:

4. Right Answer: B,C
Explanation:

5. Right Answer: B
Explanation:

0 Comments

Leave a comment