ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - MCD - Level 2 discussion

Report
Export

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
Answers
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
Answers
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
Answers
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
Answers
D.
Monitor the Payment API directly sending real customer payment data
Suggested 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.

Reference: https://docs.mulesoft.com/api-functional-monitoring/afm-create-monitor#create-a-monitor

asked 18/09/2024
Salvatore Andrisani
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first