[Oct 30, 2026] Fully Updated Dumps PDF - Latest AP-202 Exam Questions and Answers 100% Free AP-202 Exam Dumps to Pass Exam Easily from Exam4Free NEW QUESTION # 62 What are two maintainable ways that Lightning Web Components can be made mobile ready? 33m 215 A. Install the mobile extensions plug-in for VS Code B. Import a third party JavaScript library C. Create a Lightning app page and add the component [...]

[Oct 30, 2026] Fully Updated Dumps PDF - Latest AP-202 Exam Questions and Answers [Q62-Q83]

Share

[Oct 30, 2026] Fully Updated Dumps PDF - Latest AP-202 Exam Questions and Answers

100% Free AP-202 Exam Dumps to Pass Exam Easily from Exam4Free

NEW QUESTION # 62
What are two maintainable ways that Lightning Web Components can be made mobile ready? 33m 215

  • A. Install the mobile extensions plug-in for VS Code
  • B. Import a third party JavaScript library
  • C. Create a Lightning app page and add the component to the mobile navigation
  • D. Decorate templates with mobile-ready

Answer: C,D

Explanation:
To make Lightning Web Components mobile-ready, one maintainable approach is to create a Lightning app page and then add the component to the mobile navigation. This ensures that the component is accessible and optimized for mobile users within the Salesforce mobile app. Another approach is to design the component's templates with responsiveness in mind, using CSS and layout techniques that adapt to different screen sizes. Salesforce documentation on mobile-ready development practices provides guidelines on creating responsive designs and optimizing components for mobile use.


NEW QUESTION # 63
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling

  • A. Parameters are passed through the service handlers
  • B. Parameters are filtered out before the request is processed
  • C. Parameters are separated, but unused
  • D. An exception is generated for unknown API keys

Answer: A

Explanation:
The REST APIs in Salesforce B2B Commerce support pass-through parameter handling by passing parameters through the service handlers. This means that any parameters that are not recognized by the REST API framework will be passed to the service handler class that implements the API logic. The service handler class can then use these parameters for custom logic or validation.


NEW QUESTION # 64
A developer needs to deliver a solution for taxation that supports multiple countries and a complex set of jurisdictions. Which three steps should be considered as part of this process?

  • A. Look for packages or existing sample code on the AppExchange
  • B. Contact the vendor who wrote the third party service for the most recent information
  • C. Implement the sfdc_checkout.CartTaxCalculations interface calling out to a third party tax service
  • D. Implement the sfdc_checkout.CartTaxCalculations interface writing code from scratch
  • E. Implement the sfdc_checkout.TaxCalculations interface calling out to a third party tax service

Answer: A,C,E

Explanation:
For a solution that requires handling complex tax calculations across multiple countries and jurisdictions, it's efficient to leverage third-party tax services that specialize in this area. Implementing the sfdc_checkout.CartTaxCalculations or sfdc_checkout.TaxCalculations interface to integrate with such a service ensures that tax calculations are accurate and up-to-date. Additionally, exploring the Salesforce AppExchange for packages or sample code can provide ready-made solutions or frameworks that can expedite the development process.


NEW QUESTION # 65
Where is the API-based record creation generally handled in Salesforce B2B Commerce?

  • A. The service-layer responsible for the entity
  • B. In the methods available in extension hooks
  • C. Data creation is not allowed
  • D. Logic classes that implement the businesslogic for create operations

Answer: A

Explanation:
The API-based record creation is generally handled in the service-layer responsible for the entity in Salesforce B2B Commerce. The service-layer is a set of classes that provide methods for interacting with the data layer and performing business logic. Each entity, such as product, cart, or order, has a corresponding service class that handles the create, read, update, and delete operations for that entity. For example, ccrz.ccServiceProduct provides methods for creating and retrieving products. Salesforce B2B Commerce and D2C Commerce Developer Guide,Service Classes


NEW QUESTION # 66
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?

  • A. view:*:load
  • B. view:*:onload
  • C. view:*:rendered
  • D. view:*:refresh

Answer: C

Explanation:
The event that is invoked by any CCRZ Salesforce B2B Commerce View after the view is rendered is view:*:rendered. This event is triggered by the render method of the CCRZ.View class, which is the base class for all views in the framework. The event can be used to perform any actions or logic that depend on the view being rendered, such as initializing widgets, binding events, or updating the user interface. Salesforce B2B Commerce and D2C Commerce Developer Guide,Events,View Class


NEW QUESTION # 67
Which two scoped modules should a developer import in Lightning web components to check user permissions?

  • A. @salesforce/userPermission
  • B. @salesforce/hasPermission
  • C. @salesforce/permission
  • D. @salesforce/customPermission

Answer: C,D

Explanation:
To check user permissions in Lightning web components, a developer should import two scoped modules: @salesforce/permission and @salesforce/customPermission. The @salesforce/permission module allows the developer to check if the user has access to a standard permission, such as View Setup or Modify All Data. The @salesforce/customPermission module allows the developer to check if the user has access to a custom permission, such as Enable Debug Mode or Manage Orders. The other modules do not exist or are not related to user permissions. Salesforce Lightning Web Components Developer Guide: Check User Permissions, Lightning Web Components Developer Guide: Import Salesforce Modules


NEW QUESTION # 68
Which out of the box Salesforce B2B Commerce page can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages?

  • A. CCSiteIndex
  • B. cc_RobotsTxT
  • C. CCCat?SiteMap
  • D. CCPage

Answer: B

Explanation:
The out of the box Salesforce B2B Commerce page that can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages is cc_RobotsTxt. This is a Visualforce page that generates a robots.txt file, which is a text file that tells web crawlers which pages or files they can or can't request from a site. The page uses the configuration settings CO.RobotsTxtAllow and CO.RobotsTxtDisallow to specify which paths are allowed or disallowed for web crawlers. For example,User-agent: * Disallow: /CCCartwill instruct web crawlers to not access the CCCart page. Salesforce B2B Commerce and D2C Commerce Developer Guide,Robots.txt File


NEW QUESTION # 69
What is the fastest route to establishing the data needed for checkout development when setting up a new Store?

  • A. Import the data with data loader
  • B. Use sfdx setup scripts
  • C. Import a previously exported store archive
  • D. Select Add Sample Data when setting up the store

Answer: B

Explanation:
Option B is the correct answer because it describes the fastest route to establishing the data needed for checkout development when setting up a new store. The developer can use sfdx setup scripts to deploy a Lightning B2B testing environment that includes checkout flows, sample products, and a buyer. This way, the developer can quickly and easily test and customize the checkout flow using Experience Builder or Flow Builder. The other options are incorrect because they either require more time, manual steps, or additional tools to set up the data for checkout development. For example, importing a previously exported store archive or using data loader would require the developer to have access to the source data and the target org, and to map the fields and objects correctly. Selecting Add Sample Data when setting up the store would only provide a limited amount of data that may not be sufficient for checkout development.Create a B2B Commerce Org and Checkout Flow,B2B Commerce on Lightning Experience Developer Guide,B2B Commerce and D2C Commerce Developer Guide


NEW QUESTION # 70
What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?

  • A. Angularjs, react.js, and handlebarsjs
  • B. Angularjs, Backbonejs, and handlebarsjs
  • C. Bootstrap, Backbonejs, and handlebarsjs
  • D. Bootstrap, Angularjs, and Backbonejs

Answer: C

Explanation:
The templating, JavaScript, and CSS frameworks that the cloudcraze managed package leverages are Bootstrap, Backbone.js, and Handlebars.js. Bootstrap is a CSS framework that provides responsive design and layout components. Backbone.js is a JavaScript framework that provides models, views, collections, and events for building single-page applications. Handlebars.js is a templating engine that allows generating HTML from JSON data. Salesforce B2B Commerce and D2C Commerce Developer Guide,Front-End Development


NEW QUESTION # 71
Which two event settings are required for a custom event called CustomEvent to fire from the Lightning web component and propagate up to the DOM?

  • A. composed: true
  • B. composed: false
  • C. bubbles: true
  • D. cancelable: true

Answer: A,C

