EMT Practice Test

1. Question Content...


Question List

Question1: In which two ways can events fired from Lightning web components be handled?

Question2: Which two behaviors does a target value of lightning__FlowScreen in metadata allow for a Lightning web component?

Question3: Numerous flags when set, have a direct impact on the result set provided by the Global API's. Which conversion flag allows for sObjects to be returned from the Global API's when provided as a Boolean parameter with a value of true?

Question4: Which orders can a user view on Order List Component (Aura) for B2B stores?

Question5: A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API.
Which lifecycle hook should the developer use to make the API call?

Question6: The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes. Which command will return the value in the given Map if found or a default value in the event that the Map is null, empty, or an object is not found for that key?

Question7: What is likely to happen if a developer leaves debug mode turned on in an environment?

Question8: Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)

Question9: What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?

Question10: Which two Salesforce B2B Commerce visualforce pages must be enabled at a Salesforce Community level to make the out of the box SEO functionality available? (2 answers)

Question11: What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

Question12: Which format is the custom Salesforce relationship with the API name,
"My_Relationship_Name__r.My_Name__c" queried and transformed into dy default in Salesforce B2B Commerce?

Question13: Where are handlebar Templates defined in the Cloudcraze managed package?

Question14: Based on error emails flowing in, a developer suspects that recent edits made to a checkout flow have created a defect. The developer has data points available to use as inputs in reproducing the scenario.
What should the developer do next?

Question15: In checkout, what event should the developer's code listen for in order to help troubleshoot and respond to actions?

Question16: Why is the use of a standard Visualforce control such as apex:form discouraged in Salesforce B2B Commerce page includes and subscriber pages?

Question17: Which Lightning web component path allows a developer to view or edit a record while maintaining control over specifying its layout and set of fields?

Question18: In which threeways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)

Question19: What are two ways a developer should ensure that a store verifies changes by using an external service?

Question20: While in the process of gathering requirements from a customer about how they would like to set up their net new storefront checkout experience, a consultant learns that the customer needs the ability to add new shipping and billing addresses during checkout.
Which approach should a developer take to meet this requirement?

Question21: A configuration value, CO.NewOrder, is set to TRUE. What is one way of
preventing anexisting payment page from being shown on the checkout payment page?

Question22: A developer needs to import some new product data contained in a JSON file one time. What are two viable ways to do this? .

Question23: A user wants the pricing to reflect the price values stored in an external ERP during the checkoutflow. In what way can this requirement be satisfied?

Question24: A developer needs to loop through a series of child components which are tiles. What is the correct syntax for this if the child component is called appTile?

Question25: Universal Containers (UC) is ready to build a tax provider class using the interfaces available in the Buyer Experience SDK. When creating a tax provider, what are three things that a developer should consider first?

Question26: Which two statement are true for Mass Order (2 answers)

Question27: Which two steps are necessary to enable Salesforce B2B Commerce
logging in the managed package?

Question28: Which two components in a B2B store template should a developer use to customize a storefront page?

Question29: In which threeways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)

Question30: Which method is used to override when extending the Salesforce B2B Commerce logic providers?

Question31: Salesforce B2B Commerce natively provides a robots.txt file, however, a customer can also create its own version.Which three scenarios are valid reasons for customer to create their own robots.txt file? (3 answers)

Question32: Northern Trail Outfitters (NTO) wants to be able to reference historical data in another system from the Salesforce user experience as read-only, but does not want to import the data into the org or incur storage costs. What is one product feature that could accomplish this?

Question33: Which three actions are applicable when extendinga default Salesforce B2B Commerce page via a page include? (3 answers)

Question34: Northern Trail Outfitters (NTO) exports Order Summary data from its org. A developer launches Data Loader, selects Order Summary, clicks the Select All Fields button, and clicks Finish. Custom fields are defined in the Cart and Order Summary objects and successfully mapped from Cart to Order Summary during checkout.
However, all three custom fields in the Order Summary are empty in the export file.
What is the most likely cause?

Question35: Which practice is allowed when it comes to naming a Lightning web component's folder and associated files?

Question36: Which out of the box Salesforce B2B Commerce page can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages?

Question37: What is a valid way of referencing the global cc_api_CartExtentsion apex class via subscriber code?

Question38: Which wire adapter should a developer use to retrieve metadata about a specific picklist?

Question39: What are two guidelines for logging that are used within the core Salesforce B2B Commerce product? (2 answers)

Question40: A developer is setting up a storefront from scratch. They need to create a storefront, push store sources, create buyer users, import products, and create and search index.
Which command allows the developer to accomplish this task?

Question41: How should data for Lightning web components be provided?

Question42: Universal Containers (UC) needs to wrap a Lightning Web Component they have created called "lwcContainerComponent" inside an Aura component.Which set of tags is the correct approach?

Question43: What is the fastest route to establishing the data needed for checkout development when setting up a new Store?

Question44: What interface must a developer implement to override Tax in Checkout?

