BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - 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

Posted by Truman on May 20, 2024 at 04:06 PM

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?

Get Premium Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
40 comments · newest first
LA
Laila 12 months ago
D could work too, but I prefer C for handling those permanent errors.
SH
Shawnda 12 months ago
C seems better. Catching errors with On Error Continue sounds safer.
BO
Bo 1 year ago
Wait, isn't it risky to just give up after one try?
AN
Anabel 1 year ago
Totally agree with B! No point in retrying on a permanent error.
DO
Doug 1 year ago
I think option B is the way to go. Just set the retry count to 1 for HTTP: UNAUTHORIZED.
AL
Alisha 1 year 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.
ME
Melissia 1 year 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.
DO
Dorothy 1 year 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?
MI
Mitsue 1 year 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.
TI
Timothy 1 year 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.
SA
Salley 1 year 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.
CE
Cecilia 1 year 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.
CL
Clarinda 1 year 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.
MI
Miles 1 year 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.
RO
Robt 1 year 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.
RE
Regenia 1 year ago
I remember something about deriving attributes. Does the Y attribute need to match the label's Y attribute?
MA
Marquetta 1 year 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.
MY
Myra 1 year 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.
XU
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.
CE
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?
HE
Herminia 2 years ago
On Error Continue? Sounds like a dangerous option to me. Wouldn't that just keep retrying the request indefinitely?
SH
Shalon 2 years ago
↳ replying to Herminia
C: A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
FR
Francoise 2 years ago
↳ replying to Herminia
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.
AR
Arlen 2 years ago
↳ replying to Herminia
A: A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
CH
Chauncey 2 years ago
↳ replying to Herminia
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.
JU
Julio 2 years ago
↳ replying to Herminia
A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
LU
Luther 2 years ago
↳ replying to Herminia
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.
CA
Carisa 2 years ago
↳ replying to Herminia
A) Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
ME
Melissia 3 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.
CH
Chantell 3 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?
EL
Ellsworth 3 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.
LA
Laurene 2 years ago
↳ replying to Ellsworth
Absolutely, having a solid error handling mechanism is crucial for maintaining the reliability of the Mule implementation.
TY
Tyra 2 years ago
↳ replying to Ellsworth
I see your point. It's important to choose the right error handling strategy based on the specific requirements of the API integration.
JA
Jade 2 years ago
↳ replying to Ellsworth
That's true, but using On Error Continue provides more flexibility in handling different types of errors.
NI
Nikita 2 years ago
↳ replying to Ellsworth
I think setting the retry count to 1 for HTTP: UNAUTHORIZED errors in Until Successful could also be a good approach.
KE
Keith 2 years ago
↳ replying to Ellsworth
It definitely helps in reducing latency and ensuring the API connection is successful in the long run.
AN
Angella 2 years ago
↳ replying to Ellsworth
I agree, using On Error Continue to catch and handle HTTP: UNAUTHORIZED errors efficiently is key.
AU
Audry 2 years ago
↳ replying to Ellsworth
Yes, I agree. It's important to handle those errors properly to reduce latency.
TA
Tammara 2 years ago
↳ replying to Ellsworth
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.
LE
Leonard 2 years ago
↳ replying to Ellsworth
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.
0/2000 characters

Save Cancel