AWS Certified Developer Associate DVA-C02 Practice Question
A front-end development team requires data from a service that is yet to be implemented. As the lead on inter-service communications, you need to configure your gateway to provide static responses to continue front-end development. Which technique would allow you to achieve this without relying on the service logic itself?
Enabling cross-origin resource sharing (CORS) at the interface.
Setting up a mock integration directly on the gateway to mimic expected responses.
Implementing a temporary version of the service logic that produces static data.
Applying request validation on the incoming requests to the interface.
A mock integration directly on the gateway allows you to simulate the business logic response by returning preconfigured static data for a given endpoint. This bypasses the need for any actual backend service to be operational or implemented, enabling front-end teams to work against a predictable interface. On the other hand, deploying premature service logic just to produce static data introduces unnecessary overhead and complexity. CORS is related to cross-origin resource sharing, which isn't relevant to simulating service logic. Request validation is concerned with the structure of incoming requests, not the service responses.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a mock integration in the context of an API gateway?
Open an interactive chat with Bash
How does a mock integration differ from implementing temporary service logic?
Open an interactive chat with Bash
When should you use a mock integration during development?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .