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 II (Mule-Dev-301) Exam - Topic 4 Question 4 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer II (Mule-Dev-301) exam
Question #: 4
Topic #: 4
[All Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Questions]

A Mule implementation uses a HTTP Request within an Unit Successful scope to connect to an API.

How should a permanent error response like HTTP:UNAUTHORIZED be handle inside Until Successful to reduce latency?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Laila
3 months ago
D could work too, but I prefer C for handling those permanent errors.
upvoted 0 times
...
Shawnda
3 months ago
C seems better. Catching errors with On Error Continue sounds safer.
upvoted 0 times
...
Bo
3 months ago
Wait, isn't it risky to just give up after one try?
upvoted 0 times
...
Anabel
4 months ago
Totally agree with B! No point in retrying on a permanent error.
upvoted 0 times
...
Doug
4 months ago
I think option B is the way to go. Just set the retry count to 1 for HTTP: UNAUTHORIZED.
upvoted 0 times
...
Alisha
4 months ago
I’m a bit confused about the difference between On Error Continue and On Error Propagate. I think I might have seen something like this in the study materials, but I can't recall which option is best.
upvoted 0 times
...
Melissia
4 months ago
I practiced a similar question, and I feel like using On Error Continue would be better than propagating the error. So, I lean towards option C as well.
upvoted 0 times
...
Dorothy
4 months ago
I'm not entirely sure, but I think putting the HTTP Request in a try scope could be a good idea. Maybe option C is the right approach since it allows for error handling?
upvoted 0 times
...
Mitsue
5 months ago
I remember we discussed how HTTP:UNAUTHORIZED is a permanent error, so retrying might not help. I think option B makes sense to avoid unnecessary retries.
upvoted 0 times
...
Timothy
5 months ago
I'm feeling pretty confident about this one. Option B seems like the simplest solution - just setting the retry count to 1 for the HTTP:UNAUTHORIZED error. That should prevent unnecessary retries and keep the latency low.
upvoted 0 times
...
Salley
5 months ago
Okay, I think I've got a strategy for this. Option C looks like the way to go - putting the HTTP request in a try scope and using On Error Continue to catch the permanent errors. That should help reduce the latency compared to retrying indefinitely.
upvoted 0 times
...
Cecilia
5 months ago
Hmm, I'm a bit confused by the question. I'm not sure which approach would be best to handle the permanent error response and reduce latency. I'll need to review the Mule documentation again.
upvoted 0 times
...
Clarinda
5 months ago
This looks like a tricky question. I'll need to think carefully about the different options and how they might impact the latency of the application.
upvoted 0 times
...
Miles
5 months ago
I think the answer is A. The question is asking about the requirements for a user story to be considered ready, and just enough detail for the team to complete the story seems like the most appropriate answer.
upvoted 0 times
...
Robt
5 months ago
Hmm, this is a tricky one. I'm not totally familiar with the different Housing Acts and their provisions. I'll have to think through the options carefully and see if I can eliminate any of the choices.
upvoted 0 times
...
Regenia
5 months ago
I remember something about deriving attributes. Does the Y attribute need to match the label's Y attribute?
upvoted 0 times
...
Marquetta
5 months ago
Hmm, I'm not totally sure about this one. I know SSH is a secure protocol, but I'm not certain if it's the only one that provides secured transactions.
upvoted 0 times
...
Myra
5 months ago
Ah, I see what they're getting at. By using a custom container, we can avoid the 5-minute package installation step in each pipeline run. This should definitely meet the goal of reducing the overall execution time. Seems like a solid solution.
upvoted 0 times
...
Xuan
2 years ago
I'm going to have to go with the Mule-tiple choice option C. Get it? Mule-tiple? Eh, tough crowd.
upvoted 0 times
...
Celestine
2 years ago
Option B is like putting a band-aid on a bullet wound. Why not just fix the underlying issue and get the right authorization?
upvoted 0 times
...
Herminia
2 years ago
On Error Continue? Sounds like a dangerous option to me. Wouldn't that just keep retrying the request indefinitely?
upvoted 0 times
Shalon
2 years ago
C: A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
upvoted 0 times
...
Francoise
2 years ago
B: D) Put the HTTP Request inside a try scope in Unit Successful. In the error handler, use On Error Propagate to catch permanent errors like HTTP UNAUTHORIZED.
upvoted 0 times
...
Arlen
2 years ago
A: A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
upvoted 0 times
...
Chauncey
2 years ago
C) Put the HTTP Request inside a try scope in Unit Successful. In the error handler, use On Error Continue to catch permanent errors like HTTP UNAUTHORIZED.
upvoted 0 times
...
Julio
2 years ago
A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
upvoted 0 times
...
Luther
2 years ago
C) Put the HTTP Request inside a try scope in Unit Successful. In the error handler, use On Error Continue to catch permanent errors like HTTP UNAUTHORIZED.
upvoted 0 times
...
Carisa
2 years ago
A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
upvoted 0 times
...
...
Melissia
2 years ago
I like how Option D propagates the error instead of just continuing. That way, you can handle it further up the flow if needed.
upvoted 0 times
...
Chantell
2 years ago
Hmm, I'm not sure setting the retry count to 1 for just the HTTP:UNAUTHORIZED error is the best solution. Wouldn't it be better to handle all permanent errors the same way?
upvoted 0 times
...
Ellsworth
2 years ago
Option C looks like the best way to handle permanent errors in Until Successful. Catching them with On Error Continue and retrying is a smart approach.
upvoted 0 times
Laurene
2 years ago
Absolutely, having a solid error handling mechanism is crucial for maintaining the reliability of the Mule implementation.
upvoted 0 times
...
Tyra
2 years ago
I see your point. It's important to choose the right error handling strategy based on the specific requirements of the API integration.
upvoted 0 times
...
Jade
2 years ago
That's true, but using On Error Continue provides more flexibility in handling different types of errors.
upvoted 0 times
...
Nikita
2 years ago
I think setting the retry count to 1 for HTTP: UNAUTHORIZED errors in Until Successful could also be a good approach.
upvoted 0 times
...
Keith
2 years ago
It definitely helps in reducing latency and ensuring the API connection is successful in the long run.
upvoted 0 times
...
Angella
2 years ago
I agree, using On Error Continue to catch and handle HTTP: UNAUTHORIZED errors efficiently is key.
upvoted 0 times
...
Audry
2 years ago
Yes, I agree. It's important to handle those errors properly to reduce latency.
upvoted 0 times
...
Tammara
2 years ago
Option C looks like the best way to handle permanent errors in Until Successful. Catching them with On Error Continue and retrying is a smart approach.
upvoted 0 times
...
Leonard
2 years ago
Option C looks like the best way to handle permanent errors in Until Successful. Catching them with On Error Continue and retrying is a smart approach.
upvoted 0 times
...
...

Save Cancel