This page was exported from Free valid test braindumps [ http://free.validbraindumps.com ] Export date:Thu Apr 17 7:26:33 2025 / +0000 GMT ___________________________________________________ Title: Get Instant Access to CCD-102 Practice Exam Questions [Q61-Q85] --------------------------------------------------- Get Instant Access to CCD-102 Practice Exam Questions Reliable Study Materials & Testing Engine for CCD-102 Exam Success! To be eligible for the Salesforce CCD-102 certification exam, candidates should have a solid understanding of ecommerce concepts, experience with Salesforce Commerce Cloud, and proficiency in JavaScript, HTML, and CSS. It is also recommended that candidates have completed the Salesforce B2C Commerce Developer course and have hands-on experience in developing and customizing ecommerce sites.   QUESTION 61A 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?  Implement a serviceUnavaiiableException exception handler to execute fallback code.  Use the setTimeout method to execute fallback code if the request has NOT completed.  Create a site preference to store timeout settings and implement an IOException handler to execute fallback code.  Implement a condition that checks to see if the response was empty and execute fallback code if true. QUESTION 62A 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?  import Package ( ) method  local include  require ( ) method  $.ajax ( ) jQuery method QUESTION 63A developer wants to import the data or different instances.Which two types of data should the developer consider importing?Choose 2 answers  Services  Catalog  Customers  Metadata  Sites configurations QUESTION 64The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:* Sometimes desktop pages are being served to both desktop and mobile customers.* Sometimes mobile pages ate being served to both desktop and mobile customers.The page has caching implemented that depends; on promotions. SEC is very important and the site traffic is high.Which solution should the Architect select to resolve the issue without impacting the existing requirements?  Create customer groups for desktop and mobile users and uh remote includes based on these groups to render the mobile and desktop pages  Create customer groups for desktop and mobile users and empty promotions linked to these groups to ensure different cached versions of the page.  Disable caching for these pages to ensure that the correct template is used to render the mobile and desktop pages.  Change the URL structure to include desktop and mobile as URL parameters to ensure different cached versions of the page QUESTION 65A Digital Developer has Identified that the code segment below is causing performance problems.What should the Developer do to improve the code?  Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.  Use a system attribute instead of the isOnSaleFlag custom attribute.  Avoid using an Iterator and use a Collection instead.  Break the process into separate loops. QUESTION 66A developer is validating the pipeline cache and noticed that the PDP page is very low cached. The one parameter is snowing the position on the product fisting page upon checking the site and code.What should the developer adjust in order to improve the page cache hit ratio, keeping in mind that the client is Insisting on the parameter for their analytics?  Rework the implementation so it reads the parameter on client-side, passes it to the analytics and exclude It from cache parameters.  Add the key to the cache exclude parameters.  Rework the Implementation so it doesn’t depend on that parameter.  Rework the Implementation so the parameter is not passed In the URL and is read from the URL hash. QUESTION 67A 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?  Create a Synonym Dictionary entry: car accessories, household, technology.Use search mode Exact Match  Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology.Use search mode Exact Match.  Create a Synonym Dictionary entry: car accessories, household, technology.Use search mode First Word.  Create a Common Phrase Dictionary entry: car accessories.Use search mode Exact Match. QUESTION 68Business Manager has the configuration:* Active Log category is “root”* Log level of WARNThe code below is executing:var log = Logger.getLogger(“products”);Using this information, which two logs will be written?Choose 2 answers  log.warn(“This is a warn message”);  log.error(“This is an error message”);  log.info(“This is an info message”);  log.debugfThis is a debug message”); QUESTION 69Given the requirements:* To show the washing Instructions for a clothing product on a dedicated section the detail page* Washing instructions come from the product Information manager (PIM)* To have this attribute available to localize in the StorefrontWhich action must these requirements?  Create a custom attribute on the product system object and set it as localizable.  Add a resource file for every locale for which the attribute needs to be translated.  set the product system object type as localizable. QUESTION 70A developer is configuring Payment Methods on a storefront. Which of the following considerations should be kept in rmnd while configuring payment methods,  You can’t delete a default payment method. You can only disable it.  You can add only up to 5 payment methods  You can’t drag and drop the column headers to change the sort order. QUESTION 71A Storefront is designed so that multiple pages share a common header and footer layout.Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?  <isdecorate> … </isdecorate>  <iscontent> … </iscontent>  <isreplace> … </isreplace>  <isinclude> … </isinclude> QUESTION 72Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager?Choose 3 answers  Folders  Images and other static assets  Products  Content slots  Content assets QUESTION 73A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.Which code sample should the Developer use to make sure that HTTPS is used?  exports.PaymentForm = guard.httpsPost(handlePaymentForm);  exports.PaymentForm = guard.ensure([‘https’, ‘post’, ‘loggedln’], handlePaymentForm);  exports.PaymentForm = guard.ensure([‘http ‘post’, ‘loggedln’], handlePaymentForm);  exports.PaymentForm = guard.expose([‘post’, ‘loggedln’], handlePaymentForm); QUESTION 74Universal 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?  dw.ocapi.shop.basket.afterPostShipment  dw.ocapi.shop.order.afterPOST  dw.ocapi.shop.order.validateOrder  dw.ocapi.shop.basket.calculate QUESTION 75A developer wants to configure multiple products that should only be sold as a group. It should not be possible for buyers to buy these products individually. How should the developer configure the products?  Bundle  Set  Variation Group QUESTION 76A merchant wants to obtain an export file that contains all the products .assigned to their Storefront catalog. They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:* They have one Master catalog and one storefront catalog.* Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.Which method allows the developer to generate the export for the merchant?  Using the Catalog Import and Export module, export the Master catalog with a category-assignment search to export specific  Using the Site Import and Export module, export both the Site catalog and the Master catalog in a single archive.  Using the Site Import and Export module, export the Master catalog filtered by the site catalog categories to export specific products. QUESTION 77Given the code snippet aboce, what should be added after this code so it can be used for page component display?  Base.render = render;  Module.exports.render = render;  Module.exports = render;  Module.exports = server.exports(); QUESTION 78A Digital Developer is working in a sandbox on a site named test-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?  https://test.demandware.com/dw/shop/products/M1355?client_id=aaa…  https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa…  https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa…  https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa… QUESTION 79A 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  Change the code that makes the request to set the throwOnError attribute, of the service, to be true.  Modify the code that makes the request to the external service to be wrapped in a try / catch block.  Increase the web service time out.  Update the external service to have a faster response time. QUESTION 80A Digital Developer suspects a logical error in a script.Which action will help locate the error?  Submit a support ticket to B2C Commerce.  Check request logs for evidence of the logical error.  Put breakpoints in the code, debug, and examine variable values.  Print all values in the script node called before the current script. QUESTION 81The developer has been given the following business requirement:The shipping method, “Free Standard Ground Shipping” has an exclusion for products with ‘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’  Create a new shipping method and label it “Free Standard Ground Shipping”. Give it the qualifier ‘brand equals XyzTv’, and add it to the checkout options.  Create an allow list for the existing shipping method by adding a product exclusion for ‘brand equals XyzTv’ to the exclusion list fo<” “Free Standard Ground Shipping.”  Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.  Extend the code in cartridge/models/shipping/shippingMethod.js using module.superModule and add an exception for the specified brand. QUESTION 82Given 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  res.viewData = {data: myDataObject};res.render(‘/content/myPage’);next();});  res.setViewData ({data: myDataObject});res.render(‘/content/myPage’);next();});  res.render(‘/content/myPage’,{data: myDataObject});next();});  res.render(‘/content/myPage’);next();}).append{(Data:myDataObject}); QUESTION 83A Digital Developer needs to add logging to the following code:Which statement logs the HTTP status code to a debug-level custom log file?  logger.getLogger(‘profile’).debug(“Error retrieving profile email, Status Code: “, http.statusCode);  logger.debug(“Error retrieving profile email, Status Code: {0} was returned.”, http.statusCode);  Logger.getLogger().debug(“Error retrieving profile email, Status Code: {0} was returned.”, http.statusCode);  Logger.getLogger(‘profile’).debug(“Error retrieving profile email, Status Code: {0} was returned.”, http.statusCode); QUESTION 84A 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?  Storefront Toolkit  Reports and Dashboards module  Pipeline Profiler QUESTION 85Given the requirements:To show the washing Instructions for a clothing product on a dedicated section the detail page Washing instructions come from the product Information manager (PIM) To have this attribute available to localize in the Storefront Which action must these requirements?  Create a custom attribute on the product system object and set it as localizable.  Add a resource file for every locale for which the attribute needs to be translated.  set the product system object type as localizable.  Loading … Validate your Skills with Updated CCD-102 Exam Questions & Answers and Test Engine: https://www.validbraindumps.com/CCD-102-exam-prep.html --------------------------------------------------- Images: https://free.validbraindumps.com/wp-content/plugins/watu/loading.gif https://free.validbraindumps.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2023-11-26 09:01:00 Post date GMT: 2023-11-26 09:01:00 Post modified date: 2023-11-26 09:01:00 Post modified date GMT: 2023-11-26 09:01:00