Topic 1 Question 541
3 つ選択A company wants to build a web application on AWS. Client access requests to the website are not predictable and can be idle for a long time. Only customers who have paid a subscription fee can have the ability to sign in and use the web application.
Which combination of steps will meet these requirements MOST cost-effectively?
Create an AWS Lambda function to retrieve user information from Amazon DynamoDB. Create an Amazon API Gateway endpoint to accept RESTful APIs. Send the API calls to the Lambda function.
Create an Amazon Elastic Container Service (Amazon ECS) service behind an Application Load Balancer to retrieve user information from Amazon RDS. Create an Amazon API Gateway endpoint to accept RESTful APIs. Send the API calls to the Lambda function.
Create an Amazon Cognito user pool to authenticate users.
Create an Amazon Cognito identity pool to authenticate users.
Use AWS Amplify to serve the frontend web content with HTML, CSS, and JS. Use an integrated Amazon CloudFront configuration.
Use Amazon S3 static web hosting with PHP, CSS, and JS. Use Amazon CloudFront to serve the frontend web content.
ユーザの投票
コメント(17)
If in doubt between E or F. S3 doesn't support server-side scripts, PHP is a server-side script. The answer is ACE. https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html
👍 8manOfThePeople2023/08/31- 正解だと思う選択肢: ACE
Option B (Amazon ECS) is not the best option since the website "can be idle for a long time", so Lambda (Option A) is a more cost-effective choice.
Option D is incorrect because User pools are for authentication (identity verification) while Identity pools are for authorization (access control).
Option F is wrong because S3 web hosting only supports static web files like HTML/CSS, and does not support PHP or JavaScript.
👍 5msdnpro2023/06/24 - 正解だと思う選択肢: ACE
Use exclusion method: No need for Container (no need run all time), remove B. PHP cannot run with static Amazon S3, remove F. Use selection method: Idle for sometime, choose AWS Lambda, choose A. “Amazon Cognito is an identity platform for web and mobile apps.” (https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html ), choose C. Create an identity pool https://docs.aws.amazon.com/cognito/latest/developerguide/tutorial-create-identity-pool.html . AWS Amplify https://aws.amazon.com/amplify/ for build full-stack web-app in hours.
👍 5james20332023/07/16
シャッフルモード