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 21:

    Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI). To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?

    A. dw.ocapi.shop.basket.afterPostShipment

    B. dw.ocapi.shop.order.afterPOST

    C. dw.ocapi.shop.order.validateOrder

    D. dw.ocapi.shop.basket.calculate

  • Question 22:

    Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID: One Model 103 container Five Model 611 containers Three Model 201 containers

    The Developer created these three products in the catalog. What is the next step in Business Manager to create "The Basics" as a combination?

    A. In the Product Bundles module, create a bundle named "The Basics."

    B. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.

    C. In the Product Sets module, create a product set named "The Basics."

    D. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.

  • Question 23:

    A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading a scripts at the start of the code execution. Which statement should the Developer use to lazy load scripts?

    A. import Package ( ) method

    B. local include

    C. require ( ) method

    D. $.ajax ( ) jQuery method

  • Question 24:

    Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?

    A.

    B. dw.util.CustomTagMgr.createCustomTag("mytag");

    C.

    D.

  • Question 25:

    What happens if the log file size limit is reached in custom logging?

    A. Logging is suspended for two hours.

    B. The log file rolls over and the last used log is overwritten.

    C. The log file is deleted and recreated from scratch.

    D. Logging is suspended for the day.

  • Question 26:

    A Digital Developer is working in a sandbox on a site named -est-site using the domain

    test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI)

    request that returns product information.

    By default, which URL format is a proper Open Commerce API for Sandbox?

    A. https:7www.test.com/dw/shop. vl8_3. products M1355?client_id=aaa...

    B. https: test.demandware.com/dw/shop products \I1355?client_id=aaa...

    C. http: ''www.test.com/s/test-site/sfc/shop products M1355?client_id=aaa...

    D. http: test.demandware.netstest-sitedwshop v!8_3 productsM1355?client_id=aaa...

  • Question 27:

    Which three object types can a developer import using the Merchant Tools > Content > Import and Export module in Business Manager? Choose 3 answers

    A. Folders

    B. Images and other static assets

    C. Products

    D. Content slots

    E. Content assets

  • Question 28:

    A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability. Which two solutions are possible options to reduce the unavailability of the service? Choose 2 answers

    A. Change the code that makes the request to set the throwOnError attribute, of the service, to be true.

    B. Modify the code that makes the request to the external service to be wrapped in a try / catch block.

    C. Increase the web service time out.

    D. Update the external service to have a faster response time.

  • Question 29:

    The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.

    Which statement correctly adds a log entry?

    A. Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);

    B. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);

    C. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);

    D. Logger.getErrorI_og().log('Unable to find Apple Pay payment instrument for order.'+paymentlnstruments);

  • Question 30:

    Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis

    checkout flow. This new attribute needs to be included as part of the standard order export.

    Aside from updating the HTML markup and form definition, which option contains all necessary steps to

    achieve this task?

    A. Add the new attribute to the";Orde"; system object. Modify the";COPlaceOrde"; controller to add this new attribute to the current session's";Orde"; object.

    B. Modify the";COPlaceOrde"; controller to update a CSV file in the IMPEX WebDAV directory with the order ID and comments. Modify the order export process to read information in the CSV file and include it as part of the export.

    C. Add the new attribute to the";Custome"; system object. Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Customer" object.

    D. Create a new custom object type for order comments that contains the attributes: order ID and comments. Modify the";COPlaceOrde"; controller to create a new order comments custom object upon order completion.

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.