Exam Details

  • Exam Code
    :CCD-102
  • Exam Name
    :B2C Commerce Developer with SFRA
  • Certification
    :Salesforce Developer
  • Vendor
    :Salesforce
  • Total Questions
    :60 Q&As
  • Last Updated
    :May 12, 2024

Salesforce Salesforce Developer CCD-102 Questions & Answers

  • Question 51:

    Why Should a Digital Developer use ProductSearchModel.getProducts() instead Of Category.getOnlineProduccs () to access products?

    A. It is more readable code.

    B. It has fewer lines of code.

    C. It uses the search index.

    D. It reduces accesses to the application server.

  • Question 52:

    A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

    How should the Developer change the request?

    A. Change the HTTP method to GET.

    B. Change the HTTP method to PUT.

    C. Change the URI to /dw/shop/vl8_3/products/creative-zen-v.

    D. Include an authentication token in the request.

  • Question 53:

    A Digital Developer adds the following line of code to a script. dw.system.Logger.getLogger{'login').debug {"Login API has succeeded"); The code executes without error; however, the log file on disk does NOT contain the log message. Which two actions should be completed to write the log message to disk? Choose 2 answers

    A. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.

    B. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.

    C. Archive old log files to make room in the log directory.

    D. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.

  • Question 54:

    A Digital Developer is adding support for an additional language other than the default. The locale code for

    the new language is de.

    In which folder should the developer place resource bundles?

    A. templates/resources

    B. templates/default/resources

    C. templates/de

    D. templates/default

  • Question 55:

    The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.

    How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?

    A. addressForm.invalidateFormElement(addressForm.addressid);

    B. addressForm.addressid.invalidateFormElement();

    C. addressForm.addressid.invalidateFormElement = true;

    D. addressForm.invalidateFormElement("addressid");

  • Question 56:

    A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection's target version directory. Which action potentially solves this problem?

    A. Set the active code version to use the latest compatibility mode.

    B. Remove invalid characters from cartridge file and folder names.

    C. Set the server connection's target version directory to the active code version.

    D. Remove invalid characters from the code version's name.

  • Question 57:

    Given the file structure below, which ISML method call renders the customLandingPage template?

    A. ISML.renderTemplate('content/custom/customLandingPage');

    B. ISML.renderTernplate('cartridge/ternplates/default/content/custom/customLandingPage');

    C. ISML('content/custom/customLandingPage');

    D. ISML.render('content/custom/customLandingPage');

  • Question 58:

    A Digital Developer needs to check for product inventory in a specific inventory list using the Open

    Commerce API.

    An example request URL is:

    Which rescurce_id value enables the appropriate resource?

    A. /products/*

    B. /inventory_lists/**

    C. /inventory-lists/*

    D. /inventory_list_search

  • Question 59:

    A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a

    functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the

    controller when it is written.

    What must be done in order to use the debugger with the new controller when it is written?

    A. Modify the debugger configuration and use the existing pipeline debugger.

    B. Create and use a new controller debug configuration.

    C. Create and use a new script debug configuration.

    D. Use the existing pipeline debugger.

  • Question 60:

    A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business

    Manager module.

    Which business goal does this accomplish?

    A. Exclude pre-order products from search results.

    B. Exclude products from search results if Available to Sell (ATS) = 0.

    C. Exclude back-ordered products from showing on the website.

    D. Block displaying the product detail page if Available to Sell (ATS) = 0.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CCD-102 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.