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 Exam MuleSoft Platform Architect I Topic 8 Question 22 Discussion

Actual exam question for Salesforce's MuleSoft Platform Architect I exam
Question #: 22
Topic #: 8
[All MuleSoft Platform Architect I Questions]

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

Show Suggested Answer Hide Answer
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.


Contribute your Thoughts:

Pilar
11 days 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.
upvoted 0 times
...
Mitsue
26 days 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.
upvoted 0 times
Remedios
8 days ago
Removing old client applications and deprecating existing versions seem unnecessary for this change.
upvoted 0 times
...
Ocie
10 days ago
I agree, updating the RAML and API implementation are the key actions needed.
upvoted 0 times
...
...
Erick
27 days 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.
upvoted 0 times
Kirby
5 days ago
Agreed, C and A are definitely the best actions to take in this situation.
upvoted 0 times
...
Cornell
14 days ago
Yeah, removing all client apps would be overkill. Updating the RAML and API implementation is the way to go.
upvoted 0 times
...
...
Magnolia
29 days ago
I don't think we need to remove old client applications. We can just update them to account for the changes.
upvoted 0 times
...
Gerry
1 months ago
Should we deprecate existing versions of the API in Exchange as well?
upvoted 0 times
...
Rosendo
1 months ago
I agree with Tarra. We also need to update the RAML with new method details.
upvoted 0 times
...
Essie
1 months 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.
upvoted 0 times
...
Carylon
1 months 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.
upvoted 0 times
Dianne
20 days ago
C) Update the RAML with new method details for the update request
upvoted 0 times
...
Ty
24 days ago
A) Update the API implementation to accommodate the new update request
upvoted 0 times
...
...
Tarra
1 months ago
I think we need to update the API implementation for the new update request.
upvoted 0 times
...

Save Cancel