MuleSoft Certified Developer – Level 1 — Question 130
An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.
A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.
What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?
Answer options
- A. In Anypoint Studio, code a custom policy for Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment
- B. In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange
- C. In API Designer, add Client ID Enforcement policy requirements to the API specification
- D. In API Manager, apply a Client ID Enforcement policy for the API instance
Correct answer: B
Explanation
The correct answer is B because it involves creating a custom policy specifically for Client ID Enforcement in Anypoint Design Center and then making it available through the API portal in Anypoint Exchange, which is the intended usage. Options A and D involve additional steps or do not utilize the proper channel for policy application, while option C does not enforce the policy at the runtime level where it is needed.