Q35 — AWS SAA-C03 Ch.11
Question 35 of 100 | ← Chapter 11
Q735. A company is creating a new web application for its subscribers. The application will consist of a static single page and a persistent database layer. The application will have millions of users for 4 hours in the morning, but the application will have only a few thousand users during the rest of the day. The company's data architects have requested the ability to rapidly evolve their schema.Which solutions will meet these requirements and provide the MOST scalability? (Choose two.)
- A. Deploy Amazon DynamoDB as the database solution. Provision on-demand capacity.
- B. Deploy Amazon Aurora as the database solution. Choose the serverless DB engine mode.
- C. Deploy Amazon DynamoDB as the database solution. Ensure that DynamoDB auto scaling is enabled. ✓
- D. Deploy the static content into an Amazon S3 bucket. Provision an Amazon CloudFront distribution with the S3 bucket as the origin. ✓
- E. Deploy the web servers for static content across a fleet of Amazon EC2 instances in Auto Scaling groups. Configure the instances to periodically refresh the content from an Amazon Elastic File System (Amazon EFS) volume.
Correct Answer: C. Deploy Amazon DynamoDB as the database solution. Ensure that DynamoDB auto scaling is enabled., D. Deploy the static content into an Amazon S3 bucket. Provision an Amazon CloudFront distribution with the S3 bucket as the origin.
Explanation
AD OR CD.To meet the requirements and provide the most scalability for the company's new web application, the following two solutions should be chosen:C. Deploy Amazon DynamoDB as the database solution. Ensure that DynamoDB auto scaling is enabled.D. Deploy the static content into an Amazon S3 bucket. Provision an Amazon CloudFront distribution with the S3 bucket as the origin.Option C, deploying Amazon DynamoDB as the database solution and ensuring that DynamoDB auto scaling is enabled, is a scalable choice for the persistent database layer. DynamoDB is a managed NoSQL database service that can automatically scale its read and write capacity based on the application's needs. With auto scaling enabled, DynamoDB can handle the varying number of users during the day, scaling up during peak hours and scaling down during low-traffic periods. This allows the database to accommodate millions of users during the morning hours and scale down to handle the few thousand users for the rest of the day.Option D, deploying the static content into an Amazon S3 bucket and provisioning an Amazon CloudFront distribution with the S3 bucket as the origin, is a scalable solution for serving the static single page. Amazon S3 is a highly scalable and durable object storage service, and using it to host the static content ensures reliability and high availability. By configuring an Amazon CloudFront distribution, the static content can be cached and delivered globally through the CDN (Content Delivery Network). This reduces the load on the web servers and provides low-latency access to the content for users around the world.Option A, deploying Amazon DynamoDB as the database solution and provisioning on-demand capacity, is not the best choice for scalability in this scenario. While on-demand capacity allows DynamoDB to automatically scale up or down based on traffic, it may not provide the most cost-effective solution for a predictable usage pattern with millions of users for a specific time window.Option B, deploying Amazon Aurora as the database solution and choosing the serverless DB engine mode, is not the most suitable choice for scalability in this case. While Amazon Aurora Serverless can automatically scale the database capacity based on demand, it is designed for unpredictable workloads and may not be the most cost-effective option for the specific usage pattern described.Option E, deploying the web servers for static content across a fleet of Amazon EC2 instances in Auto Scaling groups and periodically refreshing the content from an Amazon EFS volume, is not the most scalable solution for serving the static content. It involves managing and scaling the EC2 instances, as well as configuring file synchronization from Amazon EFS. Using Amazon S3 and CloudFront (Option D) provides a simpler and more scalable solution for hosting and distributing static content.Therefore, the two solutions that meet the requirements and provide the most scalability are C: Deploy Amazon DynamoDB as the database solution and ensure that DynamoDB auto scaling is enabled, and D: Deploy the static content into an Amazon S3 bucket and provision an Amazon CloudFront distribution with the S3 bucket as the origin.