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

Page 52 of 116

A developer is working on an application that processes operating data from IoT
devices. Each IoT device uploads a data file once every hour to an Amazon S3 bucket.
The developer wants to immediately process each data file when the data file is uploaded to Amazon
S3.
The developer will use an AWS Lambda function to process the data files from Amazon S3. The Lambda function is configured with the S3 bucket information where the files are uploaded. The developer wants to configure the Lambda function to immediately invoke after each data file is uploaded.
Which solution will meet these requirements?

  1. Add an asynchronous invocation to the Lambda function. Select the S3 bucket as the source.
  2. Add an Amazon EventBridge event to the Lambda function. Select the S3 bucket as the source.
  3. Add a trigger to the Lambda function. Select the S3 bucket as the source.
  4. Add a layer to the Lambda function. Select the S3 bucket as the source.

Answer(s): C



A developer is setting up infrastructure by using AWS CloudFormation. If an error occurs when the resources described in the Cloud Formation template are provisioned,
successfully provisioned resources must be preserved. The developer must provision and update the CloudFormation stack by using the AWS CLI.
Which solution will meet these requirements?

  1. Add an --enable-termination-protection command line option to the create-stack command and the update-stack command.
  2. Add a --disable-rollback command line option to the create-stack command and the update-stack command.
  3. Add a --parameters ParameterKey=PreserveResources,ParameterValue=True command line option to the create-stack command and the update-stack command.
  4. Add a --tags Key=PreserveResources,Value=True command line option to the create-stack command and the update-stack command.

Answer(s): B



A developer is building a serverless application that connects to an Amazon Aurora
PostgreSQL database. The serverless application consists of hundreds of AWS Lambda functions. During every Lambda function scale out, a new database connection is made that increases database resource consumption.
The developer needs to decrease the number of connections made to the database. The solution must not impact the scalability of the Lambda functions.
Which solution will meet these requirements?

  1. Configure provisioned concurrency for each Lambda function by setting the
    ProvisionedConcurrentExecutions parameter to 10.
  2. Enable cluster cache management for Aurora PostgreSQL. Change the connection string of each Lambda function to point to cluster cache management.
  3. Use Amazon RDS Proxy to create a connection pool to manage the database connections. Change the connection string of each Lambda function to reference the proxy.
  4. Configure reserved concurrency for each Lambda function by setting the
    ReservedConcurrentExecutions parameter to 10.

Answer(s): C



A developer is preparing to begin development of a new version of an application.
The previous version of the application is deployed in a production environment. The developer needs to deploy fixes and updates to the current version during the development of the new version of the application. The code for the new version of the application is stored in AWS CodeCommit.
Which solution will meet these requirements?

  1. From the main branch, create a feature branch for production bug fixes.
    Create a second feature branch from the main branch for development of the new version.
  2. Create a Git tag of the code that is currently deployed in production.
    Create a Git tag for the development of the new version. Push the two tags to the CodeCommit repository.
  3. From the main branch, create a branch of the code that is currently deployed in production. Apply an IAM policy that ensures no other users can push or merge to the branch.
  4. Create a new CodeCommit repository for development of the new version of the application. Create a Git tag for the development of the new version.

Answer(s): A



Page 52 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