Question45: A developer is on a tight timeline and needs to implement a Lightning web component which can read, create and modify single records. What is the recommended path forward?

Question46: A developer attempts to export data from an org by launching Data Loader, selecting a standard entity, clicking the "Select All Fields" button and clicking the Finish button. The developer finds that the CustomField_c field they added to the entity has no values under the header in the CSV file output. What is the root cause?

Question47: What is true about mapping custom fields from Cart to Order Summary?

Question48: Northern Trail Outfitters (NTO) has a B2B Commerce store for its resellers. It has received many customer service calls involving questions about the delivery date of customer orders.
How should a developer expose delivery time estimates to NTO's customers in the storefront to reduce call volume?

Question49: A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to know if a CSS file containing small changes was actually deployed to the org. What is one way this can be accomplished?

Question50: When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart. How can this requirement be fulfilled?

Question51: A developer needs to create an event listener on a parent component programmaticallv. With the script below, what should replace the text <EVENT LISTENER UNE>?

Question52: Which three pages should be enabled for the Guest user profile for a storefront to have anonymous checkout?
(3 answers)

Question53: What are two purposes of the Shadow DOM in a Lightning web component?

Question54: During checkout flow customizations, a developer receives an error on shipping cost calculation integrations with the error code: INSUFFICIENT_ACCESS_OR_READONLY.
What is causing this error?

Question55: Although Salesforce B2B Commerce and Salesforce recommend against using
"without sharing classes" whenever possible, sometimes it is unavoidable. Which three items will open up a major security hole? (3 answers)

Question56: Which two aspects are applicable to Page Includes? (2 answers)

Question57: A developer is creating a component to implement a custom Terms and Conditions checkbox at checkout in the Aura Commerce template.
Which method should the developer implement on the Lightning web component to ensure the user accepts the terms and conditions?

Question58: Which two blocks of code are needed to implement a custom getter in a Lightning web component?

Question59: In which three ways should useful debugging information in Salesforce B2B Commerce implementation be garnered? (3 answers) A) Enabling the logging token via

Question60: Which wire adapter should a developer use to retrieve metadata about a specific picklist?

Question61: What are three ways to implement custom post Order processing? (3 answers)

Question62: A dev at Northern Trail Outfitters (NTO) exported Order Summary records via Data Loader, but noticed that some orders were missing. What is the most likely cause?

Question63: Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?

Question64: What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?

Question65: A developer is trying to integrate a new shipping provider to use during checkout in a storefront Which two steps must the developer take to make an integration available for selection?

Question66: Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?

Question67: A Developer created a custom field that a project wants to expose on a given page.
How does the Developer ensure that the field is available to display on a given page?

Question68: A developer needs to create a scheduled job in another system to move data into the B2B Commerce org. How can the developer do this without additional third party tools?

Question69: A developer exports data from an org on a standard entity which has a custom attribute. When they launch Data Loader, select the entity, click the Select All Fields button and click Finish, the custom field they added called MyCustomField_c has no values and no column header in the CSV file. What is the root cause?

Question70: How should a developer get the grand total amount, including shipping and tax, for items in the cart and in the currency of the cart, when developing a new Lightning web component for an Aura storefront cart page?

Question71: In a B2B Commerce store, which three tasks must a developer complete to implement the use of a third-party service for either tax, shipping, or pricing calculation?

Question72: Which two methods from the platformResourceLoader module are relevant for including third party JavaScript and CSS in a Lightning web component?

Question73: Which handlebars helper expression is used in Salesforce B2B Commerce pages and components to toggle the display of a block of markup?

Question74: A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?

Question75: A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What should be typed in the Developer Tools Console in the browser to view the fields available for the Product Detail Page?

Question76: A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to deploy some small CSS changes without waiting for the entire project deployment. What are two ways this can be accomplished?

Question77: Which two log levels does a developer need to include to debug platform events?

Question78: A developer has the task to bring some historical data into an org. The data must reside in the org, but cannot be populated in standard or custom objects. The customer is fine with developers building Ul components to surface this data on a case-by-case basis.
Which option allows a developer to meet all of these requirements?

Question79: Ursa Major is planning to implement Salesforce B2B Commerce, and a developer needs to configure taxes for their storefront. The company operates in multiple states, each with different tax rates and tax rules.
What are two ways the developer should configure taxes in B2B Commerce?

Question80: A developer has made some changes to the products of an existing storefront, but they are unable to see the changes in the products from the store.
Which action did the developer forget to take?

Question81: Which wire adapter should a developer use to retrieve metadata about a specific object?

Question82: What is true regarding adding more Configuration Settings
to Salesforce B2B Commerce?

Question83: A Northern Trail Qutfitters (NTO) developer made a tile component. To expose a click event and react to user input using the markup below, what should replace <CLICK_EVENT>?

Question84: Which event should be triggered when user facing info, warning or error messages need to be displayed on a Visualforce page?

Question85: For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)

Question86: Where is the API-based record creation generally handled in Salesforce B2B Commerce?

Question87: What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?