Salesforce B2C Commerce Developer with SFRA - CCD-102 Exam Practice Test
In Log Center, a developer notes a number of Cross Site Request Forgery (CSRF) log entries. The developer knows that this happens when a CSRF token is either not found or is invalid, and is working to remedy the situation as soon as possible.
Which two courses of action might solve the problem?
Choose 2 answers
Which two courses of action might solve the problem?
Choose 2 answers
Correct Answer: C,D
A retailer notices that the Account Addresses page is showing the wrong shopper's address.
Which tool should the developer start with to identify the issue?
Which tool should the developer start with to identify the issue?
Correct Answer: C
A merchant has complained to the developers that some products are not appearing in the storefront and has asked them to diagnose and solve the issue.
Which two factors might be causing a product to be hidden?
Choose 2 answers
Which two factors might be causing a product to be hidden?
Choose 2 answers
Correct Answer: B,D
The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.
What is the correct folder to store the associated .properties files?
What is the correct folder to store the associated .properties files?
Correct Answer: B
The developer wants to be able to view DEBUG
The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?
The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?
Correct Answer: C
A developer wants to add a link to the My Account Page.
What is the correct code to accomplish this?
What is the correct code to accomplish this?
Correct Answer: C
A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.
Which statement should the Developer use to lazy load scripts?
Which statement should the Developer use to lazy load scripts?
Correct Answer: C
What is accomplished by the code below?


Correct Answer: B
A developer needs to show only car accessories when shoppers use the search term car accessories and exclude technology accessories and household accessories.
Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?
Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?
Correct Answer: C
The developer needs to add custom category debug logging into the "contact'' script, to ensure that a third-party service call responds as expected.
Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

A)

B)

C)

Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

A)

B)

C)

Correct Answer: B
Given the above OCAPI definitions, which permission or permissions apply?


Correct Answer: B
A developer wants to use an external application to manage their stores information (such as opening hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are saved.
What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?
What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Given the SFRA Controller below:

Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?

Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?
Correct Answer: C
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
Correct Answer: C
A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purposes is to display updated information to the user when the request is completed, without otherwise modifying the appearance of the current page.
According to SFRA practices, which method best supports this objective?
According to SFRA practices, which method best supports this objective?
Correct Answer: A