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 (Mule-Dev-201) Exam - Topic 2 Question 17 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 17
Topic #: 2
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

Show Suggested Answer Hide Answer
Suggested Answer: C

Correct answer is Change the method attributes value to 'POST'.

It can be fixed in either of the two ways as below.

1) Changing method attribute to POST in ClientRequestFlow

2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)


Contribute your Thoughts:

0/2000 characters
Jesus
3 months ago
I’m not sure about the '*', seems a bit too broad, right?
upvoted 0 times
...
Kayleigh
3 months ago
Changing the path to '/api/ship' could also be a solution.
upvoted 0 times
...
Yuki
3 months ago
Wait, why would we change the protocol to 'HTTPS'? Isn't it already secure?
upvoted 0 times
...
Luz
4 months ago
Definitely agree with that! 'POST' is the way to go.
upvoted 0 times
...
Lavonda
4 months ago
I think changing the allowed method to 'POST' makes sense.
upvoted 0 times
...
Theron
4 months ago
I don't think changing the protocol to 'HTTPS' would solve the method not allowed error, but I could be wrong.
upvoted 0 times
...
Bette
4 months ago
Changing the path to '/api/ship' sounds familiar, but I feel like the method attribute is more critical in this case.
upvoted 0 times
...
Stephaine
4 months ago
I remember a similar question where we had to adjust the method attribute, but I can't recall if it was to '*' or something else.
upvoted 0 times
...
Stephaine
5 months ago
I think we might need to change the allowed method attribute to 'POST', but I'm not entirely sure if that's the only thing we need to check.
upvoted 0 times
...
Alex
5 months ago
Alright, time to put on my problem-solving hat. Based on the information provided, it seems like the HTTP method being used in the ClientRequestFlow is not compatible with the ShippingFlow. I'll need to experiment with the different options to see which one resolves the issue.
upvoted 0 times
...
Cordell
5 months ago
I think the key here is to look at the allowed methods for the ShippingFlow. The error indicates the current method is not allowed, so I'll need to check that and update the ClientRequestFlow accordingly.
upvoted 0 times
...
Arminda
5 months ago
Okay, let's see here. The question is asking about which attribute I would change in the ClientRequestFlow to make this work. I'm guessing it has something to do with the HTTP method being used.
upvoted 0 times
...
Eveline
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the flow diagrams and think through the possible causes of the HTTP:METHOD_NOT_ALLOWED error.
upvoted 0 times
...
Carissa
5 months ago
Okay, I think I've got this. The JSON query is checking for the existence of the `aws_s3_bucket` resource, so the correct tab would be the "Compliance Standards" tab where you define the policy rules.
upvoted 0 times
...
Alisha
1 year ago
Ah, the classic HTTP:METHOD_NOT_ALLOWED error. Happens to the best of us. Option C is the way to go, unless you want to be 'shipp-ing' your troubles to someone else.
upvoted 0 times
...
Marjory
1 year ago
Wait, what if the client is trying to send a GET request? Then Option C wouldn't work. Better keep it flexible with Option A, who knows what the client might try next?
upvoted 0 times
Lavonda
1 year ago
Alease is right, let's keep it flexible with Option A.
upvoted 0 times
...
Alease
1 year ago
But what if the client is trying to send a GET request?
upvoted 0 times
...
Kristal
1 year ago
I think we should change the method attribute value to '*'.
upvoted 0 times
...
...
Lorenza
1 year ago
Option D is definitely not the right choice here. HTTPS is for secure communication, not fixing a method mismatch. I agree with the other candidates, Option C is the way to go.
upvoted 0 times
Tom
1 year ago
I see your point, but I still think Option C is the best choice, changing the allowed method attributes value to 'POST'.
upvoted 0 times
...
Lorean
1 year ago
I disagree, Option B seems more appropriate, changing the path attribute value to '/api/ship'.
upvoted 0 times
...
France
1 year ago
I think Option A might work too, changing the method attribute value to '*'.
upvoted 0 times
...
...
Ronnie
1 year ago
I think changing the allowed method attributes value to 'POST' might also work, as it specifies the method allowed for the request.
upvoted 0 times
...
Catarina
1 year ago
Hmm, I'm not sure about that. Changing the method attribute to '*' might work, but it's a bit of a broad solution. I'd lean towards Option C to be more specific.
upvoted 0 times
Orville
1 year ago
Changing the method attribute to '*' could work, but Option C is more focused on the specific issue.
upvoted 0 times
...
Paul
1 year ago
I agree, Option C seems like a targeted solution to the HTTP:METHOD_NOT_ALLOWED error.
upvoted 0 times
...
Ciara
1 year ago
I think Option C is the way to go. It specifies the allowed method more precisely.
upvoted 0 times
...
...
Wilda
1 year ago
The issue seems to be with the HTTP method, so I think Option C is the way to go. Changing the allowed method to POST should resolve the problem.
upvoted 0 times
Willard
1 year ago
Let's try changing the protocol attribute value to \'HTTPS\' and see if that resolves the error.
upvoted 0 times
...
Regenia
1 year ago
I think changing the method attribute value to \'*\' might also work.
upvoted 0 times
...
Frank
1 year ago
But what if we change the path attribute value to \'/api/ship\' instead?
upvoted 0 times
...
Alonzo
1 year ago
I agree, changing the allowed method to POST should fix the issue.
upvoted 0 times
...
...
Sherita
1 year ago
I agree with Brett, changing the method attribute value should solve the issue.
upvoted 0 times
...
Brett
1 year ago
I think the correct attribute to change is the method attribute value to '*'.
upvoted 0 times
...

Save Cancel