Weekend Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free Salesforce Comm-Dev-101 Practice Exam with Questions & Answers | Set: 5

Questions 41

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.propertiesfiles?

Options:
A.

cartridge/templates/resources

B.

cartridge/resources

C.

cartridge/templates/resources/fr

Salesforce Comm-Dev-101 Premium Access
Questions 42

Screen image with “Active” “Log Category” and “Log Level” along the top. Under the log category are three lines. On the first line, there is an empty log category field. To the right of this empty field is the word “Info” under the log level. On the second line, the word “root” is under the log category and to the right of that is the word “Warn” under the log level. On the third line, a checked box is under “Active” with “myLogCategory” under the “log category” and to the right of that is the word “Info” under the log level. Beneath this information is the header “Custom Log Targets. Under this header is an empty space for an email with the Text “Messages with log level FATAL can be sent to email recipients” Below this is a list of log file to select log levels written to files. The following love levels are selected: “Fatal”, “Error”, and “Warn” and the following log levels are not checked: “Info” and “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?

Options:
A.

Change the Log Level for myLogCategory to DEBUG.

B.

Check the DEBUG box in the Log Files section.

C.

Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in the Log Files section.

Questions 43

Which is an appropriate use of the < isif > ISML tag that follows B2C Commerce and SFRA best practices?

Options:
A.

Display a section of the page to logged users only.

B.

Implement involved business logic through conditional statements.

C.

Redirect users to the registration page if they are not logged in.

Questions 44

A client has a requirement to allow users on the Storefront to filter by a newly created attribute. Which is necessary to achieve this?

Options:
A.

Add a new Search Refinement Definition.

B.

Set the attribute as Searchable.

C.

Change the productsearchrefinebar.isml template.

Questions 45

A developer is implementing new Page Designer content on a merchant ' s Storefront and adds the line below to the setupContentSearch function in the searchHelpers.js file.

apiContentSearchModel.setFilteredByFolder(false);

What does this achieve?

Options:
A.

Enables searching to find Page Designer content assets that are not in folders.

B.

Extends the ContentSearchModel to allow the folder filter.

C.

Prevents Page Designer pages and components from being searchable.

Questions 46

Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.

Which code snippet completes this requirement?

Options:
A.

this.status= ' NO_FILES_FOUND ' ;returnthis;

B.

varStatus=require( ' dw/system/Status ' );returnnewStatus(Status.OK, ' NO_FILES_FOUND ' );

C.

varstatus={success: ' OK ' ,message: ' NO_FILES_FOUND ' };returnstatus;

Exam Code: Comm-Dev-101
Certification Provider: Salesforce
Exam Name: Salesforce Certified B2C Commerce Developer
Last Update: Sep 20, 2026
Questions: 154