[Jun-2023] CCD-102 PDF Dumps Are Helpful To produce Your Dreams Correct QA's [Q16-Q40]

Share

[Jun-2023] CCD-102 PDF Dumps Are Helpful To produce Your Dreams Correct QA's

New CCD-102 exam Free Sample Questions to Practice


Salesforce CCD-102: B2C Commerce Developer with SFRA is an industry-recognized certification exam that is designed to validate a candidate's knowledge and skills in Salesforce B2C Commerce and Storefront Reference Architecture (SFRA). This exam is intended for developers who specialize in building and customizing online storefronts using the Salesforce B2C Commerce platform.

 

NEW QUESTION # 16
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developer add to a template to allow the merchant to configure each independently?
A)

B)

C)

  • A. Option A
  • B. Option C
  • C. Option B

Answer: C


NEW QUESTION # 17
An ecommerce site has dynamic shipping cost calculation. it allows the customers to see their potential shipping costs on the Product Detail Page before adding an item to the cart.
For this feature, shipping touts are calculated using the following logic:
* Set the shipping method on the Basket
* Add the item to the basket, calculate the basket total and get the shipping cost for this method
* Remove the item from the Basket to restore the original state
* The above process is repeated for each shipping method
During the testing it was discovered that the above code violates the spi.basket.addResolveInSameResquest quota.
What should the Architect do to resolve this issue and maintain the business requirement?

  • A. Wrap the adding of product and shipping cost calculation in a transaction which Is then rolled back to restore the original state
  • B. Wrap each Individual step of the process its own transaction Instead of using one transaction for all steps.
  • C. Omit the removal of the Item and speed up the process for the customer by adding the product to the basket for them.
  • D. Omit the calculation of shipping cost until the customer is ready to check out and has chosen the shipping method they want to

Answer: D


NEW QUESTION # 18
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/v18_3/products/creative-zen-v.
  • D. Include an authentication token in the request.

Answer: A


NEW QUESTION # 19
A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?

  • A. Payment Methods
  • B. Apple Pay
  • C. Payment Processors
  • D. Locale Payments

Answer: D


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

  • A. Redirect users to the registration page if they are not logged in
  • B. Display a section of the page to logged users only
  • C. Implement involved business logs through conditional statements.

Answer: C


NEW QUESTION # 21
A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?

  • A. Tax Region is configured wrong.
  • B. Tax Country is missing
  • C. Tax Jurisdiction is missing
  • D. Tax Locale is configured wrong

Answer: C,D


NEW QUESTION # 22
Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)

  • A. Place CSS outside of templates.
  • B. Combine several images into a single image.
  • C. Use one style sheet for each ISML decorator template.
  • D. Use inline Javascript.
  • E. Compress CSS.

Answer: C,D,E


NEW QUESTION # 23
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. Report info level message for the back-end asynchronous communication between both systems Report all errors at error level message.
  • B. 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.
  • C. 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.
  • D. Report debug level message for the back-end asynchronous communication between both systems. Report al errors at error-level message.

Answer: B


NEW QUESTION # 24
The developer wants to be able to view 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?

  • A. Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in the Log Files section.
  • B. Change the Log Level for myLogCategory to DEBUG.
  • C. Check the DEBUG box in the Log Files section.

Answer: A


NEW QUESTION # 25
A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.
Which two methods can the Developer use to verify the cache settings for the product tiles? Choose 2 answers

  • A. View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.
  • B. Enable the template debugger to verify the cache times for the producttile.isml template.
  • C. View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.
  • D. Enable cache information in the storefront toolkit and view the cache information for the product tile.

Answer: A,D


NEW QUESTION # 26
A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?

  • A. Tax Region is configured wrong.
  • B. Tax Country is missing
  • C. Tax Locale is configured wrong
  • D. Tax Jurisdiction is missing

Answer: D


NEW QUESTION # 27
Which two activities should an Architect encourage the replication team to follow based on S2C Commerce best practices?
Choose 2 answers

  • A. Wait 15 minutes after the recreation process completes for the cache to dear automatically.
  • B. Use the undo replication process to roll back code replications only, not data replications.
  • C. Replicate the latest data to Production during periods of increased site use to ensure freshness.
  • D. Use the undo replication process to roll back to the previous replication if necessary.

Answer: A,B


NEW QUESTION # 28
A Digital Developer needs to add logging to the following code:

Which statement logs the HTTP status code to a debug-level custom log file?

  • A. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  • B. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
  • C. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  • D. Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

Answer: A


NEW QUESTION # 29
Northern Trail Outfitters (NTO) operate 200 physical stores. NTO has products that are available in some of the physical stores and not available in others. The closest physical store is determined based on customer s post zip code when they are shopping online. Only the products that are available in the customer's closest physical store should be presented to the customer to the search results.
What are the two feasible technical approaches to meet these requirements?
Choose 2 answers

  • A. Create a separate pricebook per physical store. Use post/zip code to activate this pricebook through a customer group. Show only the products with price by applying price refinement.
  • B. Create a separate category per physical store use post/Tip code with a mapping to determine the relevant category. Show only the products from this category.
  • C. Create a separate shipping method per physical store. Use post/zip code to determine the applicable shipping method. Show only the products that are not excluded from the shipping method.
  • D. Create a separate site per physical store. Use post/zip code to redirect the customer to the relevant site. Show the products from the site navigation catalog.

Answer: A,C


NEW QUESTION # 30
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. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
  • B. Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
  • C. 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."

Answer: C


NEW QUESTION # 31
A new product has been added to the Storefront catalog that 15 assigned to a site Which configuration does a developer need to ensure to have a new product visible in the Storefror

  • A. The product has a master product AND the search index is built.
  • B. The search index is built AND the product is online and searchable.
  • C. The product has a price AND the product rs online and searchable.

