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

Page 4 of 116

A company receives food orders from multiple partners. The company has a microservices application that uses Amazon API Gateway APIs with AWS Lambda integration. Each partner sends orders by calling a customized API that is exposed through API Gateway. The API call invokes a shared Lambda function to process the orders.
Partners need to be notified after the Lambda function processes the orders. Each partner must receive updates for only the partner's own orders. The company wants to add new partners in the future with the fewest code changes possible.
Which solution will meet these requirements in the MOST scalable way?

  1. Create a different Amazon Simple Notification Service (Amazon SNS) topic for each partner. Configure the Lambda function to publish messages for each partner to the partner's SNS topic.
  2. Create a different Lambda function for each partner. Configure the Lambda function to notify each partner's service endpoint directly.
  3. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure the Lambda function to publish messages with specific attributes to the SNS
    topic. Subscribe each partner to the SNS topic. Apply the appropriate filter policy to the topic subscriptions.
  4. Create one Amazon Simple Notification Service (Amazon SNS) topic. Subscribe all partners to the SNS topic.

Answer(s): C



A financial company must store original customer records for 10 years for legal reasons. A complete record contains personally identifiable information (PII).
According to local regulations, PII is available to only certain people in the company and must not be shared with third parties. The company needs to make the records available to third-party organizations for statistical analysis without sharing the
PII.
A developer wants to store the original immutable record in Amazon S3. Depending on who accesses the S3 document, the document should be returned as is or with all the PII removed. The developer has written an AWS Lambda function to remove the PII from the document. The function is named removePii.
What should the developer do so that the company can meet the PII requirements while maintaining only one copy of the document?

  1. Set up an S3 event notification that invokes the removePii function when an
    S3 GET request is made. Call Amazon S3 by using a GET request to access the object without PII.
  2. Set up an S3 event notification that invokes the removePii function when an
    S3 PUT request is made. Call Amazon S3 by using a PUT request to access the object without PII.
  3. Create an S3 Object Lambda access point from the S3 console. Select the removePii function. Use S3 Access Points to access the object without PII.
  4. Create an S3 access point from the S3 console. Use the access point name to call the GetObjectLegalHold S3 API function. Pass in the removePii function name to access the object without PII.

Answer(s): C



A developer is deploying an AWS Lambda function The developer wants the ability to return to older versions of the function quickly and seamlessly.
How can the developer achieve this goal with the LEAST operational overhead?

  1. Use AWS OpsWorks to perform blue/green deployments.
  2. Use a function alias with different versions.
  3. Maintain deployment packages for older versions in Amazon S3.
  4. Use AWS CodePipeline for deployments and rollbacks.

Answer(s): B



A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.
How can the developer improve the function's performance?

  1. Increase the function's CPU core count.
  2. Increase the function's memory.
  3. Increase the function's reserved concurrency.
  4. Increase the function's timeout.

Answer(s): B



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