Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam MCD-Level-2 Topic 1 Question 35 Discussion

Actual exam question for MuleSoft's MCD-Level-2 exam
Question #: 35
Topic #: 1
An API has been developed and deployed to CloudHub Among the policies applied to this API is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio and does not want any policies applied because their workstation is not included in the allowlist.
What must the developer do in order to run this test locally without the policies applied?

Suggested Answer: B Vote an answer

To run a test locally without the policies applied, the developer should create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager. This way, the developer can use different configuration properties for different environments and avoid triggering API autodiscovery when running tests locally. API autodiscovery is a mechanism that associates an API implementation with its corresponding API specification and policies in API Manager based on its API instance ID. By setting this ID to a value that does not exist in API Manager, the developer can prevent API autodiscovery from finding and applying any policies to the local test. References:
https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#configuring-api-autodiscoveryhttps:

by Ethel at May 21, 2024, 06:05 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
nomaco4521
2025-04-29 06:55:24
A is correct
upvoted 1 times
...
sjovanovic974
2025-04-09 03:41:31
A is the correct answer.
upvoted 1 times
...
alexara4441
2024-08-13 05:15:29
Selected Answer: A
gatekeeper has nothing to do with this. It is for protecting the application when deploying. Read the documentation.
upvoted 4 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.