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 Platform Architect (Mule-Arch-201) Exam - Topic 8 Question 22 Discussion

Posted by Renay on Dec 09, 2024 at 08:27 AM

An existing Quoting API is defined in RAML and used by REST clients for interacting with the quoting engine. Currently there is a resource defined in the RAML that allows the creation of quotes; however, a new requirement was just received to allow for the updating of existing quotes.

Which two actions need to be taken to facilitate this change so it can be processed?

Choose 2 answers

Suggested Answer: A, C

To accommodate the new requirement of allowing updates to existing quotes, the following actions should be taken:

Update the RAML Definition (Option C):

The RAML specification defines the structure and behavior of the API. Adding a new method (such as PUT or PATCH) for updating quotes requires modifying the RAML to include this new endpoint. This ensures the API specification is up-to-date and accurately reflects the new functionality.

Update the API Implementation (Option A):

Once the RAML is updated, the backend API implementation must also be modified to handle the new update requests. This could involve adding logic to process and validate update requests, connect to necessary backend resources, and apply the changes to existing quotes.

of Incorrect Options:

Option B (removing and creating new clients) is unnecessary; client applications can remain as they are, with no need for complete replacement.

Option D (deprecating existing versions) may not be required if backward compatibility is maintained.

Option E (adding a new policy) does not facilitate functional changes and is unrelated to implementing the update feature.

Reference For more details on updating RAML definitions and API implementations, refer to MuleSoft's API Design documentation on RAML and RESTful API practices.


Get Premium Salesforce Certified MuleSoft Platform Architect (Mule-Arch-201) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
33 comments · newest first
HO
Holley 11 months ago
Adding a new API policy could help, but is it really required?
LI
Lizbeth 11 months ago
Wait, do we really need to deprecate existing versions? That sounds risky.
WI
Wilda 12 months ago
Removing old client apps seems unnecessary. Why not just update them?
GE
Gerald 12 months ago
Agree, updating the API implementation is a must too!
AN
Andra 1 year ago
Definitely need to update the RAML with new method details for the update request.
KI
King 1 year ago
Adding a new API policy sounds relevant, but I feel like updating the RAML is more critical for this change.
GR
Graham 1 year ago
I’m a bit confused about whether we need to remove old client applications. That seems excessive just for an update.
IZ
Izetta 1 year ago
I remember we practiced a similar question where we had to update an API. Updating the API implementation seems like a must-do step.
JA
Jacqueline 1 year ago
I think we definitely need to update the RAML with the new method details for the update request, but I'm not sure about the other option.
SH
Shasta 1 year ago
Adding a new API policy to API Manager is a good idea to control access to the updated endpoint. That way we can manage the changes more effectively.
AI
Aide 1 year ago
Deprecating existing versions of the API in Exchange seems like an unnecessary step. We should be able to make the changes without impacting the current version.
CR
Craig 1 year ago
I think the key here is to focus on the RAML and API implementation changes. The client applications should be able to handle the new update functionality without needing to be completely replaced.
FE
Felice 1 year ago
Hmm, I'm a bit unsure about the client application piece. Do we really need to remove the old ones and create new ones? That seems like a lot of extra work.
ED
Eden 1 year ago
This seems straightforward. I'd start by updating the RAML to include the new update method, then make the corresponding changes to the API implementation.
PI
Pilar 2 years ago
Are you kidding me? Deprecating the existing API version? That's like trying to force everyone to use your new smartphone by shutting down the old landlines. C and A are the way to go, my dudes.
TR
Tran 2 years ago
↳ replying to Pilar
A) Update the API implementation to accommodate the new update request
LA
Lawanda 2 years ago
↳ replying to Pilar
C) Update the RAML with new method details for the update request
MI
Mitsue 2 years ago
I'm going with C and A. Updating the RAML and the API implementation are essential steps. The other options just sound like overkill or busywork.
MI
Mila 2 years ago
↳ replying to Mitsue
Updating the RAML with new method details and accommodating the new update request in the API implementation are the most important steps.
TA
Tammara 2 years ago
↳ replying to Mitsue
Adding a new API policy could be helpful, but not as essential as updating the RAML and API implementation.
RE
Remedios 2 years ago
↳ replying to Mitsue
Removing old client applications and deprecating existing versions seem unnecessary for this change.
OC
Ocie 2 years ago
↳ replying to Mitsue
I agree, updating the RAML and API implementation are the key actions needed.
ER
Erick 2 years ago
Hah, imagine if we had to remove all the existing client apps just to add a new endpoint. That would be like nuking the whole city to get rid of a mouse. C and A are clearly the way to go.
KI
Kirby 2 years ago
↳ replying to Erick
Agreed, C and A are definitely the best actions to take in this situation.
CO
Cornell 2 years ago
↳ replying to Erick
Yeah, removing all client apps would be overkill. Updating the RAML and API implementation is the way to go.
MA
Magnolia 2 years ago
I don't think we need to remove old client applications. We can just update them to account for the changes.
GE
Gerry 2 years ago
Should we deprecate existing versions of the API in Exchange as well?
RO
Rosendo 2 years ago
I agree with Tarra. We also need to update the RAML with new method details.
ES
Essie 2 years ago
Hmm, I think C and A are the right answers here. You can't just update the API without also updating the RAML to reflect the changes. And adding a new policy in the API Manager seems unnecessary.
CA
Carylon 2 years ago
Obviously, we need to update the RAML and the API implementation to handle the new update request. I'm not sure why we would need to remove old client apps or deprecate the existing API version.
DI
Dianne 2 years ago
↳ replying to Carylon
C) Update the RAML with new method details for the update request
TY
Ty 2 years ago
↳ replying to Carylon
A) Update the API implementation to accommodate the new update request
TA
Tarra 2 years ago
I think we need to update the API implementation for the new update request.
0/2000 characters

Save Cancel