Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

Practice Test + eBook Bundle Sale - Buy our Practice Test and get the supplementary eBook at 50% OFF

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional e-commerce platform(dynamic web) using s3 hosting?

  • e-commerce platform(dynamic web) using s3 hosting?

  • KitKwok12

    Member
    November 30, 2023 at 10:15 am

    Category: CSAP – Accelerate Workload Migration and Modernization

    A company recently launched its new e-commerce platform that is hosted on its on-premises data center. The webservers connect to a MySQL database. The e-commerce platform is quickly gaining popularity and the management is worried that the on-premises servers won’t be able to keep up with user traffic in the coming months. They decided to migrate the entire application to AWS to take advantage of the scalability of the cloud. The following are required for this migration:

    – Improve the security of the application.

    – Increase the reliability and availability of the application.

    – Reduce the latency between the users and the application.

    – Reduce the maintenance overhead after the migration to the cloud.

    Which of the following options should the Solutions Architect implement to meet the company’s requirements? (Select TWO.)

    one of the correct ans -> Create an Amazon S3 bucket to store the static contents and enable website hosting. To reduce the latency when serving content, set this bucket as the origin for an Amazon CloudFront distribution. Create AWS WAF rules to block common web exploits.

    For the e-commerce platform, it’s including login, database crud, payment logic, how is possible to host e-commerce platform on s3? Case

    Pls correct me if I getting wrong idea.

    FYI : https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html

  • ccatchings

    Member
    December 10, 2023 at 5:43 pm

    The answer says to store only static content on S3 and enable website hosting so the web site (that the EC2 web server serves) can retrieve that static content from CloudFront -> S3. Login/database CRUD/payment logic will be handled on web server in EC2 (though I would use verbiage other than “web server” for a question like this as web server IMO implies serving web content, not executing application logic). Regardless the 2nd answer to this question addresses the application logic:

    Create an Auto Scaling of Amazon EC2 instances spread in two
    Availability Zones to host the web servers. Use an Amazon Aurora for
    MySQL with Multi-AZ enabled as the database.

  • Carlo-TutorialsDojo

    Administrator
    December 12, 2023 at 6:02 pm

    Hello KitKwok12,

    Thanks for your feedback.

    There are actually two answers to this question.

    The correct answer that suggests ‘storing static contents in Amazon S3’ does not imply moving the entire application stack to S3. What it does is offload the requests that the application server would otherwise have processed. Instead, static assets, such as images, fonts are loaded from CloudFront. This will result in a reduced latency between the users and application.

    The other correct answer is what truly increases the reliability and availability of the application server: Create an Auto Scaling of Amazon EC2 instances spread in two Availability Zones to host the web servers. Use an Amazon Aurora for MySQL with Multi-AZ enabled as the database.

    Let me know if this helps

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now