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

Page 30 of 116

A developer maintains a critical business application that uses Amazon DynamoDB as the primary data store. The DynamoDB table contains millions of documents and receives 30-60 requests each minute. The developer needs to perform processing in near-real time on the documents when they are added or updated in the DynamoDB
table.
How can the developer implement this feature with the LEAST amount of change to the existing application code?

  1. Set up a cron job on an Amazon EC2 instance. Run a script every hour to query the table for changes and process the documents.
  2. Enable a DynamoDB stream on the table. Invoke an AWS Lambda function to process the documents.
  3. Update the application to send a PutEvents request to Amazon EventBridge.
    Create an EventBridge rule to invoke an AWS Lambda function to process the documents.
  4. Update the application to synchronously process the documents directly after the DynamoDB write.

Answer(s): B



A developer is writing an application for a company. The application will be deployed on Amazon EC2 and will use an Amazon RDS for Microsoft SQL Server database.
The company's security team requires that database credentials are rotated at least weekly.
How should the developer configure the database credentials for this application?

  1. Create a database user. Store the user name and password in an AWS Systems
    Manager Parameter Store secure string parameter. Enable rotation of the AWS
    Key Management Service (AWS KMS) key that is used to encrypt the parameter.
  2. Enable IAM authentication for the database. Create a database user for use with IAM authentication. Enable password rotation.
  3. Create a database user. Store the user name and password in an AWS Secrets
    Manager secret that has daily rotation enabled.
  4. Use the EC2 user data to create a database user. Provide the user name and password in environment variables to the application.

Answer(s): C



A real-time messaging application uses Amazon API Gateway WebSocket APIs with backend HTTP service. A developer needs to build a feature in the application to identify a client that keeps connecting to and disconnecting from the WebSocket connection. The developer also needs the ability to remove the client.
Which combination of changes should the developer make to the application to meet these requirements? (Choose two.)

  1. Switch to HTTP APIs in the backend service.
  2. Switch to REST APIs in the backend service.
  3. Use the callback URL to disconnect the client from the backend service.
  4. Add code to track the client status in Amazon ElastiCache in the backend service.
  5. Implement $connect and $disconnect routes in the backend service.

Answer(s): D,E



A developer has written code for an application and wants to share it with other developers on the team to receive feedback. The shared application code needs to be stored long-term with multiple versions and batch change tracking.
Which AWS service should the developer use?

  1. AWS CodeBuild
  2. Amazon S3
  3. AWS CodeCommit
  4. AWS Cloud9

Answer(s): C



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