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

Page 34 of 116

A developer needs to store configuration variables for an application. The developer needs to set an expiration date and time for the configuration. The developer wants to receive notifications before the configuration expires.
Which solution will meet these requirements with the LEAST operational overhead?

  1. Create a standard parameter in AWS Systems Manager Parameter Store. Set
    Expiration and ExpirationNotification policy types.
  2. Create a standard parameter in AWS Systems Manager Parameter Store. Create an AWS Lambda function to expire the configuration and to send Amazon Simple
    Notification Service (Amazon SNS) notifications.
  3. Create an advanced parameter in AWS Systems Manager Parameter Store. Set
    Expiration and ExpirationNotification policy types.
  4. Create an advanced parameter in AWS Systems Manager Parameter Store. Create an Amazon EC2 instance with a cron job to expire the configuration and to send notifications.

Answer(s): C



A company is developing a serverless application that consists of various AWS Lambda functions behind Amazon API Gateway APIs. A developer needs to automate the deployment of Lambda function code. The developer will deploy updated Lambda functions with AWS CodeDeploy. The deployment must minimize the exposure of potential errors to end users.
When the application is in production, the application cannot experience downtime outside the specified maintenance window.
Which deployment configuration will meet these requirements with the LEAST deployment time?

  1. Use the AWS CodeDeploy in-place deployment configuration for the Lambda functions. Shift all traffic immediately after deployment.
  2. Use the AWS CodeDeploy linear deployment configuration to shift 10% of the traffic every minute.
  3. Use the AWS CodeDeploy all-at-once deployment configuration to shift all traffic to the updated versions immediately.
  4. Use the AWS CodeDeploy predefined canary deployment configuration to shift
    10% of the traffic immediately and shift the remaining traffic after 5
    minutes.

Answer(s): D



A company created four AWS Lambda functions that connect to a relational database server that runs on an Amazon RDS instance. A security team requires the company to automatically change the database password every 30 days.
Which solution will meet these requirements MOST securely?

  1. Store the database credentials in the environment variables of the Lambda function. Deploy the Lambda function with the new credentials every 30 days.
  2. Store the database credentials in AWS Secrets Manager. Configure a 30-day rotation schedule for the credentials.
  3. Store the database credentials in AWS Systems Manager Parameter Store secure strings. Configure a 30-day schedule for the secure strings.
  4. Store the database credentials in an Amazon S3 bucket that uses server-side encryption with customer-provided encryption keys (SSE-C). Configure a
    30-day key rotation schedule for the customer key.

Answer(s): B



A developer is setting up a deployment pipeline. The pipeline includes an AWS
CodeBuild build stage that requires access to a database to run integration tests.
The developer is using a buildspec.yml file to configure the database connection.
Company policy requires automatic rotation of all database credentials.
Which solution will handle the database credentials MOST securely?

  1. Retrieve the credentials from variables that are hardcoded in the buildspec.yml file. Configure an AWS Lambda function to rotate the credentials.
  2. Retrieve the credentials from an environment variable that is linked to a
    SecureString parameter in AWS Systems Manager Parameter Store. Configure
    Parameter Store for automatic rotation.
  3. Retrieve the credentials from an environment variable that is linked to an
    AWS Secrets Manager secret. Configure Secrets Manager for automatic rotation.
  4. Retrieve the credentials from an environment variable that contains the connection string in plaintext. Configure an Amazon EventBridge event to rotate the credentials.

Answer(s): C



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