
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company wants to restrict access to the content of one of its main web applications and to protect the content by using authorization techniques available on AWS. The company wants to implement a serverless architecture and an authentication solution for fewer than 100 users. The solution needs to integrate with the main web application and serve web content globally. The solution must also scale as the company's user base grows while providing the lowest login latency possible.
Which solution will meet these requirements MOST cost-effectively?
A
Use Amazon Cognito for authentication. Use Lambda@Edge for authorization. Use Amazon CloudFront to serve the web application globally.
B
Use AWS Directory Service for Microsoft Active Directory for authentication. Use AWS Lambda for authorization. Use an Application Load Balancer to serve the web application globally.
C
Use Amazon Cognito for authentication. Use AWS Lambda for authorization. Use Amazon S3 Transfer Acceleration to serve the web application globally.
D
Use AWS Directory Service for Microsoft Active Directory for authentication. Use Lambda@Edge for authorization. Use AWS Elastic Beanstalk to serve the web application globally.
Explanation:
Correct Answer: A
Why Option A is the best solution:
Amazon Cognito for authentication:
Lambda@Edge for authorization:
Amazon CloudFront to serve web application globally:
Why other options are not optimal:
Option B: AWS Directory Service (Microsoft AD) is overkill for fewer than 100 users and is more expensive than Cognito. Application Load Balancer doesn't provide global content delivery like CloudFront.
Option C: Amazon S3 Transfer Acceleration is for faster uploads to S3, not for serving web applications globally. AWS Lambda for authorization doesn't provide the edge-level low latency that Lambda@Edge offers.
Option D: AWS Directory Service is expensive for small user base. Elastic Beanstalk is not serverless and doesn't provide global content delivery like CloudFront.
Key requirements met by Option A: