Skip to main content

CCD-102 Real Exam Questions

B2C Commerce Developer with SFRA (CCD-102)

60 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.

Which three things should the Digital Developer verify to ensure the cartridges are uploaded? Choose 3 answers

  1. A

    The Auto-Upload setting is enabled for the server connection.

  2. B

    The Active Server setting is enabled for the server connection.

  3. C

    The server is configured to accept incoming connections.

  4. D

    The cartridge is for the current version of B2C Commerce.

  5. E

    The credentials for the server connection are correctly entered.

Show answer and explanation

Correct answers: A, B, E

Question 2 Single choice

A Digital Developer has a site export file on their computer that needs to be imported into their sandbox.

How should the developer update their sandbox with the data in this file?

  1. A

    Upload and import the file using the local option within the Site Import & Export Business Manager module.

  2. B

    Connect and import the file using the remote option within the Site Import & Export Business Manager module.

  3. C

    Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.

  4. D

    Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.

Show answer and explanation

Correct answer: A

Question 3 Single choice

A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing cart.js controller that handles processing of the other cart forms. In addition, a form field node is in the form XML and the necessary form input is present in the ISML template.
The code below is the submit button for the ISML markup.

What additional steps must occur before the Digital Developer can begin writing the processing code for this request?

  1. A

    Add an <action /> node to the form definition XML with the attribute formid=''addRewardFaas"
    Add the key addRewardPass, with a processing function as a value, to the object passed to the

    Form.handleActionO method in the Cart .j* controller

  2. B

    Add the attribute addtl-fonn-action^'addRewardPaas"1 to the ISML form
    Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the cart.3s controller

  3. C

    Add a <submit /> node to the form definition XML with the attribute formid=''addRewardPas3"
    Add the key addRewardPasa, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart.ja controller

  4. D

    Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
    No change to cart.3a controller required

Show answer and explanation

Correct answer: A

Question 4 Single choice

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

  1. A

    <isinclude url="${URLUtils.url("CustomTag-Start")}>

  2. B

    <isscript>dw.util.CustomTagMgr.createCustomTag("mytag"); <isscript>

  3. C

    <isinclude template="util/modules">

  4. D

    <isinclude template="util/customtags">

Show answer and explanation

Correct answer: C

Question 5 Single choice

Which two methods are efficient and scalable? Choose 2 answers

  1. A

    ProductMgr.queryAllSiteProducts()

  2. B

    ProductSearchModel.getProductSearchHits()

  3. C

    Category.getProducts()

  4. D

    ProductSearchHit.getRepresentedProductsQ

Show answer and explanation

Correct answer: B

Question 6 Single choice

A Digital Developer extends a system object, Product, and adds a Boolean attribute, "sellable," to it.
Assuming "prod" is the variable name handling the product, what code can the Developer use to access it?

  1. A

    prod.sellable

  2. B

    prod.persistable.sellable

  3. C

    prod.custom.sellable

  4. D

    prod.extended.sellable

Show answer and explanation

Correct answer: A

Question 7 Multiple choice

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

  1. A

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

  2. B

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

  3. C

    Increase the web service time out.

  4. D

    Update the external service to have a faster response time.

Show answer and explanation

Correct answers: B, C

Question 8 Single choice

A Digital Developer suspects a logical error in a script.

Which action will help locate the error?

  1. A

    Check request logs for evidence of the logical error.

  2. B

    Put breakpoints in the code, debug, and examine variable values.

  3. C

    Print all values in the script node called before the current script.

  4. D

    Submit a support ticket to B2C Commerce.

Show answer and explanation

Correct answer: B

Question 9 Multiple choice

A job executes a pipeline that makes calls to an external system.

Which two actions prevent performance issues in this situation? Choose 2 answers

  1. A

    Use asynchronous import or export jobs.

  2. B

    Use synchronous import or export jobs

  3. C

    Configure a timeout for the script pipelet.

  4. D

    Disable multi-threading.

Show answer and explanation

Correct answers: A, C

Question 10 Single choice

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?

  1. A

    Implement a serviceUnavaiiableException exception handler to execute fallback code.

  2. B

    Use the setTimeout method to execute fallback code if the request has NOT completed.

  3. C

    Create a site preference to store timeout settings and implement an IOException handler to execute fallback code.

  4. D

    Implement a condition that checks to see if the response was empty and execute fallback code if true.

Show answer and explanation

Correct answer: A