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 ARC-101 Exam - Topic 9 Question 67 Discussion

Actual exam question for Salesforce's ARC-101 exam
Question #: 67
Topic #: 9
[All ARC-101 Questions]

Northern Trail Outfitters wants to improve the quality of call-outs from Salesforce to their

REST APIs. For this purpose, they will require all API clients/consumers to adhere to RESTAPI

Markup Language (RAML) specifications that include field-level definition of every API

request and response payload. RAML specs serve as interface contracts that Apex REST API

Clients can rely on.

Which two design specifications should the Integration Architect include in the integration

architecture to ensure that Apex REST API Clients unit tests confirm adherence to the RAML

specs?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Contribute your Thoughts:

0/2000 characters
Micah
3 days ago
I’m not sure about C, seems a bit redundant to me.
upvoted 0 times
...
Armando
8 days ago
Totally agree with D, it’s essential for compliance!
upvoted 0 times
...
Lanie
27 days ago
Wait, are we really expecting all clients to follow RAML?
upvoted 0 times
...
Sharen
1 month ago
I think A could work too, but not as reliable.
upvoted 0 times
...
Tegan
1 month ago
Definitely B and D for solid testing!
upvoted 0 times
...
Layla
1 month ago
A and D, no doubt. Gotta keep those API clients in line!
upvoted 0 times
...
Elza
2 months ago
Haha, mock responses? Sounds like a party! A and D all the way.
upvoted 0 times
...
Louis
2 months ago
A and D are the way to go. Anything less and you're just asking for trouble.
upvoted 0 times
...
Almeta
2 months ago
A and D for sure. Mocking is the way to go, saves a ton of headaches.
upvoted 0 times
...
Chu
2 months ago
Definitely A and D. Gotta love those mock responses!
upvoted 0 times
...
Lezlie
2 months ago
A and D are the correct answers. Mocking the API responses is key to ensuring the clients adhere to the RAML specs.
upvoted 0 times
...
Samuel
2 months ago
I definitely remember that we should mock responses based on RAML, so option D seems like a solid choice for ensuring compliance.
upvoted 0 times
...
Arthur
3 months ago
I'm feeling pretty confident about this one. The key is using the HttpCalloutMock to simulate the RAML-compliant responses, and then calling that mock from the Apex REST API Clients' unit tests.
upvoted 0 times
...
Hayley
3 months ago
Yeah, that makes sense. The Apex REST API Clients should be calling the HttpCalloutMock to get the mock responses, not directly calling the Apex REST API. That way they can confirm their code adheres to the RAML specs.
upvoted 0 times
...
Mertie
3 months ago
I think implementing HttpCalloutMock to return responses per RAML specs is crucial. It aligns with what we practiced in our last session.
upvoted 0 times
...
Ilona
3 months ago
Okay, I think I've got it. We need to implement the HttpCalloutMock to return responses that match the RAML spec, and then call that mock from the Apex REST API Clients in their unit tests.
upvoted 0 times
...
Kizzy
4 months ago
I feel like calling the Apex REST API Clients in a test context could be useful, but I can't recall if it directly confirms adherence to RAML.
upvoted 0 times
...
Rose
4 months ago
I remember that we discussed the importance of using HttpCalloutMock for testing, but I'm not sure if it should be required for all clients.
upvoted 0 times
...
Lashunda
4 months ago
I'm a bit confused about the difference between the Apex REST API Clients and the HttpCalloutMock. Can someone clarify how those two components work together?
upvoted 0 times
...
Sarah
4 months ago
This question seems pretty straightforward. I think the key is to focus on the RAML specs and how to ensure the Apex REST API Clients adhere to them.
upvoted 0 times
Reuben
3 months ago
I agree, focusing on RAML is crucial.
upvoted 0 times
...
...

Save Cancel