Salesforce CCD-102 Practice Test Pdf Exam Material [Q17-Q41]

Share

Salesforce CCD-102 Practice Test Pdf Exam Material

CCD-102 Answers CCD-102 Free Demo Are Based On The Real Exam


Salesforce CCD-102 exam covers several topics, including B2C Commerce architecture, SFRA development, data management, and site design and customization. To pass the exam, the candidate must demonstrate their expertise in these areas by correctly answering a minimum of 65% of the questions.


Salesforce CCD-102 (B2C Commerce Developer with SFRA) Exam is a certification program designed for professionals who specialize in developing Salesforce B2C Commerce Cloud solutions. B2C Commerce Developer with SFRA certification validates the skills and knowledge required to develop and implement scalable, robust, and secure B2C Commerce solutions using the Salesforce Commerce Cloud platform. By earning this certification, developers can demonstrate their expertise in building customized online shopping experiences that drive customer satisfaction and revenue growth.

 

NEW QUESTION # 17
A Retailer has a single storefront site and a Product Management System (PIM). The Pin is Generating the master catalog and storefront categorization catalog every day and it uploading them to SFTP how should the Architect configure the import job flows following the best practices?

  • A. 1st flow is global to download the files from SFTP. 2nd flow is global to import the storefront catalog 3rd flow K global to Import the master catalog.
  • B. 1st flow is assigned to the site to download the files from SFTP. 2nd flow is assigned to the site to Import the master catalog. 3rd flow K global to Import the storefront catalog.
  • C. 1st flow is assigned to the site to download the files from SFTP. 2nd flow is assigned to the site to Import the storefront catalog 3rd flow It global to Import the master catalog.
  • D. 1st flow is global to download the files horn SFTP. 2nd flow is global to import the master catalog. 3rd flow Is global to Import the storefront catalog.

Answer: D


NEW QUESTION # 18
A developer has a B2C site and a merchant requirement to add a new locale to it.
What are the steps to enable the locale in the Storefront?

  • A. Create, configure, and activate the locale under Global Preferences section.
  • B. Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.
  • C. Create and configure the locale under Global Preferences section and activate it in Site Preferences.

Answer: C


NEW QUESTION # 19
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?

  • A. A PATCH request to the Stores Data OCAPI.
  • B. A PUT request to the Stores Data OCAPI.
  • C. A POST request to the Stores Data OCAPI.
  • D. An UPDATE request to the Stores Data OCAPI.
  • E. Siempre que sea un objeto standard sera put en vez de post

Answer: B


NEW QUESTION # 20
Reference the following code snippets that allow a form to function correctly.

Which code should a developer insert at the EXPRESSION placeholder m the ISML template snippet above to have the form work as expected?

  • A. pdict.newslettersFrom
  • B. Pdict, newsletter
  • C. sowslettersform

Answer: A


NEW QUESTION # 21
A Digital Developer has Identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

  • A. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
  • B. Avoid using an Iterator and use a Collection instead.
  • C. Use a system attribute instead of the isOnSaleFlag custom attribute.
  • D. Break the process into separate loops.

Answer: A


NEW QUESTION # 22
A client has two B2C Commerce sites in the same instance: one for the U.S. market, the other for the European market. They offer free gift wrapping on a selection of products. For each order, five products can be wrapped in the U.S., but only three products can be wrapped in the European region.
How should a developer allow the merchant to independently adjust this number?

  • A. Create a new custom preference by extending the Site Preference object type.
  • B. Add a new Campaign using the Online Marketing section of the Business Manager.
  • C. Configure a new localizable content slot with a market-specific value.
  • D. Select the corresponding option in the system preference for Orders.

Answer: C


NEW QUESTION # 23
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? Choose 2 answers

  • A. Disable multi-threading.
  • B. Configure a timeout for the script pipelet.
  • C. Use asynchronous import or export jobs.
  • D. Use synchronous import or export jobs

Answer: B,C


NEW QUESTION # 24
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

  • A. res.render('/content/myPage',{
    data: myDataObject
    });
    next();
    });
  • B. res.setViewData ({
    data: myDataObject
    });
    res.render('/content/myPage');
    next();
    });
  • C. res.render('/content/myPage');
    next();
    }).append{(
    Data:myDataObject
    });
  • D. res.viewData = {
    data: myDataObject
    };
    res.render('/content/myPage');
    next();
    });