Explanation:
To fire a custom event called CustomEvent from the Lightning web component and propagate it up to the DOM, the developer must set two event settings: bubbles and composed. The bubbles setting determines whether the event bubbles up through the component's ancestors in the DOM tree. The composed setting determines whether the event crosses the shadow boundary and reaches the light DOM. Setting both bubbles and composed to true allows the event to be handled by any element in the DOM that listens for it. The cancelable setting is not required for firing or propagating the event, as it only determines whether the event can be canceled by calling preventDefault() on it. Setting composed to false would prevent the event from reaching the light DOM and limit its propagation to the shadow DOM. Salesforce Lightning Web Components Developer Guide: Create and Dispatch Events,Lightning Web Components Developer Guide: Event Propagation


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

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

Answer: A,C,E

Explanation:
For a deployable Lightning Web Component like displayMyData, the required files include the component's CSS file (displayMyData.css) for styling, the metadata configuration file (displayMyData.js-meta.xml) for defining the component's configuration and properties, and the template file (displayMyData.html) for the component's HTML structure. The JavaScript file (displayMyData.js) contains the business logic but is not listed as an option here. For deployment, these files are essential. Refer to the Salesforce LWC documentation for deployment requirements: Salesforce LWC Deployment Documentation.


NEW QUESTION # 73
What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?

  • A. UserInfo.getUserType()
  • B. ccrz.cc_CallContext.isGuest
  • C. ... UserType
  • D. ccrz.cc_CallContext.currUser.isGuest

Answer: B

