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
1 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
2 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
6 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
18 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
3 days ago
User2: I agree, that's the correct way to provide data to the response using a controller.
upvoted 0 times
...
Gregoria
6 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
20 days ago
I'm not sure, but I think A and C could also be correct.
upvoted 0 times
...
Lindsey
22 days ago
I agree with Teri, A and B seem to be the correct options.
upvoted 0 times
...
Teri
28 days ago
I think the correct answers are A and B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77