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

Page 8 of 116

An application is processing clickstream data using Amazon Kinesis. The clickstream data feed into Kinesis experiences periodic spikes. The PutRecords API call occasionally fails and the logs show that the failed call returns the response shown below:
Which techniques will help mitigate this exception? (Choose two.)

  1. Implement retries with exponential backoff.
  2. Use a PutRecord API instead of PutRecords.
  3. Reduce the frequency and/or size of the requests.
  4. Use Amazon SNS instead of Kinesis.
  5. Reduce the number of KCL consumers.

Answer(s): A,C



A company has an application that uses Amazon Cognito user pools as an identity provider. The company must secure access to user records. The company has set up multi-factor authentication (MFA). The company also wants to send a login activity notification by email every time a user logs in.
What is the MOST operationally efficient solution that meets this requirement?

  1. Create an AWS Lambda function that uses Amazon Simple Email Service (Amazon
    SES) to send the email notification. Add an Amazon API Gateway API to invoke the function. Call the API from the client side when login confirmation is received.
  2. Create an AWS Lambda function that uses Amazon Simple Email Service (Amazon
    SES) to send the email notification. Add an Amazon Cognito post authentication Lambda trigger for the function.
  3. Create an AWS Lambda function that uses Amazon Simple Email Service (Amazon
    SES) to send the email notification. Create an Amazon CloudWatch Logs log subscription filter to invoke the function based on the login status.
  4. Configure Amazon Cognito to stream all logs to Amazon Kinesis Data Firehose.
    Create an AWS Lambda function to process the streamed logs and to send the email notification based on the login status of each user.

Answer(s): B



A developer has an application that stores data in an Amazon S3 bucket. The application uses an HTTP API to store and retrieve objects.
When the PutObject API
operation adds objects to the S3 bucket the developer must encrypt these objects at rest by using server-side encryption with Amazon S3 managed keys (SSE-S3).
Which solution will meet this requirement?

  1. Create an AWS Key Management Service (AWS KMS) key. Assign the KMS key to the S3 bucket.
  2. Set the x-amz-server-side-encryption header when invoking the PutObject API
    operation.
  3. Provide the encryption key in the HTTP header of every request.
  4. Apply TLS to encrypt the traffic to the S3 bucket.

Answer(s): B



A developer needs to perform geographic load testing of an API. The developer must deploy resources to multiple AWS Regions to support the load testing of the API.
How can the developer meet these requirements without additional application code?

  1. Create and deploy an AWS Lambda function in each desired Region. Configure the Lambda function to create a stack from an AWS CloudFormation template in that Region when the function is invoked.
  2. Create an AWS CloudFormation template that defines the load test resources.
    Use the AWS CLI create-stack-set command to create a stack set in the desired Regions.
  3. Create an AWS Systems Manager document that defines the resources. Use the document to create the resources in the desired Regions.
  4. Create an AWS CloudFormation template that defines the load test resources.
    Use the AWS CLI deploy command to create a stack from the template in each
    Region.

Answer(s): B



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