Explanation:
A method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class is to use ccrz.cc_CallContext.isGuest. This property will return true if the current user is a guest user, or false otherwise. For example,if(ccrz.cc_CallContext.isGuest){ // do something for guest user }will execute some logic only for guest users. Salesforce B2B Commerce and D2C Commerce Developer Guide,Call Context


NEW QUESTION # 74
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?

  • A. Lightning Out
  • B. Big Objects
  • C. External SOQL queries in Apex code
  • D. External Objects

Answer: D

Explanation:
The correct answer isExternal Objects.External objects are similar to custom objects, except that they map to data that's stored outside your Salesforce org12.You can use external objects to access data in real time via web service callouts, without copying the data into your org12.External objects are read-only by default, but you can enable write operations for some data sources12.
Big Objects are not the correct answer. Big objects allow you to store and manage massive amounts of data on the Salesforce platform. However, big objects are not suitable for referencing historical data in another system, as they require importing the data into the org and incur storage costs.
Lightning Out is not the correct answer. Lightning Out is a feature that lets you run Lightning components in any container outside the Salesforce platform. However, Lightning Out does not provide a way to reference historical data in another system, as it is mainly used for embedding Lightning components in other web pages or apps.
External SOQL queries in Apex code are not the correct answer. External SOQL queries are a way to query data from external data sources using SOQL syntax in Apex code. However, external SOQL queries require defining an external data source and an external object first, so they are not a product feature by themselves, but rather a way to use external objects in Apex code.Reference:
B2B Commerce on Lightning Experience Developer Guide
B2B Commerce and D2C Commerce Developer Guide
Salesforce Accredited B2B Commerce Developer
Work with External Data Sources
Access External Data With Salesforce Connect
Migrate data from one organization to another
Monitor Login History
[Big Objects]
[Lightning Out]
[External SOQL Queries]


NEW QUESTION # 75
How is a price group dynamically set?

  • A. By extending the ccApiPriceList API
  • B. By extending the cc_hk_priceing hook
  • C. By using contract pricing
  • D. By overriding the ccLogicProductPrice class

Answer: B

Explanation:
A price group can be dynamically set by extending the cc_hk_pricing hook. This hook allows modifying the price group based on various factors, such as the user, cart, product, or storefront. For example, the hook can apply a different price group for a specific product category or for a specific user segment.


NEW QUESTION # 76
Numerous flags, when set, have a direct impact on the result set provided by the Global API's. What is the default Global API DataSizing convention flag that is used by theAPI's unless otherwise specified?

  • A. CCRZ.ccPAI.SZ_XL
  • B. CCRZ.ccPAI.SZ_S
  • C. CCRZ.ccPAI.SZ_L
  • D. CCRZ.ccPAI.SZ_M

Answer: D

Explanation:
The default Global API Data-Sizing convention flag that is used by the API's unless otherwise specified is CCRZ.ccAPI.SZ_M. This flag indicates that the medium sizing block should be used for retrieving data, which includes the most commonly used fields and related entities. For example,ccrz.ccServiceProduct.getProducts()will use the SZ_M sizing block by default, unless another sizing block is specified as a parameter. Salesforce B2B Commerce and D2C Commerce Developer Guide,Data Sizing Conventions


NEW QUESTION # 77
Which two statement are true for Mass Order (2 answers)

  • A. The variation product is leveraged for SKUs.
  • B. Mass order works with thedefault wishlists
  • C. Mass Order is mobile ready with the ccrz templates.
  • D. Mass Order pricing is done via a batch job.

Answer: A,D

Explanation:
Mass Order pricing is done via a batch job, which means that the prices are not calculated in real time, but rather at a scheduled time. Mass order works with the variation product, which is a product that has multiple SKUs with different attributes, such as size or color. Mass order does not work with the default wishlists, which are used to store products that the customer wants to buy later. Mass order is not mobile ready with the ccrz templates, which are the default templates for the storefront pages. Salesforce B2B Commerce Developer Guide: Mass Order,B2B Commerce Developer Guide: Variation Products


NEW QUESTION # 78
A developer needs to implement a custom Lightning web component (LWC) for the storefront.
The LWC contains language-specific text values.
How should the developer translate the text values?

  • A. Use a CustomLabel xml file in the LWC to add the text values there.
  • B. Import static resources for the text values and add them into the LWC.
  • C. Create a custom Metadata object for the text values and query it in the LWC.
  • D. Create custom labels for the text values and import them in the LW

Answer: D

Explanation:
Custom labels are text values that can be translated into any language that Salesforce supports. They are useful for displaying language-specific text in Lightning web components. To use custom labels in a LWC, the developer needs to create them in the Setup menu and assign them to a language and a value. Then, the developer can import them in the LWC using the@salesforce/labelscoped module. For example, if the developer has a custom label namedwelcomeHeader, they can import it as follows:
import welcomeHeader from '@salesforce/label/c.welcomeHeader';
Then, they can use it in the HTML template or the JavaScript file of the LWC. For example, in the HTML template, they can use it as follows:
HTMLAI-generated code. Review and use carefully.More info on FAQ.
<template>
<h1>{welcomeHeader}</h1>
</template>
The custom label will automatically display the translated value based on the user's language preference. The developer can also use thelightning-formatted-textcomponent to format the custom label value with HTML tags.
The other options are not correct because:
A) Importing static resources for the text values is not a recommended way to translate text values in a LWC. Static resources are files that are stored in Salesforce and can be referenced by applications. They are not designed for storing language-specific text values and they do not support automatic translation based on the user's language preference.
B) Using a CustomLabel xml file in the LWC to add the text values there is not a valid option. Custom labels are not stored in xml files, but in the Setup menu. They cannot be added directly to the LWC, but they need to be imported using the@salesforce/labelscoped module.
D) Creating a custom Metadata object for the text values and querying it in the LWC is not a feasible option. Custom Metadata objects are records that store configuration data that can be deployed and packaged. They are not intended for storing language-specific text values and they do not support automatic translation based on the user's language preference. Querying them in the LWC would also require an Apex class and a wire service, which would add unnecessary complexity to the solution.
Use Custom Labels in Lightning Web Components
Custom Labels
Internationalizing Your Lightning Web Component (LWC)


NEW QUESTION # 79
Which two components in a B2B store template should a developer use to customize a storefront page?

  • A. Address List
  • B. Order List
  • C. Product List
  • D. My Lists

Answer: C,D

