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

Page 47 of 116

A developer has been asked to create an AWS Lambda function that is invoked any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role.
Amazon DynamoDB streams have been enabled for the table, but the function is still not being invoked.
Which option would enable DynamoDB table updates to invoke the Lambda function?

  1. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the
    DynamoDB table.
  2. Configure event source mapping for the Lambda function.
  3. Map an Amazon Simple Notification Service (Amazon SNS) topic to the DynamoDB
    streams.
  4. Increase the maximum runtime (timeout) setting of the Lambda function.

Answer(s): B



A developer needs to deploy an application running on AWS Fargate using Amazon ECS.
The application has environment variables that must be passed to a container for the application to initialize.
How should the environment variables be passed to the container?

  1. Define an array that includes the environment variables under the environment parameter within the service definition.
  2. Define an array that includes the environment variables under the environment parameter within the task definition.
  3. Define an array that includes the environment variables under the entryPoint parameter within the task definition.
  4. Define an array that includes the environment variables under the entryPoint parameter within the service definition.

Answer(s): B



A development team maintains a web application by using a single AWS RDS, template.
The template defines web servers and an Amazon RDS database. The team uses the
CloudFormation template to deploy the CloudFormation stack to different environments.
During a recent application deployment, a developer caused the primary development database to be dropped and recreated. The result of this incident was a loss of data. The team needs to avoid accidental database deletion in the future.
Which solutions will meet these requirements? (Choose two.)

  1. Add a CloudFormation DeletionPolicy attribute with the Retain value to the database resource.
  2. Update the CloudFormation stack policy to prevent updates to the database.
  3. Modify the database to use a Multi-AZ deployment.
  4. Create a CloudFormation stack set for the web application and database deployments.
  5. Add a CloudFormation DeletionPolicy attribute with the Retain value to the stack.

Answer(s): A,B



A developer is storing sensitive data generated by an application in Amazon S3. The developer wants to encrypt the data at rest. A company policy requires an audit trail of when the AWS Key Management Service (AWS KMS) key was used and by whom.
Which encryption option will meet these requirements?

  1. Server-side encryption with Amazon S3 managed keys (SSE-S3)
  2. Server-side encryption with AWS KMS managed keys (SSE-KMS)
  3. Server-side encryption with customer-provided keys (SSE-C)
  4. Server-side encryption with self-managed keys

Answer(s): B



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