DVA-C02 · Question #589
DVA-C02 Question #589: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #589. The question stem and answer options stay visible for context.
Question
A developer is creating an ecommerce workflow in an AWS Step Functions state machine that includes a HTTP Task state. The task passes shipping information and order details to an endpoint. The developer needs to test the workflow to confirm that the HTTP headers and body are correct and that the responses meet expectations. Which approach should the developer use to achieve this with minimal testing overhead?
Options
- AUse the TestState API to invoke only the HTTP Task. Set the inspection level to TRACE.
- BUse the TestState API to invoke the state machine. Set the inspection level to DEBUG.
- CUse the data flow simulator to invoke only the HTTP Task. View the request and response data.
- DChange the log level of the state machine to ALL. Run the state machine.
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.