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 1 Question 45 Discussion

A custom policy needs to be developed to intercept all cutbound HTTP requests made by Mule applications.Which XML element must be used to intercept outbound HTTP requests?
B) http-policy:source
A) It is not possible to intercept outgoing HTTP requests, only inbound requests
C) htt-policy:operation
D) http-policy:processor

Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Exam - Topic 1 Question 45 Discussion

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

A custom policy needs to be developed to intercept all cutbound HTTP requests made by Mule applications.

Which XML element must be used to intercept outbound HTTP requests?

Show Suggested Answer Hide Answer
Suggested Answer: B

The http-policy:processor element is used to intercept outbound HTTP requests made by Mule applications. It allows customizing the request before it is sent to the target API and modifying the response after it is received from the target API. Reference: https://docs.mulesoft.com/api-manager/2.x/policy-mule4-custom-policy#policy-xml-file


Contribute your Thoughts:

0/2000 characters
Cristen
13 days ago
I lean towards D. The processor is crucial for handling requests.
upvoted 0 times
...
Janessa
18 days ago
I disagree, I believe it's B. The source element is key for interception.
upvoted 0 times
...
Daren
23 days ago
I think it's option A. Outbound requests can't be intercepted.
upvoted 0 times
...
Dante
29 days ago
C) http-policy:operation is what I thought!
upvoted 0 times
...
Joesph
1 month ago
Wait, are we sure about this? Seems tricky!
upvoted 0 times
...
Rosamond
1 month ago
I agree with Aimee, B sounds right.
upvoted 0 times
...
Mabel
1 month ago
No way, it’s definitely A) not possible!
upvoted 0 times
...
Aimee
2 months ago
I think it's B) http-policy:source.
upvoted 0 times
...
Beatriz
2 months ago
I remember the instructor saying something about http-policy:source, but I’m not completely confident that’s the right choice for outbound requests.
upvoted 0 times
...
Vincenza
2 months ago
I thought it was the http-policy:operation, but now I'm second-guessing myself after reviewing the options.
upvoted 0 times
...
Kasandra
2 months ago
I feel like we discussed something similar in class, but I can't recall if it was about the source or the processor element.
upvoted 0 times
...
Ramonita
2 months ago
I think I remember that we can intercept outbound requests, but I'm not sure which XML element to use.
upvoted 0 times
...

Save Cancel