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 B2C Commerce Developer Topic 5 Question 66 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 66
Topic #: 5
[All B2C Commerce Developer Questions]

Given the following snippet:

Server.append( 'Show' , function (req, res, next) )

According to SFRA, which two options shows a correct way to complete the code above in order to provide

data to the response using a controller?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Shelba
2 days ago
I'm a bit torn between A and C, but I think I'll go with A. Setting the viewData feels more explicit and easier to maintain.
upvoted 0 times
...
Lindsey
3 days ago
Haha, Option D looks like someone just mashed the keyboard. I don't think that's going to work at all!
upvoted 0 times
...
Tanesha
7 days ago
I'm leaning towards Option C. Directly passing the data object to the render function seems more concise and straightforward.
upvoted 0 times
...
Andra
19 days ago
Option A looks good to me. Setting the viewData and then rendering the page seems like the right way to go.
upvoted 0 times
Marsha
4 days ago
User2: I agree, that's the correct way to provide data to the response using a controller.
upvoted 0 times
...
Gregoria
7 days ago
User1: Option A looks good to me. Setting the viewData and then rendering the page seems like the right way to go.
upvoted 0 times
...
...
Laila
21 days ago
I'm not sure, but I think A and C could also be correct.
upvoted 0 times
...
Lindsey
23 days ago
I agree with Teri, A and B seem to be the correct options.
upvoted 0 times
...
Teri
29 days ago
I think the correct answers are A and B.
upvoted 0 times
...

Save Cancel