AWS Certified Solutions Architect – Professional — Question 141
A company wants to host its website on AWS using serverless architecture design patterns for global customers. The company has outlined its requirements as follow:
✑ The website should be responsive.
✑ The website should offer minimal latency.
✑ The website should be highly available.
✑ Users should be able to authenticate through social identity providers such as Google, Facebook, and Amazon.
✑ There should be baseline DDoS protections for spikes in traffic.
How can the design requirements be met?
Answer options
- A. Use Amazon CloudFront with Amazon ECS for hosting the website. Use AWS Secrets Manager to provide user management and authentication functions. Use ECS Docker containers to build an API.
- B. Use Amazon Route 53 latency routing with an Application Load Balancer and AWS Fargate in different regions for hosting the website. Use Amazon Cognito to provide user management and authentication functions. Use Amazon EKS containers to build an API.
- C. Use Amazon CloudFront with Amazon S3 for hosting static web resources. Use Amazon Cognito to provide user management and authentication functions. Use Amazon API Gateway with AWS Lambda to build an API.
- D. Use AWS Direct Connect with Amazon CloudFront and Amazon S3 for hosting static web resources. Use Amazon Cognito to provide user management authentication functions. Use AWS Lambda to build an API.
Correct answer: C
Explanation
Option C is correct because it uses Amazon CloudFront and Amazon S3, which provide a responsive, low-latency solution for serving static content globally. It also incorporates Amazon Cognito for user authentication and AWS Lambda with API Gateway to build a serverless API, satisfying all requirements. The other options either do not leverage serverless architecture effectively or do not meet the high availability and low latency criteria as efficiently as option C.