Content Management System (CMS) on EC2

0

Hi AWS, there is a question:

A company runs a website that uses a content management system (CMS) on Amazon EC2. The CMS runs on a single EC2 instance and uses an Amazon Aurora MySQL Multi-AZ DB instance for the data tier. Website images are stored on an Amazon Elastic Block Store (Amazon EBS) volume that is mounted inside the EC2 instance.

Which combination of actions should a solutions architect take to improve the performance and resilience of the website? (Choose two.)

  1. Move the website images into an Amazon S3 bucket that is mounted on every EC2 instance
  2. Share the website images by using an NFS share from the primary EC2 instance. Mount this share on the other EC2 instances.
  3. Move the website images onto an Amazon Elastic File System (Amazon EFS) file system that is mounted on every EC2 instance.
  4. Create an Amazon Machine Image (AMI) from the existing EC2 instance. Use the AMI to provision new instances behind an Application Load Balancer as part of an Auto Scaling group. Configure the Auto Scaling group to maintain a minimum of two instances. Configure an accelerator in AWS Global Accelerator for the website
  5. Create an Amazon Machine Image (AMI) from the existing EC2 instance. Use the AMI to provision new instances behind an Application Load Balancer as part of an Auto Scaling group. Configure the Auto Scaling group to maintain a minimum of two instances. Configure an Amazon CloudFront distribution for the website.

AFAIK, the answer should be option AE as S3 is the best option when it comes to store static images and CloudFront Distribution with Load Balancer as Origin is one of the most used patterns, however the answer as per the platform from where I was giving the mock test is DE whereas per the community vote distribution 71% goes for CE and 29% goes for AE.

Please guide.

1 Answer
1
Accepted Answer

here are the analysis of the answers :

1- Wrong : you cannot mount S3 on EC2

2- Wrong : bad choice

3 - Right : by using EFS you decouple storage from compute, it is HA and no need to copy data.

4- Wrong : Global acceleration is not going to help in this scenario

5- Right : Considering static images, CF is the right choice. With ELB you will gain HA.

AWS
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions