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

Page 64 of 116

A company has migrated an application to Amazon EC2 instances. Automatic scaling is working well for the application user interface. However, the process to deliver shipping requests to the company’s warehouse staff is encountering issues. Duplicate shipping requests are arriving, and some requests are lost or arrive out of order.
The company must avoid duplicate shipping requests and must process the requests in the order that the requests arrive. Requests are never more than 250 KB in size and take 5-10 minutes to process. A developer needs to rearchitect the application to improve the reliability of the delivery and processing of the requests.
What should the developer do to meet these requirements?

  1. Create an Amazon Kinesis Data Firehose delivery stream to process the requests. Create an Amazon Kinesis data stream. Modify the application to write the requests to the Kinesis data stream.
  2. Create an AWS Lambda function to process the requests. Create an Amazon
    Simple Notification Service (Amazon SNS) topic. Subscribe the Lambda function to the SNS topic. Modify the application to write the requests to the SNS topic.
  3. Create an AWS Lambda function to process the requests. Create an Amazon
    Simple Queue Service (Amazon SQS) standard queue. Set the SQS queue as an event source for the Lambda function. Modify the application to write the requests to the SQS queue.
  4. Create an AWS Lambda function to process the requests. Create an Amazon
    Simple Queue Service (Amazon SQS) FIFO queue. Set the SQS queue as an event source for the Lambda function. Modify the application to write the requests to the SQS queue.

Answer(s): D



A developer is creating a machine learning (ML) pipeline in AWS Step Functions that contains AWS Lambda functions. The developer has configured an Amazon Simple Queue
Service (Amazon SQS) queue to deliver ML model parameters to the ML pipeline to train ML models. The developer uploads the trained models are uploaded to an Amazon
S3
bucket.
The developer needs a solution that can locally test the ML pipeline without making service integration calls to Amazon SQS and Amazon S3.
Which solution will meet these requirements?

  1. Use the Amazon CodeGuru Profiler to analyze the Lambda functions used in the
    AWS Step Functions pipeline.
  2. Use the AWS Step Functions Local Docker Image to run and locally test the
    Lambda functions.
  3. Use the AWS Serverless Application Model (AWS SAM) CLI to run and locally test the Lambda functions.
  4. Use AWS Step Functions Local with mocked service integrations.

Answer(s): D



A company runs a batch processing application by using AWS Lambda functions and
Amazon API Gateway APIs with deployment stages for development, user acceptance testing, and production. A development team needs to configure the APIs in the deployment stages to connect to third-party service endpoints.
Which solution will meet this requirement?

  1. Store the third-party service endpoints in Lambda layers that correspond to the stage.
  2. Store the third-party service endpoints in API Gateway stage variables that correspond to the stage.
  3. Encode the third-party service endpoints as query parameters in the API
    Gateway request URL.
  4. Store the third-party service endpoint for each environment in AWS
    AppConfig.

Answer(s): B



A developer is building a serverless application that runs on AWS. The developer wants to create an accelerated development workflow that deploys incremental changes to AWS for testing. The developer wants to deploy the incremental changes but does not want to fully deploy the entire application to AWS for every code commit.
What should the developer do to meet these requirements?

  1. Use the AWS Serverless Application Model (AWS SAM) to build the application.
    Use the sam sync command to deploy the incremental changes.
  2. Use the AWS Serverless Application Model (AWS SAM) to build the application.
    Use the sam init command to deploy the incremental changes.
  3. Use the AWS Cloud Development Kit (AWS CDK) to build the application. Use the cdk synth command to deploy the incremental changes.
  4. Use the AWS Cloud Development Kit (AWS CDK) to build the application. Use the cdk bootstrap command to deploy the incremental changes.

Answer(s): A



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