Which is the simplest and MOST secure design to use to build an authentication and authorization model for the APIs?
A company developed a set of APIs that are being served through the Amazon API Gateway. The API calls need to be authenticated based on OpenID identity providers such as Amazon or Facebook. The APIs should allow access based on a custom authorization model. Which is the simplest and MOST...
What service can provide support for the application to allow guest access?
A Developer is creating a web application that requires authentication, but also needs to support guest access to provide users limited access without having to authenticate. What service can provide support for the application to allow guest access?A . IAM temporary credentials using AWS STC . Amazon Directory ServiceD ....
What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?
Given the source code for an AWS Lambda function in the local store.py containing a handler function called get_store and the following AWS CloudFormation template: What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?A . Use aws...
What can the Developer do to fix this problem?
A Developer has created a large Lambda function, and deployment is failing with the following error: ClientError: An error occurred (InvalidParameterValueException) when callingthe CreateFunction operation: Unzipped size must be smaller than XXXXXXXXX bytes’, where XXXXXXXXX is the current Lambda limit What can the Developer do to fix this problem?A ....
A serverless application uses an API Gateway and AWS Lambda. Where should the Lambda function store its session information across function calls?
A serverless application uses an API Gateway and AWS Lambda. Where should the Lambda function store its session information across function calls?A . In an Amazon DynamoDB tableB . In an Amazon SQS queueC . In the local filesystemD . In an SQLite session table using CDSQLITE_ENABLE_SESSIONView AnswerAnswer: A
How should this exception be handled?
An application reads data from an Amazon DynamoDB table. Several times a day, for a period of 15 seconds, the application receives multiple ProvisionedThroughputExceeded errors. How should this exception be handled?A . Create a new global secondary index for the table to help with the additional requests.B . Retry the...
Which type of Elastic Beanstalk deployment policy should the Developer specify for the environment?
A Developer is writing a Linux-based application to run on AWS Elastic Beanstalk. Application requirements state that the application must maintain full capacity during updates while minimizing cost. Which type of Elastic Beanstalk deployment policy should the Developer specify for the environment?A . ImmutableB . RollingC . All at OnceD...
How can this objective be met?
A company is migrating its on-premises database to Amazon RDS for MySQL. The company has read-heavy workloads, and wants to make sure it re-factors its code to achieve optimum read performance for its queries. How can this objective be met?A . Add database retries to effectively use RDS with vertical...
When writing a Lambda function, what is the benefit of instantiating AWS clients outside the scope of the handler?
When writing a Lambda function, what is the benefit of instantiating AWS clients outside the scope of the handler?A . Legibility and stylistic conventionB . Taking advantage of connection re-useC . Better error handlingD . Creating a new instance per invocationView AnswerAnswer: B Explanation: Reference: https://www.jeremydaly.com/reuse-database-connections-aws-lambda/
Which AWS Service can help refactor and manage the state machine?
A current architecture uses many Lambda functions invoking one another as large state machine. The coordination of this state machine is legacy custom code that breaks easily. Which AWS Service can help refactor and manage the state machine?A . AWS Data PipelineB . AWS SNS with AWS SQSC . Amazon...