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

Page 23 of 116

A company is using an Amazon API Gateway REST API endpoint as a webhook to publish events from an on-premises source control management (SCM) system to Amazon
EventBridge. The company has configured an EventBridge rule to listen for the events and to control application deployment in a central AWS account. The company needs to receive the same events across multiple receiver AWS accounts.
How can a developer meet these requirements without changing the configuration of the SCM system?

  1. Deploy the API Gateway REST API to all the required AWS accounts. Use the same custom domain name for all the gateway endpoints so that a single SCM
    webhook can be used for all events from all accounts.
  2. Deploy the API Gateway REST API to all the receiver AWS accounts. Create as many SCM webhooks as the number of AWS accounts.
  3. Grant permission to the central AWS account for EventBridge to access the receiver AWS accounts. Add an EventBridge event bus on the receiver AWS
    accounts as the targets to the existing EventBridge rule.
  4. Convert the API Gateway type from REST API to HTTP API.

Answer(s): C



A company moved some of its secure files to a private Amazon S3 bucket that has no public access. The company wants to develop a serverless application that gives its employees the ability to log in and securely share the files with other users.
Which AWS feature should the company use to share and access the files securely?

  1. Amazon Cognito user pool
  2. S3 presigned URLs
  3. S3 bucket policy
  4. Amazon Cognito identity pool

Answer(s): B



A company needs to develop a proof of concept for a web service application. The application will show the weather forecast for one of the company's office locations. The application will provide a REST endpoint that clients can call.
Where possible, the application should use caching features provided by AWS to limit the number of requests to the backend service. The application backend will receive a small amount of traffic only during testing.
Which approach should the developer take to provide the REST endpoint MOST cost-effectively?

  1. Create a container image. Deploy the container image by using Amazon Elastic
    Kubernetes Service (Amazon EKS). Expose the functionality by using Amazon
    API Gateway.
  2. Create an AWS Lambda function by using the AWS Serverless Application Model
    (AWS SAM). Expose the Lambda functionality by using Amazon API Gateway.
  3. Create a container image. Deploy the container image by using Amazon Elastic
    Container Service (Amazon ECS). Expose the functionality by using Amazon API
    Gateway.
  4. Create a microservices application. Deploy the application to AWS Elastic
    Beanstalk. Expose the AWS Lambda functionality by using an Application Load
    Balancer.

Answer(s): B



An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable,
and any service interruption should not affect the user experience.
What is the best option to store the session state?

  1. Store the session state in Amazon ElastiCache.
  2. Store the session state in Amazon CloudFront.
  3. Store the session state in Amazon S3.
  4. Enable session stickiness using elastic load balancers.

Answer(s): A



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