What should the developer do to reduce the size of the Lambda deployment packages with the LEAST operational overhead?

A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata...

September 30, 2023 No Comments READ MORE +

Which actions should the developer take to increase the resiliency of the application when the batch response includes values in UnprocessedKeys?

A developer has an application that makes batch requests directly to Amazon DynamoDB by using the BatchGetItem low-level API operation. The responses frequently return values in the UnprocessedKeys element. Which actions should the developer take to increase the resiliency of the application when the batch response includes values in UnprocessedKeys?...

September 30, 2023 No Comments READ MORE +

How can a developer enable X-Ray tracing on the on-premises servers with the LEAST amount of configuration?

A company is running a custom application on a set of on-premises Linux servers that are accessed using Amazon API Gateway. AWS X-Ray tracing has been enabled on the API test stage. How can a developer enable X-Ray tracing on the on-premises servers with the LEAST amount of configuration?A ....

September 30, 2023 No Comments READ MORE +

Which solution will meet this requirement?

A developer is writing an AWS Lambda function. The developer wants to log key events that occur while the Lambda function runs. The developer wants to include a unique identifier to associate the events with a specific function invocation. The developer adds the following code to the Lambda function: Which...

September 30, 2023 No Comments READ MORE +

Which set of steps would be necessary to achieve this?

A developer wants to insert a record into an Amazon DynamoDB table as soon as a new file is added to an Amazon S3 bucket. Which set of steps would be necessary to achieve this?A . Create an event with Amazon EventBridge that will monitor the S3 bucket and then...

April 26, 2023 No Comments READ MORE +

What is the MOST likely cause of this issue?

A developer has created an AWS Lambda function that is written in Python. The Lambda function reads data from objects in Amazon S3 and writes data to an Amazon DynamoDB table. The function is successfully invoked from an S3 event notification when an object is created. However, the function fails...

April 26, 2023 No Comments READ MORE +

What should the developer do to reduce the size of the Lambda deployment packages with the LEAST operational overhead?

A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata...

April 26, 2023 No Comments READ MORE +

Which solution will meet these requirements MOST securely?

A company wants to share information with a third party. The third party has an HTTP API endpoint that the company can use to share the information. The company has the required API key to access the HTTP API. The company needs a way to manage the API key by...

April 25, 2023 No Comments READ MORE +

Which solution will meet these requirements?

A developer is migrating some features from a legacy monolithic application to use AWS Lambda functions instead. The application currently stores data in an Amazon Aurora DB cluster that runs in private subnets in a VPC. The AWS account has one VPC deployed. The Lambda functions and the DB cluster...

April 23, 2023 No Comments READ MORE +

For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?

For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?A . BeforeInstall -> ApplicationStop -> ApplicationStart -> AfterInstall B. ApplicationStop -> BeforeInstall -> AfterInstall -> ApplicationStart C. BeforeInstall -> ApplicationStop -> ValidateService -> ApplicationStart D. ApplicationStop -> BeforeInstall -> ValidateService -> ApplicationStartView...

April 22, 2023 No Comments READ MORE +