Answer: A


NEW QUESTION # 25
Consider the following information:
* A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?

  • A. The Search Refinement definition is not set up for the Women category
  • B. The Search Refinement definition is not set up for the New Arrivals Category.
  • C. The Search Refinement definitions is not set up for the Root Category
  • D. There are conflicting Search Refinement definitions for Clothing and one of its parent categories

Answer: D


NEW QUESTION # 26
A developer is remotely fetching the reviews for a product.
Assume that it's an HTTP GET request and caching needs to be implemented, what consideration should the developer keep in mind for building the caching strategy?

  • A. Cache the HTTP service request
  • B. Remote include with caching only the reviews
  • C. Use custom cache
  • D. Cached remote include with cache of the HTTP service

Answer: A


NEW QUESTION # 27
Which two methods are efficient and scalable? (Choose two.)

  • A. Category.getProducts()
  • B. ProductMgr.queryAllSiteProducts()
  • C. ProductSearchHit.getRepresentedProducts()
  • D. ProductSearchModel.getProductSearchHits()

Answer: A,D


NEW QUESTION # 28
Below is a form definition snippet from the newsletter.xml file:
<?xml version="1.0"?>
<form xmlns=http://www.demandware.com/xml/form/2008-04-15>
<field formid="email" lavel="Email" type="String" mandatory="True" max-length="50" />
</form>
Which line of code creates a JSON object to contain the form data?

  • A. Server.forms.getForm('dwfrm_newsletter')
  • B. Server.form.getForm('newsletter');
  • C. Server.forms.getForm('newsletter');
  • D. Server.form.getForm('dwfrm_newsletter')

Answer: C

Explanation:
En el controller:

En el Formulario:


NEW QUESTION # 29
An Order Management System (OMS) handles orders from multiple brand specific sites, as part of the processing, the OMS sends the processing detail to be added at notes to the orders in B2C Commerce. These processing details are captured temporarily in custom objects, and are later processed by a batch Job that:
* Processes the custom object to extract the orderid and note data.
* Tries to load the order.
* If the order is not found, it deletes the custom object and moves on.
* If the order is found, it updates notes In the Order, upon successful update of this order, it deletes the custom object.
There is an Issue reported that the job is constantly failing and custom objects are growing in number. On investigating the production look the message below is being logged on each failure:

What are three solution The Architect can take to fix this issue without losing meaningful data?
Choose 3 answers

  • A. Engage B2C Commerce Support Team to soften the quota limit for ''object.OrderPO.relation.notes''
  • B. Take the backup of the Order as XML and delete the notes from Order to ensure on the next job run the custom objects are getting processed.
  • C. Using BM site import/export, soften the
    <quota id=''object.orderPo.relation,notes''> <custom-action>warn<custom-action> </quots> to make sure that neither order notes are lost and custom object is processed.
  • D. Take the backup of the custom object and delete the custom object to ensure on the next job run the custom objects are getting processed.
  • E. Take the backup of the Order as XML and delete the Order to ensure on the next job run, the custom objects are getting processed.

Answer: A,B,C


NEW QUESTION # 30
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 server connection's target version directory to the active code version.
  • B. Remove invalid characters from the code version's name.
  • C. Remove invalid characters from cartridge file and folder names.
  • D. Set the active code version to use the latest compatibility mode.

Answer: A


NEW QUESTION # 31
A Digital Developer wants to selectively retrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?

  • A. Use import/export in Business Manager.
  • B. Use OCAPI and invoke it in native language.
  • C. Use WebDAV Client to retrieve products.
  • D. Create a webservice to retrieve products.

Answer: C


NEW QUESTION # 32
The development team is building a complex LINK cartridge for a hosted checkout solution. The provider s database is used as a single source of truth, but the information in the Basket on B2C Commerce side needs to be synchronized. This is implemented asynchronously the back end when the customers interact will the hosted checkout page and change their shipping/biding details.
As an Architect you have to advise the development team with how to implement the logging to ensure that there will be a mechanism available to allow troubleshooting in the case something goes wrong on production.
Which solution should the Architect suggest?

  • A. Get logger for cartridge-specific category. Report Info level message for the back-end asynchronous communication between both systems. Report all errors at error level message.
  • B. Report info level message for the back-end asynchronous communication between both systems Report all errors at error level message.
  • C. Report debug level message for the back-end asynchronous communication between both systems. Report al errors at error-level message.
  • D. Get logger for cartridge specific category. Report debug level message for the back end asynchronous communication between both systems. Report all errors at error level message.

