ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 326 - SOA-C02 discussion

Report
Export

A SysOps administrator is preparing to deploy an application to Amazon EC2 instances that are in an Auto Scaling group. The application requires dependencies to be installed. Application updates are Issued weekly.

The SysOps administrator needs to implement a solution to incorporate the application updates on a regular basis. The solution also must conduct a vulnerability scan during Amazon Machine Image (AMI) creation.

What is the MOST operationally efficient solution that meets these requirements?

A.
Create a script that uses Packer. Schedule a cron job to run the script.
Answers
A.
Create a script that uses Packer. Schedule a cron job to run the script.
B.
Install the application and its dependencies on an EC2 instance. Create an AMI of the H2 instance.
Answers
B.
Install the application and its dependencies on an EC2 instance. Create an AMI of the H2 instance.
C.
Use EC2 Image Builder with a custom recipe to install the application and its dependencies.
Answers
C.
Use EC2 Image Builder with a custom recipe to install the application and its dependencies.
D.
Invoke the EC2 Createlmage API operation by using an Amazon EventBridge scheduled rule.
Answers
D.
Invoke the EC2 Createlmage API operation by using an Amazon EventBridge scheduled rule.
Suggested answer: C

Explanation:

To efficiently manage application deployments and updates on Amazon EC2 instances within an Auto Scaling group, along with ensuring security through vulnerability scans:

EC2 Image Builder: This AWS service automates the creation, management, and deployment of customized, secure, and up-to-date 'golden' server images. By using EC2 Image Builder, you can automate the installation of software, patches, and security configurations.

Custom Recipes: Define a custom recipe in EC2 Image Builder that includes steps to install the application and its dependencies. Additionally, configure the recipe to perform vulnerability scans as part of the image creation process.

Automated Pipeline: Set up an Image Builder pipeline that triggers on a regular schedule (e.g., weekly) to incorporate the latest application updates and security patches into the AMI. The new AMIs can then be automatically used by the Auto Scaling group to launch updated and secure instances.

This solution not only streamlines the management of application deployments and updates but also ensures that all instances launched by the Auto Scaling group meet the latest security and compliance standards, minimizing operational overhead and enhancing security.

asked 16/09/2024
Dereque Datson
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first