Salesforce B2B-Commerce-Developer Sample Questions

Question # 31

A developer used slots to pass content from one Lightning Web Component to another. How can they access the. DOM for what was passed to those slots? 

A. Call this.template.querySelector() and this.template.querySelectorAll()
B. Call this.querySelector() passing an id
C. Call this.querySelector() and this.querySelectorAll()
D. Call this.template.querySelector() passing an id


Question # 32

Which three files are required for a deployable Lightning Web Component called displayMyData that will fetch and display data? 

A. displayMyData.css
B. displayMyData.js-meta.xml
C. displayMyData.js
D. displayMyDataController.cls
E. displayMyData.html


Question # 33

What are two common and maintainable ways the content layout of a Lightning Web Component can be implemented? 

A. Spreading layout styles across several separate components
B. Styling the :host pseudo-element (or other elements) via the CSS file
C. Using inline styles
D. Applying SLDS classes to internal elements


Question # 34

Which interface does a developer have to implement to override Inventory in Checkout?

A. sfdc_commerce.ValidationCartinventory
B. sfdc_commerce.CartinventoryValidation
C. sfdc_checkout.InventoryCartVvalidation
D. sfdc_checkout.CartinventoryValidation


Question # 35

Which three statements are accurate?

A. An Aura component can contain another Aura component
B. An Aura component can contain a Lightning Web Component
C. A Lightning Web Component can contain an Aura component
D. A Lightning Web Component cannot contain an Aura component


Question # 36

What are three standard page reference types?

A. standard__app
B. standard__component
C. standard__pageNamed
D. comm_loginPage
E. standard__recordDetailPage


Question # 37

A developer needs to bulk export all of the Product data from an org and does not have access to Data Loader or Workbench. However, the Command Line Interface (CLI) is available. Which command allows the developer to accomplish this task? 

A. sfdx force:data:treeiexport -q <path to file containing soql query> -x export-demo -d /tmp/sfdx-out -p
B. sfdx force:data:tree:export -Product2 -all
C. sfdx force:data:tree:export -o Product?
D. sfdxforce:data:tree:export -h


Question # 38

Which three are considered code units, or discrete units of work within a transaction in the debug logs? 

A. Validation rule
B. Apex class
C. Web service invocation
D. Lightning component load
E. Workflow invocations


Question # 39

Which of these is a key pattern leveraged when building Lightning Web Components? 39m 36s 

A. Composition
B. Inventory
C. Juggling
D. Normalization


Question # 40

What class must a developer implement to override Pricing during the checkout?

A. sfdc_commerce.CartPriceCalculations
B. sfdc_commerce.PriceCalculations
C. sfdc_checkout.PriceCalculations
D. sfdc_checkout.CartPriceCalculations


‹ First23456

Download All Questions PDF Check Customers Feedbacks