New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 8 Question 10 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 10
Topic #: 8
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Nieves
3 months ago
D seems off, you can't enforce policies just by adding them to the spec.
upvoted 0 times
...
Belen
3 months ago
A is the way to go, no doubt about it.
upvoted 0 times
...
Mammie
3 months ago
Wait, can you really do that in API Manager? Sounds too easy!
upvoted 0 times
...
Thora
4 months ago
I think B is better, custom policies give more control.
upvoted 0 times
...
Basilia
4 months ago
Definitely A, that's the simplest way to enforce it!
upvoted 0 times
...
Fausto
4 months ago
I recall that adding requirements in API Designer is more about defining the API, not enforcing policies. So, I don't think that's the right choice here.
upvoted 0 times
...
Shawn
4 months ago
I’m a bit confused about the options. I feel like coding a custom policy in Anypoint Studio might be overcomplicating things for this scenario.
upvoted 0 times
...
Rashad
4 months ago
I remember a practice question where we had to implement a policy, and I think applying it in API Manager was the right approach there too.
upvoted 0 times
...
Quentin
5 months ago
I think the easiest way would be to apply the Client ID Enforcement policy directly in API Manager, but I'm not completely sure.
upvoted 0 times
...
Georgiann
5 months ago
I'm pretty confident that option A is the way to go here. API Manager is specifically designed to manage and enforce policies on deployed APIs, so that seems like the most straightforward and idiomatic solution. The other options seem a bit more complicated and not as well-suited for this particular scenario.
upvoted 0 times
...
Portia
5 months ago
Hmm, I'm a bit unsure about this one. I know we can apply policies in API Manager, but I'm not sure if that's the most idiomatic approach since the API was originally designed in API Designer. Maybe option D, where we add the policy requirements directly to the API specification, would be a better fit?
upvoted 0 times
...
Scarlet
5 months ago
This looks like a straightforward question about applying a Client ID Enforcement policy to a Mule application. I think the easiest and most idiomatic way would be to apply the policy directly in API Manager, as described in option A.
upvoted 0 times
...
Joanne
5 months ago
Okay, let me think this through. The question says the API was published to Anypoint Exchange, so I'm guessing we can't just add the policy in API Designer anymore. And coding a custom policy in Anypoint Studio or Anypoint Design Center seems like overkill for a simple Client ID Enforcement. I'm going to go with option A - applying the policy in API Manager.
upvoted 0 times
...
Desmond
5 months ago
I'm pretty confident I know the answer to this one. Imported modules are in strict mode whether you declare them as such or not. That's option C.
upvoted 0 times
...
Xochitl
2 years ago
I'm just glad they didn't ask us to create a blockchain-based Client ID using quantum cryptography. That would be overkill.
upvoted 0 times
...
Pearly
2 years ago
Knowing Mule, B or C would involve way too much cusPearly coding. A is the way to go, keep it simple!
upvoted 0 times
Quentin
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
Zita
2 years ago
B) 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
upvoted 0 times
...
Aileen
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
...
Julie
2 years ago
Hmm, D might be the most 'idiomatic' since it's part of the API design, but A is probably the quickest solution.
upvoted 0 times
...
Stanford
2 years ago
I agree, A is the most straightforward way to enforce the Client ID policy on the deployed Mule app.
upvoted 0 times
Vivan
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
Bulah
2 years ago
B) 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
upvoted 0 times
...
Peggy
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
...
Noble
2 years ago
That could work too, but I think using API Manager directly is simpler and more idiomatic.
upvoted 0 times
...
Lai
2 years ago
But wouldn't it be more flexible to code a custom policy in Anypoint Studio and add it to Runtime Manager?
upvoted 0 times
...
Emerson
2 years ago
I agree with Noble, it makes sense to enforce the policy at the API Manager level.
upvoted 0 times
...
Rosann
2 years ago
A seems like the easiest option, just apply the policy in API Manager where the API is managed.
upvoted 0 times
Raylene
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
Alba
2 years ago
Yes, it's the easiest way to manage the policy for the API.
upvoted 0 times
...
Jovita
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
Audry
2 years ago
That does seem like the most straightforward option.
upvoted 0 times
...
Brice
2 years ago
Yeah, that makes sense. It's all in one place then.
upvoted 0 times
...
Vashti
2 years ago
A) In API Manager, apply a Client ID Enforcement policy for the API instance
upvoted 0 times
...
Ardella
2 years ago
I think A is the easiest option, just apply the policy in API Manager where the API is managed.
upvoted 0 times
...
...
Noble
2 years ago
I think the easiest way is to apply a Client ID Enforcement policy in API Manager.
upvoted 0 times
...

Save Cancel