DVA-C02 Exam QuestionsBrowse all questions from this exam

DVA-C02 Exam - Question 377


A company launched an online portal to announce a new product that the company will release in 6 months. The portal requests that users enter an email address to receive communications about the product. The company needs to create a REST API that will store the email addresses in Amazon DynamoDB.

A developer has created an AWS Lambda function that can store the email addresses. The developer will deploy the Lambda function by using the AWS Serverless Application Model (AWS SAM). The developer must provide access to the Lambda function over HTTP.

Which solutions will meet these requirements with the LEAST additional configuration? (Choose two.)

Show Answer
Correct Answer: AE

To provide access to the AWS Lambda function over HTTP with the least additional configuration, using function URLs and Amazon API Gateway are the most suitable choices. Function URLs allow direct access to the Lambda function via a unique URL, which involves minimal setup. Amazon API Gateway, on the other hand, is specifically designed to create and manage APIs and integrates seamlessly with AWS Lambda, simplifying the creation of REST APIs. Both options are straightforward and require minimal configuration compared to alternatives like load balancers or AWS Global Accelerator.

Discussion

1 comment
Sign in to comment
rdiazOptions: AE
Jul 12, 2024

function urls and apigw