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

Posted by Shenika on Aug 04, 2025 at 05:55 PM

When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.

How can this be achieved?

Suggested Answer: D

When implementing a synchronous API where the event source is an HTTP Listener, Mule automatically propagates some message attributes between flows via outbound and inbound properties. One of these attributes is correlation ID, which is returned to the caller in the response header by default as MULE_CORRELATION_ID. Reference: https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes


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
18 comments · newest first
ST
Stephaine 10 months ago
Wait, D? Are you sure it returns by default?
ZO
Zoila 11 months ago
I think C might be better for more control.
MI
Millie 11 months ago
Option B is the way to go!
GE
Georgene 11 months ago
Agreed, B is definitely the easiest method!
YO
Youlanda 11 months ago
I’ve never heard of auto-generating correlation IDs before.
EL
Elinore 11 months ago
I’m pretty sure that if no action is taken, the correlation ID is returned automatically, but I can't recall if that's true for all setups.
DO
Dominga 12 months ago
I’m leaning towards option B, but I’m not confident. It might be that auto-generating the ID is the default behavior.
VE
Velda 12 months ago
I feel like we practiced a question similar to this, and I think the correlation ID needs to be configured explicitly.
NI
Nida 1 year ago
I think I remember something about enabling a checkbox in the HTTP Listener settings, but I'm not entirely sure if it's the right one.
AS
Asuncion 1 year ago
I'm a bit confused by this question. The options seem a bit vague, and I'm not sure which one is the best approach. I'll need to do some research on the HTTP Listener component and how it handles correlation IDs before I can confidently answer this.
TA
Tamekia 1 year ago
I'm pretty confident that the answer is option C, configuring a custom correlation policy. That's the only option that specifically mentions returning the correlation ID in the response header, which is what the question is asking for.
TO
Tom 1 year ago
Okay, let me think this through. The question is asking how to return the same correlation ID back to the caller in the HTTP response header. Based on the options provided, it seems like configuring a custom correlation policy might be the way to go.
EV
Evangelina 1 year ago
Hmm, I'm a bit unsure about this one. I know the HTTP Listener can handle correlation IDs, but I'm not sure which specific option is the correct answer. I'll need to review the documentation on this component.
SE
Selene 1 year ago
I think this is a pretty straightforward question. The key is to understand how the HTTP Listener component works and what options are available for handling correlation IDs.
OL
Olga 1 year ago
D seems a bit too good to be true. I doubt the correlation ID is returned by default. C is the way to go, for sure.
MA
Malinda 1 year ago
I was thinking option B would work, but after reading the question again, I think C is the correct answer. Gotta love those cusMalinda policies!
CA
Cary 1 year ago
Option C seems like the right choice here. Configuring a custom correlation policy is the way to go when you need to return a specific correlation ID in the response header.
RA
Raymon 1 year ago
↳ replying to Cary
I think option C is the best choice.
0/2000 characters

Save Cancel