Answer: A


NEW QUESTION # 33
A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:

Which modification allows the requests to successfully execute?

  • A. Change the "methods" value to: ["get", "post"].
  • B. Change the "resource_id" value to: "/baskets/*/items".
  • C. Change the "write_attributes" value to: " (+items) ".
  • D. Change the "read_attributes" value to: " (items) ".

Answer: B


NEW QUESTION # 34
The developer has been given the following business requirement:
* The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth category equals or is child of electronics-televisions.'
* The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.
What method accomplishes this while following best practices?

  • A. Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTV" to the exclusion list for "Free Standard Ground Shipping."
  • B. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
  • C. Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.

Answer: A


NEW QUESTION # 35
The Client is planning to switch to a new Payment Service Provider (PSP). They have approached an Architect to understand the time and effort to Integrate the new PSP The PSP offers a LINK cartridge compatible with SiteGenesis Pipelines, but the Client's website is build on Controllers.
Which two options should the Architect take into consideration before starting analysis? Choose 2 answers

  • A. Reach out to the PSP development team and ask if a new cartridge version that supports controllers is under development
  • B. Produce a proof of concept converting the most essential pipelines into controllers and integrate the cartridge.
  • C. Look for a different PSP that supports controllers and would not require conversion efforts.
  • D. Estimate the effort and risk to convert the LINK cartridge from pipelines to controllers.

Answer: B,D


NEW QUESTION # 36
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?

  • A. npm run compile:js, npm run compile: scss, npm run compile:html
  • B. npm run compile:js, npm run compile:html, npm run clean
  • C. npm run compile:js, npm run compile:scss, npm run compile:fonts
  • D. npm run compile:scss, npm run compile:html, npm run clean

Answer: C


NEW QUESTION # 37
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts.
What does the Developer need to change in Business Manager to fulfill this requirement?

  • A. Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
  • B. Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
  • C. Credit cards in the Merchant Tools > Ordering > Payment Methods module.
  • D. Credit card exclusion rules in the CreditCardType.json configuration file.

Answer: C


NEW QUESTION # 38
A Digital Developer has been given a requirement to add fault tolerance to an existing web service integration that uses Service Framework. Administrators at Universal Containers need to be able to configure the timeout and rate limiting.
Which approach should the Developer use to implement the requirement?

  • A. Use the setTimeout method to execute fallback code if the request has NOT completed.
  • B. Implement a condition that checks to see if the response was empty and execute fallback code if true.
  • C. Implement a serviceUnavaiiableException exception handler to execute fallback code.
  • D. Create a site preference to store timeout settings and implement an IOException handler to execute fallback code.

Answer: C


NEW QUESTION # 39
A developer wants to import the data or different instances.
Which two types of data should the developer consider importing?
Choose 2 answers

  • A. Customers
  • B. Services
  • C. Catalog
  • D. Sites configurations
  • E. Metadata

Answer: D,E


NEW QUESTION # 40
A developer has a sandbox with code to log a message during execution, and the following code:

After the code executes, the developer does not see any log file with the message in the WebDAV folder.
What could the developer do to correct this issue?

  • A. Set the logging global preference to true AND set the root log level to debug.
  • B. Set the logging global preference to true AND check the box for Info under Log Files
  • C. Set the root log level to debug AND check the box for info under Log Files.

Answer: B


NEW QUESTION # 41
......


The Salesforce CCD-102 exam is tailored to meet the needs of developers who are looking to specialize in creating digital solutions for B2C customers. CCD-102 exam covers a broad range of topics, including B2C commerce concepts like catalogs, pricing, shopping carts, and checkout. Additionally, it covers advanced topics such as customer data management, customizing storefronts, and server-side development using Salesforce B2C Commerce.

 

CCD-102 [Jan-2024] Newly Released] Exam Questions For You To Pass: https://www.bootcamppdf.com/CCD-102_exam-dumps.html

Salesforce CCD-102 Exam: Basic Questions With Answers: https://drive.google.com/open?id=1DuC2MwXQHZFTFnSWSp_9UX2qZWDxw2D_