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

Page 36 of 116

A developer wants to add request validation to a production environment Amazon API
Gateway API. The developer needs to test the changes before the API is deployed to the production environment. For the test, the developer will send test requests to the API through a testing tool.
Which solution will meet these requirements with the LEAST operational overhead?

  1. Export the existing API to an OpenAPI file. Create a new API. Import the
    OpenAPI file. Modify the new API to add request validation. Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production.
  2. Modify the existing API to add request validation. Deploy the updated API to a new API Gateway stage. Perform the tests. Deploy the updated API to the
    API Gateway production stage.
  3. Create a new API. Add the necessary resources and methods, including new request validation. Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production
  4. Clone the existing API. Modify the new API to add request validation.
    Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production.

Answer(s): B



An online food company provides an Amazon API Gateway HTTP API to receive orders for partners. The API is integrated with an AWS Lambda function. The Lambda function stores the orders in an Amazon DynamoDB
table.
The company expects to onboard additional partners. Some of the partners require additional Lambda functions to receive orders. The company has created an Amazon S3 bucket. The company needs to store all orders and updates in the S3 bucket for future analysis.
How can the developer ensure that all orders and updates are stored to Amazon S3 with the LEAST development effort?

  1. Create a new Lambda function and a new API Gateway API endpoint. Configure the new Lambda function to write to the S3 bucket. Modify the original
    Lambda function to post updates to the new API endpoint.
  2. Use Amazon Kinesis Data Streams to create a new data stream. Modify the
    Lambda function to publish orders to the data stream. Configure the data stream to write to the S3 bucket.
  3. Enable DynamoDB Streams on the DynamoDB table. Create a new Lambda function.
    Associate the stream’s Amazon Resource Name (ARN) with the Lambda function.
    Configure the Lambda function to write to the S3 bucket as records appear in the table's stream.
  4. Modify the Lambda function to publish to a new Amazon Simple Notification
    Service (Amazon SNS) topic as the Lambda function receives orders. Subscribe a new Lambda function to the topic. Configure the new Lambda function to write to the S3 bucket as updates come through the topic.

Answer(s): C



A company’s website runs on an Amazon EC2 instance and uses Auto Scaling to scale the environment during peak times. Website users across the world are experiencing high latency due to static content on the EC2 instance, even during non-peak hours.
Which combination of steps will resolve the latency issue? (Choose two.)

  1. Double the Auto Scaling group’s maximum number of servers.
  2. Host the application code on AWS Lambda.
  3. Scale vertically by resizing the EC2 instances.
  4. Create an Amazon CloudFront distribution to cache the static content.
  5. Store the application’s static content in Amazon S3.

Answer(s): D,E



A company has an Amazon S3 bucket containing premier content that it intends to make available to only paid subscribers of its website. The S3 bucket currently has default permissions of all objects being private to prevent inadvertent exposure of the premier content to non-paying website visitors.
How can the company limit the ability to download a premier content file in the S3 bucket to paid subscribers only?

  1. Apply a bucket policy that allows anonymous users to download the content from the S3 bucket.
  2. Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download.
  3. Add a bucket policy that requires multi-factor authentication for requests to access the S3 bucket objects.
  4. Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors.

Answer(s): B



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