Free DVA-C02 Exam Braindumps

Pass your DVA-C02 exam with these free Questions and Answers

Page 4 of 26
QUESTION 11

A company is building a serverless application on AWS. The application uses an AWS Lambda function to process customer orders 24 hours a day, 7 days a week. The Lambda function calls an external vendor's HTTP API to process payments.
During load tests, a developer discovers that the external vendor payment processing API occasionally times out and returns errors. The company expects that some payment processing API calls will return errors.
The company wants the support team to receive notifications in near real time only when the payment processing external API error rate exceed 5% of the total number of transactions in an hour. Developers need to use an existing Amazon Simple Notification Service (Amazon SNS) topic that is configured to notify the support team.
Which solution will meet these requirements?

  1. A. Write the results of payment processing API calls to Amazon CloudWatc
  2. B. Use Amazon CloudWatch Logs Insights to query the CloudWatch log
  3. C. Schedule the Lambda function to check the CloudWatch logs and notify the existing SNS topic.
  4. D. Publish custom metrics to CloudWatch that record the failures of the external payment processing APIcall
  5. E. Configure a CloudWatch alarm to notify the existing SNS topic when error rate exceeds the specified rate.
  6. F. Publish the results of the external payment processing API calls to a new Amazon SNS topi
  7. G. Subscribe the support team members to the new SNS topic.
  8. H. Write the results of the external payment processing API calls to Amazon S3. Schedule an Amazon Athena query to run at regular interval
  9. I. Configure Athena to send notifications to the existing SNS topic when the error rate exceeds the specified rate.

Correct Answer: B

QUESTION 12

A developer is incorporating AWS X-Ray into an application that handles personal identifiable information (PII). The application is hosted on Amazon EC2 instances. The application trace messages include encrypted PII and go to Amazon CloudWatch. The developer needs to ensure that no PII goes outside of the EC2 instances.
Which solution will meet these requirements?

  1. A. Manually instrument the X-Ray SDK in the application code.
  2. B. Use the X-Ray auto-instrumentation agent.
  3. C. Use Amazon Macie to detect and hide PI
  4. D. Call the X-Ray API from AWS Lambda.
  5. E. Use AWS Distro for Open Telemetry.

Correct Answer: B

QUESTION 13

A company has a multi-node Windows legacy application that runs on premises. The application uses a network shared folder as a centralized configuration repository to store configuration files in .xml format. The company is migrating the application to Amazon EC2 instances. As part of the migration to AWS, a developer must identify a solution that provides high availability for the repository.
Which solution will meet this requirement MOST cost-effectively?

  1. A. Mount an Amazon Elastic Block Store (Amazon EBS) volume onto one of the EC2 instance
  2. B. Deploy a file system on the EBS volum
  3. C. Use the host operating system to share a folde
  4. D. Update the application code to read and write configuration files from the shared folder.
  5. E. Deploy a micro EC2 instance with an instance store volum
  6. F. Use the host operating system to share a folde
  7. G. Update the application code to read and write configuration files from the shared folder.
  8. H. Create an Amazon S3 bucket to host the repositor
  9. I. Migrate the existing .xml files to the S3 bucket.Update the application code to use the AWS SDK to read and write configuration files from Amazon S3.
  10. J. Create an Amazon S3 bucket to host the repositor
  11. K. Migrate the existing .xml files to the S3 bucket.Mount the S3 bucket to the EC2 instances as a local volum
  12. L. Update the application code to read andwrite configuration files from the disk.

Correct Answer: C

QUESTION 14

A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.
Which action can help the company achieve this goal?

  1. A. Enable API caching in API Gateway.
  2. B. Configure API Gateway to use an interface VPC endpoint.
  3. C. Enable cross-origin resource sharing (CORS) for the APIs.
  4. D. Configure usage plans and API keys in API Gateway.

Correct Answer: A

QUESTION 15

A developer is working on a serverless application that needs to process any changes to an Amazon DynamoDB table with an AWS Lambda function.
How should the developer configure the Lambda function to detect changes to the DynamoDB table?

  1. A. Create an Amazon Kinesis data stream, and attach it to the DynamoDB tabl
  2. B. Create a trigger to connect the data stream to the Lambda function.
  3. C. Create an Amazon EventBridge rule to invoke the Lambda function on a regular schedul
  4. D. Conned to the DynamoDB table from the Lambda function to detect changes.
  5. E. Enable DynamoDB Streams on the tabl
  6. F. Create a trigger to connect the DynamoDB stream to the Lambda function.
  7. G. Create an Amazon Kinesis Data Firehose delivery stream, and attach it to the DynamoDB table.Configure the delivery stream destination as the Lambda function.

Correct Answer: C

Page 4 of 26

Post your Comments and Discuss Amazon DVA-C02 exam with other Community members: