DVA-C02 · Question #152
DVA-C02 Question #152: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #152. The question stem and answer options stay visible for context.
Question
A company is developing a serverless multi-tier application on AWS. The company will build the serverless logic tier by using Amazon API Gateway and AWS Lambda. While the company builds the logic tier, a developer who works on the frontend of the application must develop integration tests. The tests must cover both positive and negative scenarios, depending on success and error HTTP status codes. Which solution will meet these requirements with the LEAST effort?
Options
- ASet up a mock integration for API methods in API Gateway. In the integration request from
- BCreate two mock integration resources for API methods in API Gateway. In the integration
- CCreate Lambda functions to perform tests. Add simple logic to return either success or error,
- DCreate a Lambda function to perform tests. Add simple logic to return either success or error-
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.