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?
Implementing a temporary version of the service logic that produces static data.
Enabling cross-origin resource sharing (CORS) at the interface.
Applying request validation on the incoming requests to the interface.
Setting up a mock integration directly on the gateway to mimic expected responses.
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 a gateway?
Open an interactive chat with Bash
How does enabling cross-origin resource sharing (CORS) relate to inter-service communication?
Open an interactive chat with Bash
Why is it problematic to implement a temporary version of the service logic just to provide static data?
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...
Information Technology Package Join Premium for Full Access