Deal of The Day! 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 Platform Architect (Mule-Arch-201) Exam - Topic 2 Question 26 Discussion

Posted by Barrett on Mar 08, 2025 at 01:43 PM

A Mule 4 API has been deployed to CloudHub and a Basic Authentication - Simple policy has been applied to all API methods and resources. However, the API is still accessible

by clients without using authentication.

How is this possible?

Suggested Answer: B

When a Basic Authentication policy is applied to an API on CloudHub but clients can still access the API without authentication, the likely cause is a missing Autodiscovery element. Here's how this affects API security:

Autodiscovery in MuleSoft:

The Autodiscovery element is essential for linking an API implementation deployed in CloudHub with its API instance defined in API Manager. This connection allows the policies applied in API Manager, such as Basic Authentication, to be enforced on the deployed API.

Why Option B is Correct:

Without Autodiscovery, the deployed application does not 'know' about the policies configured in API Manager, resulting in unrestricted access. Adding Autodiscovery enables the API to enforce the policies correctly.

of Incorrect Options:

Option A (incorrect Exchange version) would not cause bypassing of security policies.

Option C (missing client applications) does not impact authentication policy enforcement.

Option D (worker restart) is irrelevant to policy enforcement.

Reference Refer to MuleSoft documentation on Autodiscovery configuration and linking API Manager policies for additional information on setting up secure API policies.


Get Premium Salesforce Certified MuleSoft Platform Architect (Mule-Arch-201) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
31 comments · newest first
VI
Virgina 10 months ago
No way it's option C, clients need to be registered for access.
WI
Winfred 11 months ago
Agreed, that could definitely cause the API to be open.
JE
Jerrod 11 months ago
I think it's option B, missing Autodiscovery is a common issue.
RE
Rebeca 11 months ago
Option D doesn't make sense, a worker restart shouldn't affect auth.
BR
Brande 11 months ago
Wait, how can clients access it without authentication? That's weird!
GI
Gianna 11 months ago
I vaguely recall that if a CloudHub worker restarts, it might cause temporary access issues, but I don't think that's the main reason for this problem.
PR
Providencia 12 months ago
I'm a bit confused about the options, but I feel like if no client applications were created, it shouldn't affect the authentication policy directly.
PA
Paz 12 months ago
I think I came across a practice question that mentioned the APE Router and its connection to the Exchange version. Could that be related to why the API is still accessible?
TA
Tammara 1 year ago
I remember something about the Autodiscovery element being crucial for API security, but I'm not entirely sure if it's the only reason for this issue.
CA
Cassie 1 year ago
Hmm, no client applications have been created for this API? That seems like a strange scenario. I'll need to consider the implications of that and how it might relate to the authentication problem.
EL
Eliz 1 year ago
Interesting. The question mentions the Autodiscovery element, so I wonder if that could be the issue. Maybe it's not properly configured, or there's some other problem with it. I'll need to think that through.
CY
Cyndy 1 year ago
Ah, I think I've got an idea. If the APE Router component is pointing to the wrong Exchange version, that could potentially bypass the authentication policy. I'll make sure to double-check that in my answer.
DO
Dorcas 1 year ago
Okay, let me see here. The question says the API has a Basic Authentication - Simple policy applied, so that should be enforcing authentication. I'm a bit confused as to how it could still be accessible without it.
DE
Dean 1 year ago
Hmm, this is a tricky one. I'll need to carefully review the details of the question and think through the possible reasons why the API might still be accessible without authentication.
RH
Rhea 2 years ago
Maybe one of the CloudHub workers restarted causing the authentication to fail.
RA
Raylene 2 years ago
This is a classic case of 'if it's not broke, don't fix it' gone wrong. I bet someone left the API wide open as a 'temporary' solution and forgot to secure it. *shakes head*
AN
Anjelica 2 years ago
↳ replying to Raylene
A: Yeah, someone probably overlooked that during deployment.
ON
Oneida 2 years ago
↳ replying to Raylene
B: That could be the reason why the API is still accessible without authentication.
DO
Doretha 2 years ago
↳ replying to Raylene
A: The Autodiscovery element is not present, in the deployed Mule application
DO
Dottie 2 years ago
I agree with Tayna, that could be the reason why authentication is not working.
BO
Bok 2 years ago
I don't think the APE Router component or the Autodiscovery element are the issue here. The most likely explanation is that no client applications have been created, so the API is still open to the public. C is my pick.
TA
Tayna 2 years ago
I think the issue might be with the Autodiscovery element missing.
SU
Sue 2 years ago
Hmm, this is a tricky one. I'm leaning towards D - one of the CloudHub workers restarted, which could have caused the authentication to stop working.
CE
Cecil 2 years ago
↳ replying to Sue
C: I believe it's possible that no client applications have been created for this API.
AN
Annmarie 2 years ago
↳ replying to Sue
B: Maybe the APE Router component is pointing to the incorrect Exchange version of the API.
KA
Kanisha 2 years ago
↳ replying to Sue
A: I think it could be because the Autodiscovery element is missing in the deployed Mule application.
AL
Alpha 2 years ago
Wait, the API is still accessible without authentication? That's a big security risk! I'm pretty sure the correct answer is C - no client applications have been created for this API.
HE
Hermila 2 years ago
↳ replying to Alpha
We should definitely create client applications to secure the API access.
BE
Belen 2 years ago
↳ replying to Alpha
I don't think so, I believe it's because no client applications have been created for this API.
GI
Gilberto 2 years ago
↳ replying to Alpha
But what about the Autodiscovery element? Could that be the problem?
ST
Stephen 2 years ago
↳ replying to Alpha
I think the issue is with the client applications not being created for this API.
0/2000 characters

Save Cancel