Explanation:
Two components in a B2B store template that a developer can use to customize a storefront page are My Lists and Product List. My Lists is a standard component that displays and manages lists of products that customers can create, save, or share in the storefront. A developer can use this component to enable customers to organize their favorite or frequently purchased products into lists and access them easily. Product List is a standard component that displays and filters products from one or more product lists in the storefront. A developer can use this component to showcase products from different categories or collections and allow customers to browse or search for products based on various criteria. Order List is not a component in a B2B store template, but rather an object that stores information about orders placed by customers in the storefront. Address List is not a component either, but rather an object that stores information about addresses associated with customers in the storefront. Salesforce [B2B Commerce Developer Guide: My Lists Component], [B2B Commerce Developer Guide: Product List Component], [B2B Commerce Developer Guide: Order List Object], [B2B Commerce Developer Guide: Address List Object]


NEW QUESTION # 80
How should data for Lightning web components be provided?

  • A. A single property object that contains sets (objects) of data
  • B. A few properties that contain sets (objects) of data
  • C. Independent properties that take simpler, primitive values (e.g. String, Number, Boolean, Array)
  • D. One property that contains all data in one set (object)

Answer: C

Explanation:
Data for Lightning web components should be provided as independent properties that take simpler, primitive values (e.g. String, Number, Boolean, Array). Providing data as independent properties allows the developer to expose data as public or private properties of the Lightning web component and communicate data between components or services. Providing data as simpler, primitive values allows the developer to use data types that are supported by JavaScript and Lightning web components and avoid unnecessary or complex conversions or transformations. Providing data as a few properties that contain sets (objects) of data is not a good way to provide data for Lightning web components, as it can create confusion or inconsistency in data structure and access. Providing data as one property that contains all data in one set (object) is not a good way either, as it can create complexity or inefficiency in data management and manipulation. Providing data as a single property object that contains sets (objects) of data is not a good way either, as it can create redundancy or duplication in data storage and retrieval. Salesforce Lightning Web Components Developer Guide: Communicate with Properties, Lightning Web Components Developer Guide: Data Types


NEW QUESTION # 81
Which three actions are applicable when extendinga default Salesforce B2B Commerce page via a page include? (3 answers)

  • A. Create a Service Class override to query the new page include.
  • B. Prepend "c." to the name ofthe page referenced in the configuration setting.
  • C. Build and activate a new configuration cache setting via CC admin.
  • D. Create the VisualForce page you wish to include to the Salesforce b2B Commerce page.
  • E. Create a configuration setting for enabling the page include and assigning the new page include via CC admin.

Answer: C,D,E

Explanation:
Three actions that are applicable when extending a default Salesforce B2B Commerce page via a page include are:
Create the VisualForce page you wish to include to the Salesforce B2B Commerce page. This page will contain the custom content or logic that you want to add to the existing page. For example, you can create a VisualForce page named MyPageInclude that displays some additional information or functionality on the product detail page.
Create a configuration setting for enabling the page include and assigning the new page include via CC Admin. This setting will specify which page include you want to use for which page and section. For example, you can create a configuration setting named CO.MyPageInclude with the value PDV.BodyIncludeBegin.MyPageInclude, which means you want to use MyPageInclude as the body include begin for the product detail view (PDV) page.
Build and activate a new configuration cache setting via CC Admin. This action will refresh the cache and apply the changes to the storefront. You need to do this whenever you make any changes to the configuration settings or VisualForce pages. Salesforce B2B Commerce and D2C Commerce Developer Guide,Page Includes


NEW QUESTION # 82
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?

  • A. ccrz.ccUtil.... (Map<String.Object> mp, String key, Object ob)
  • B. ccrz.ccUtil.defv (Map<String.Object> mp, String key , Object ob)
  • C. ccrz.ccUtil.defaultValue(Map<String.Object> mp, String key , Object ob)
  • D. ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob)

Answer: D

Explanation:
The ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob) method 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. This method is useful for providing fallback values for configuration settings or input parameters that may be missing or invalid. Salesforce B2B Commerce and D2C Commerce Developer Guide,ccUti Class


NEW QUESTION # 83
......

Free AP-202 Exam Questions AP-202 Actual Free Exam Questions: https://www.exam4free.com/AP-202-valid-dumps.html

Verified AP-202 dumps and 225 unique questions: https://drive.google.com/open?id=1GuUbnLMAm8ooiOfFB8vTNtxV7hxRH7nx