Which approach should be used to test that the payment API is working in production?
A mule application exposes and API for creating payments. An Operations team wants to ensure that the Payment API is up and running at all times in production.
Which approach should be used to test that the payment API is working in production?
A . Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API
B . Configure the application to send health data to an external system
C . Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself
D . Monitor the Payment API directly sending real customer payment data
Answer: A
Explanation:
To test that the payment API is working in production, the developer should create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API. This way, the developer can isolate the health check endpoint from the API traffic and avoid affecting the performance or availability of the API. The health check endpoint should return a simple response that indicates the status of the API, such as OK or ERROR.
References: https://docs.mulesoft.com/api-functional-monitoring/afm-create-monitor#create-a-monitor
Latest MuleSoft Developer II Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund