MCPA-LEVEL-1 practice question 14 of 15
An API implementation is deployed on a single worker on CloudHub and invoked by external API clients (outside of CloudHub). How can an alert be set up that is guaranteed to trigger AS SOON AS that API implementation stops responding to API invocations?
Full set: 95 questionsThe most reliable and immediate method to be notified when an API implementation on a CloudHub worker stops responding is by using the built-in alerting features of the Anypoint Platform. The "worker not responding" alert is specifically designed for this purpose. Anypoint Runtime Manager proactively monitors the health of each CloudHub worker. If a worker crashes, becomes unresponsive, or loses connectivity with the platform, this alert is triggered automatically by the platform itself, ensuring a notification is sent as soon as the issue is detected, independent of any incoming API traffic or external monitoring systems.
A. Implement a heartbeat/health check within the API and invoke it from outside the Anypoint Platform and alert when the heartbeat does not respond This requires custom development within the API and relies on an external system for polling and alerting, which is less direct than using the platform's native monitoring capabilities.
C. Handle API invocation exceptions within the calling API client and raise an alert from that API client when the API Is unavailable This approach is reactive and not guaranteed. An alert would only trigger if a client actively tries to call the API during the outage; no traffic means no alert.
D. Create an alert for when the API receives no requests within a specified time period This alerts on traffic patterns, not the health of the API implementation. A lack of requests could be normal (e.g., overnight), leading to false positives. ---
1. MuleSoft Documentation, "Alerts in Anypoint Platform": This document lists the standard alerts available. Under the "Standard Alerts" section, it explicitly describes the "Worker not responding" alert: "Triggered when a CloudHub worker has stopped communicating with the platform. This might indicate that the worker has become unresponsive or has crashed." This confirms it is the designated tool for this scenario.
2. MuleSoft Documentation, "Create and Manage Alerts": This guide details the configuration of alerts in Runtime Manager. It shows that "Worker not responding" is a selectable condition when creating an alert for a CloudHub application, reinforcing that this is a standard, platform-managed feature for monitoring worker health.
Keep practicing
Take the free MCPA-LEVEL-1 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MCPA-LEVEL-1 practice questions
- Question 2What is true about the technology architecture of Anypoint VPCs?
- Question 3A new upstream API Is being designed to offer an SLA of 500 ms median and 800 ms maximum …
- Question 4An organization makes a strategic decision to move towards an IT operating model that emp…
- Question 5What is true about automating interactions with Anypoint Platform using tools such as Any…
- Question 6An organization is deploying their new implementation of the OrderStatus System API to mu…
- Question 7How can the application of a rate limiting API policy be accurately reflected in the RAML…