Answer: B


NEW QUESTION # 32
A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.
* The current customer
* Whether or not the customer is authenticated
* The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?

  • A. Use a non-replicable Custom Object to store the information temporarily.
  • B. Use an SFRA controller, because it runs server-side, the state is automatically maintained
  • C. Use a client-side cookie to store the information for the session duration.
  • D. Use the Session class in the B2C Commerce api.

Answer: D


NEW QUESTION # 33
A third party survey provider offers both an API endpoint for individual survey data and an SFTP server endpoint that can accept batch survey dat a. The initial implementation of the integration includes
1. Marking the order as requiring a survey before order placement
2. On the order confirmation pace, the survey form is displayed for the customer to fill
3. The data is sent to the survey provider API, and the order it marked as not requiring a survey Later it was identified that this solution is not fit for purpose as the following issues and additional requirements were identified:
1. If the API call fails, the corresponding survey data is lost. The Business requires to avoid data loss.
2. Some customers skipped the form. The Business require sending a survey email to such customers.
3. The Order Management System (OMS) uses a non-standard XML parser it did not manage to parse orders with the survey, until the survey attribute was manually removed from the xml.
How should the Architect address the issues and requirements described above?

  • A. Create a custom object when the survey is required Send to the API endpoint in real-time. On success, remove the object. On failure, capture the survey data in the custom object and later reprocess with a job. Use the custom object to send emails for the cases when survey was skipped.
  • B. Send the survey data to the API endpoint in real-time until the survey data is successfully captured. Instruct the OMS development team to update their XML parser, use the Order survey attribute to send emails for the cases when the survey was skipped.
  • C. Create a custom session attribute when the survey is required. Send to the API endpoint in real-time. On failure, capture the survey data in the session and reprocess, use me session attribute to send emails for the cases when survey was skipped.
  • D. Create a custom object to store the survey data. Send to the API endpoint using a job. On success, remove the custom object. On failure, send the survey data with API from the next execution of the same job. Use the custom object to send emails for the cases when the survey was skipped.

Answer: A


NEW QUESTION # 34
A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by the dw.avc.ServiceCaliback class.
Which callback method is required only when invoking a SOAP service?

  • A. parseResponse
  • B. initServiceClient
  • C. mockCall
  • D. createRequeat

Answer: B


NEW QUESTION # 35
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. * Modify the "COPlaceOrder" 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.
  • B. * Add the new attribute to the "Order" system object.
    * Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Order" object.
  • C. * Create a new custom object type for order comments that contains the attributes: order ID and comments.
    * Modify the "COPlaceOrder" controller to create a new order comments custom object upon order completion.
  • D. * Add the new attribute to the "Customer" system object.
    * Modify the "COPlaceOrder" controller to add this new attribute to the current session's "Customer" object.

Answer: B


NEW QUESTION # 36
The Client identifies that a segment of customers need to see some products on the site that other customers should not be able to access. All products are maintained within one catalog but in separate categories. A custom attribute will be used on the Profile system object to identify customers that belong to this special segment. A customer group will be made that is qualified for by this Profile custom attribute. The storefront will be customized to include navigation to relevant categories for this customer group.
Unfortunately during technical review the Client points out that the business teams have raised a concern with maintenance and want to use a shared navigation within the catalog and not use separate categories.
Which item should the Architect suggest to efficiently fulfil this new requirement while maintaining scalability?

  • A. Customize the Storefront to modify the search result that if the user is in the customer group then the result includes those products appropriately.
  • B. Customize the Storefront Co use a hidden search refinement that if the user Is In the customer group then the result Includes those products with a new custom attribute.
  • C. Customize the Storefront to use separate storefront catalogs with the same navigation that If the customer Is In the customer group gets assign products appropriately.
  • D. Customize the Storefront to use a hidden search refinement and modify the customer group to be qualified for by a new product custom attribute

Answer: A


NEW QUESTION # 37
In order to implement site custom functionality, a developer creates a new cartridge.
Which step should the developer take to ensure their cartridge changes take effect?

  • A. Add the new cartridge to the cartridge path for the business Manager site.
  • B. Add the new cartridge to the cartridge path for the relevant Storefront site.
  • C. Rebuild the site indexes to capture incremental changes.

Answer: B


NEW QUESTION # 38
A client has a single site with multiple domains, locales, and languages. After launch, there is a need for the client to perform offline maintenance. The client would like to show the same maintenance page for each locale.
Which version of aliases,Json file below will accomplish this task?
A)

B)


D)

  • A. Option B
  • B. Option A
  • C. Option D
  • D. Option C

Answer: C


NEW QUESTION # 39
Assume the code below is executing:

Business Manager has the configuration:
Active Log category is "root" with log level of "info."
Given this information, what is the beginning of the filename in which the log will be written?

  • A. custominfo-blade
  • B. xyz
  • C. custom-xyz
  • D. custom-export

Answer: C


NEW QUESTION # 40
......


Salesforce CCD-102 exam is a challenging certification exam that requires extensive knowledge and experience in Salesforce Commerce Cloud development. The exam consists of 60 multiple-choice questions that must be answered within 105 minutes. To pass the exam, candidates must score at least 67% or higher. The certification exam is available in multiple languages, making it accessible to developers worldwide. Passing the exam can lead to career advancement opportunities and recognition as a certified Salesforce B2C Commerce Developer with SFRA.

 

Cover CCD-102 Exam Questions Make Sure You 100% Pass: https://www.exam-killer.com/CCD-102-valid-questions.html

CCD-102 dumps Accurate Questions and Answers with Free: https://drive.google.com/open?id=1bg3VCf9UTw1iH_Wo3Jy7m2fLjXObD5jV