Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps (page: 59)

Page 59 of 116

A developer has created a large AWS Lambda function. Deployment of the function is failing because of an InvalidParameterValueException error. The error message indicates that the unzipped size of the function exceeds the maximum supported value.
Which actions can the developer take to resolve this error? (Choose two.)

  1. Submit a quota increase request to AWS Support to increase the function to the required size.
  2. Use a compression algorithm that is more efficient than ZIP.
  3. Break up the function into multiple smaller functions.
  4. Zip the .zip file twice to compress the file more.
  5. Move common libraries, function dependencies, and custom runtimes into
    Lambda layers.

Answer(s): C,E



A developer is troubleshooting an application in an integration environment. In the application, an Amazon Simple Queue Service (Amazon SQS) queue consumes messages and then an AWS Lambda function processes the messages. The Lambda function transforms the messages and makes an API call to a third-party service.
There has been an increase in application usage. The third-party API frequently returns an HTTP 429 Too Many Requests error message. The error message prevents a significant number of messages from being processed successfully.
How can the developer resolve this issue?

  1. Increase the SQS event source’s batch size setting.
  2. Configure provisioned concurrency for the Lambda function based on the third-party API’s documented rate limits.
  3. Increase the retry attempts and maximum event age in the Lambda function’s asynchronous configuration.
  4. Configure maximum concurrency on the SQS event source based on the third-party service’s documented rate limits.

Answer(s): D



A company has a three-tier application that is deployed in Amazon Elastic Container
Service (Amazon ECS). The application is using an Amazon RDS for MySQL DB instance.
The application performs more database reads than writes.
During times of peak usage, the application’s performance degrades.
When this performance degradation occurs, the DB instance’s ReadLatency metric in Amazon CloudWatch increases suddenly.
How should a developer modify the application to improve performance?

  1. Use Amazon ElastiCache to cache query results.
  2. Scale the ECS cluster to contain more ECS instances.
  3. Add read capacity units (RCUs) to the DB instance.
  4. Modify the ECS task definition to increase the task memory.

Answer(s): A



A company has an online web application that includes a product catalog. The catalog is stored in an Amazon S3 bucket that is named DOC-EXAMPLE-BUCKET. The application must be able to list the objects in the S3 bucket and must be able to download objects through an IAM policy.
Which policy allows MINIMUM access to meet these requirements?





Answer(s): A



Page 59 of 116



Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam with other Community members:

Ernesto commented on August 26, 2024
Prepared and passed this exam. Valid question and very tough exam. So good luck.
Spain
upvote