SAP-C02 · Question #90
A company is planning to set up a REST API application on AWS. The application team wants to set up a new identity store on AWS. The IT team does not want to maintain any infrastructure or servers for
The correct answer is C. Deploy the application as AWS Lambda functions. Set up Amazon API Gateway REST API. To set up a REST API application with a new identity store on AWS with maximum operational efficiency and no infrastructure maintenance, the solution is to deploy the application logic as AWS Lambda functions, expose them via a fully managed Amazon API Gateway REST API, and integ
Question
A company is planning to set up a REST API application on AWS. The application team wants to set up a new identity store on AWS. The IT team does not want to maintain any infrastructure or servers for this deployment. What is the MOST operationally efficient solution that meets these requirements?
Options
- ADeploy the application as AWS Lambda functions. Set up Amazon API Gateway REST API
- BDeploy the application in AWS AppSync, and configure AWS Lambda resolvers. Set up an
- CDeploy the application as AWS Lambda functions. Set up Amazon API Gateway REST API
- DDeploy the application in Amazon Elastic Kubernetes Service (Amazon EKS) clusters. Set up an
How the community answered
(58 responses)- A3% (2)
- B7% (4)
- C74% (43)
- D16% (9)
Why each option
To set up a REST API application with a new identity store on AWS with maximum operational efficiency and no infrastructure maintenance, the solution is to deploy the application logic as AWS Lambda functions, expose them via a fully managed Amazon API Gateway REST API, and integrate Amazon Cognito as the serverless identity store for user management and authentication.
This option includes deploying EC2 instances to run Active Directory for authentication, which directly contradicts the requirement that the IT team "does not want to maintain any infrastructure or servers" for the deployment.
AWS AppSync is primarily designed for GraphQL APIs, not specifically for REST APIs as requested. More critically, it also suggests deploying EC2 instances for Active Directory authentication, violating the "no infrastructure or servers to maintain" requirement.
Deploying the application logic as AWS Lambda functions and exposing them via Amazon API Gateway provides a fully serverless solution for the REST API, eliminating server management. Integrating Amazon Cognito as the identity store further enhances operational efficiency by providing a fully managed authentication and authorization service without requiring any server or infrastructure maintenance.
Amazon EKS (Elastic Kubernetes Service) requires managing Kubernetes worker nodes (unless using Fargate, which still has container management overhead) and is not as operationally efficient or serverless as a Lambda/API Gateway architecture. Furthermore, it also includes EC2 instances for Active Directory, violating the "no infrastructure or servers to maintain" requirement.
Concept tested: Serverless REST API with managed identity store
Source: https://aws.amazon.com/lambda/, https://aws.amazon.com/api-gateway/, https://aws.amazon.com/cognito/
Community Discussion
No community discussion yet for this question.