exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 91 discussion

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?

  • A. Create a container image. Deploy the container image by using Amazon Elastic Kubernetes Service (Amazon EKS). Expose the functionality by using Amazon API Gateway.
  • B. Create an AWS Lambda function by using the AWS Serverless Application Model (AWS SAM). Expose the Lambda functionality by using Amazon API Gateway.
  • C. Create a container image. Deploy the container image by using Amazon Elastic Container Service (Amazon ECS). Expose the functionality by using Amazon API Gateway.
  • D. Create a microservices application. Deploy the application to AWS Elastic Beanstalk. Expose the AWS Lambda functionality by using an Application Load Balancer.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
loctong
Highly Voted 1 year, 5 months ago
Selected Answer: B
AWS Lambda function absolutely ability to do the requirements.
upvoted 9 times
JamalDaBoss
1 year, 2 months ago
Yes, Lambda bery certain great.
upvoted 3 times
...
...
sumanshu
Most Recent 4 months ago
Selected Answer: B
A) Eliminated - Amazon EKS is designed for large-scale, containerized applications that require Kubernetes orchestration. For a simple proof of concept with small traffic, it is overkill and introduces unnecessary complexity and cost. C) Eliminated - ECS introduces additional operational overhead compared to a serverless solution like Lambda. D) Elastic Beanstalk is not designed for a lightweight serverless application; it requires provisioning and managing compute resources, which increases cost and complexity.
upvoted 2 times
...
65703c1
5 months, 1 week ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
SerialiDr
8 months ago
Selected Answer: B
This solution is cost-effective because AWS Lambda charges are based on the number of requests and the duration of code execution, making it ideal for applications with low to moderate traffic. Amazon API Gateway can efficiently manage the REST endpoint and offers built-in caching capabilities to reduce the number of requests to the backend Lambda function, further optimizing costs. This setup also leverages the serverless model, reducing the operational overhead and cost associated with provisioning and managing servers.
upvoted 4 times
...
a5fc516
8 months, 3 weeks ago
Selected Answer: B
yes B is correct
upvoted 1 times
...
hmdev
1 year, 2 months ago
Selected Answer: B
B is the cost-effective one.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago