The new flashcard feature is useful to memorize questions.
?Change your study mode
At any time, you can change the study mode, and alternate between the practice mode and the exam mode. In practice mode, you can configure for example the number of questions or tests, and other parameters to help you study.
Randomized | 10 Questions per Test | 20 Minutes | 70% to pass|
To re-configure your study mode again and change - for example - the number of tests, whether you have random questions and all other configuration parameters.
?Simulator Configuration
Auto-scroll: You can use the automatic scrolling of the questionnaire that occurs as soon as you answer one or all of the answers to a question correctly. Auto scrolling is activated if you answer a single answer, or as soon as you answer all the mandatory answers. Learning Mode: During learning mode you can get a real time result for your answer.
Free Test
Question: / 10
20:00Min. left
?Restart the current test
To restart the current test by clearing all your answers and the time used up to now. Warning: all answers will be lost.
Question: / 10
4.8(1003 Votes)
Quiz
Question 1/101/10
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)
Select multiple answer: (Choose 3)Select the answer
3 correct answers
A.
Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getParameters().
B.
Executing dynamic SOQL inside a without sharing class with a bind variable from theUserInfo class.
C.
Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getCookies().
D.
Executing dynamic SOQL inside a without sharing class with a bind variable fromcc_RemoteActionContentex class.
E.
Executing dynamic SOQL inside a without sharing class with a bind variable fromccAPI.CURRENT_VERSION.
Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getParameters(), PageReference.getCookies(), or cc_RemoteActionContext class will open up a major security hole because these sources of input are not sanitized and can be manipulated by malicious users to inject SOQL queries that bypass the sharing rules and access data that they are not supposed to see. For example, a user can modify the URL parameters or cookies to include a SOQL query that returns sensitive data from the database. To prevent this, it is recommended to use static SOQL or escape the bind variables before executing dynamic SOQL.
Right Answer: A, C, D
Quiz
Question 2/102/10
The ccrz.cc_hk_UserInterface apex class, HTMLHead Include Begin and HTML Head Include End Cloudcraze Page Include sections allow additional content to be added to the HTML <head> tag. What are two reasons that is it preferred to use the ccrz.cc_hk_UserInterface extension over the Cloudcraze Page Include sections? (2 answers)
Select multiple answer: (Choose 2)Select the answer
2 correct answers
A.
Salesforce apex:include is wrapped in <span> tags.
B.
HTML does not support <div> tags inside the <head>
C.
Salesforce apex:include is wrapped in tags.
D.
HTML does not support <span> tags inside the <head>
The ccrz.cc_hk_UserInterface apex class is preferred over the HTMLHead Include Begin and HTML Head Include End Cloudcraze Page Include sections because Salesforce apex:include is wrapped in <span> tags, which are not valid inside the HTML <head> tag. This can cause rendering issues or unexpected behavior in some browsers. The ccrz.cc_hk_UserInterface extension allows adding content to the HTML <head> tag without using apex:include.
Right Answer: A, D
Quiz
Question 3/103/10
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes. What are two ways to check the input or return data of the Global API's? (2 answers)
Select multiple answer: (Choose 2)Select the answer
ccrz.ccUtil.isValid(Map<String, Object>) and ccrz.ccUtil.isValid(List<Object>)
D.
ccrz.ccUtil.isEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(List<Object>)
The ccUtil apex class provides two methods to check the input or return data of the Global API’s: ccrz.ccUtil.isNotEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(Map<String, Object>). These methods return true if the map is not null and contains at least one entry, or if the map is null or empty, respectively. Similarly, ccrz.ccUtil.isNotEmpty(List<Object>) and ccrz.ccUtil.isEmpty(List<Object>) return true if the list is not null and contains at least one element, or if the list is null or empty, respectively. These methods are useful for validating the input parameters or the output results of the Global API’s.
Right Answer: A, D
Quiz
Question 4/104/10
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?
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 Reference: B2B Commerce and D2C Commerce Developer Guide, ccUtil Class
Right Answer: B
Quiz
Question 5/105/10
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?
Select the answer:Select the answer
1 correct answer
A.
Delete the Visualforce page from the code base.
B.
Remove the value matching the page name from the pmt.whitelist configurationsetting, then rebuild and activate a new Configuration cache
C.
Remove the payment type associated with the payment page from CO.pmts, thenrebuild and activate a new cache.
D.
Override the front end template and modify the way the embedded payment page getsloaded from the payment list configuration.
This approach effectively removes the payment page from the list of allowed pages, ensuring it is not displayed during the checkout process. Reference: Salesforce B2B Commerce documentation on checkout process customization and configuration settings, specifically focusing on payment page handling and the pmt.whitelist setting. The pmt.whitelist configuration setting in Salesforce B2B Commerce is used to manage the Visualforce pages that support all payment types on the storefront1. If you want to prevent an existing payment page from being shown on the checkout payment page, one way to do it is to remove the value matching the page name from the pmt.whitelist configuration setting. After doing this, you would need to rebuild and activate a new Configuration cache for the changes to take effect1. Please note that this information is based on the Salesforce B2B Commerce documentation and best practices1.
Right Answer: B
Quiz
Question 6/106/10
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?
Select the answer:Select the answer
1 correct answer
A.
Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.
B.
Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class
C.
Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
D.
Create a new Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
To ensure that a custom field is available to display on a given page, the Developer needs to override the Service Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class. The Service Class is responsible for retrieving and setting data for a given page. The Logic Class is responsible for implementing business logic and validation rules for a given page. Creating a new Service Class or Logic Class is not necessary, as overriding an existing one can achieve the same result. Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Service Classes, Logic Classes
Right Answer: A
Quiz
Question 7/107/10
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?
Select the answer:Select the answer
1 correct answer
A.
CCRZ.productSearchView
B.
CCRZ.cartView
C.
CCRZ.productDetailModel
D.
CCRZ.productDetailView
To view the fields available for the Product Detail Page, the developer should type CCRZ.productDetailModel in the Developer Tools Console in the browser. This will display the product detail model object, which contains the product data and attributes that are rendered on the page. The other options are either not valid or not relevant for the Product Detail Page.
Right Answer: C
Quiz
Question 8/108/10
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)
Select multiple answer: (Choose 2)Select the answer
2 correct answers
A.
A standard remote action will not have access to Salesforce B2B Commerce objects.
B.
The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
C.
Salesforce B2B Commerce includes do not support standard SalesForce remote actions.
D.
The Salesforce B2B Commerce logger cannot be utilized in standard remote actions
It is preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager for two reasons: The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object, which contains useful information such as the current user, cart, storefront, and configuration settings. This can simplify the development and testing of the remote action. The Salesforce B2B Commerce logger can be utilized in the remote action, which allows logging messages and errors to the debug log or to a custom object. This can facilitate debugging and troubleshooting of the remote action.
Right Answer: B, D
Quiz
Question 9/109/10
How are variables bound when services use the ccSercviceDao classto execute queries?
Select the answer:Select the answer
1 correct answer
A.
Global variables
B.
Apex local variables
C.
String substitution
D.
Apex class variables
When services use the ccServiceDao class to execute queries, variables are bound by string substitution. This means that the query string contains placeholders for variables that are replaced by their values at runtime. For example, ccrz.ccServiceDao.getQuery('SELECT Id FROM Account WHERE Name = :name') will replace :name with the value of the name variable.
Right Answer: C
Quiz
Question 10/1010/10
How are version related upgrades passed on to subscriber API extensions/overrides?
Select the answer:Select the answer
1 correct answer
A.
APIs callback with specific versions specified; the user must know which version number to use.
B.
Copy and paste of specific code is "built-in"
C.
Extensions and overridden APIs don't support-related upgrades.
D.
The "delegate" allows inherited method calls access to the most recentlyspecified service version
Version related upgrades are passed on to subscriber API extensions/overrides by using the “delegate” keyword, which allows inherited method calls access to the most recently specified service version. For example, delegate.getCart() will invoke the getCart() method of the latest service version that is available for the current storefront. This way, extensions and overrides can leverage the new features and enhancements of the upgraded service versions without modifying their code.
B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Practice test unlocks all online simulator questions
Thank you for choosing the free version of the B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer practice test! Further deepen your knowledge on Salesforce Simulator; by unlocking the full version of our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator you will be able to take tests with over 221 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 221 questions.
What to expect from our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer practice tests and how to prepare for any exam?
The B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator Practice Tests are part of the Salesforce Database and are the best way to prepare for any B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer exam. The B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer practice tests consist of 221 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator will also give you an idea of the time it will take to complete each section of the B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer practice test . It is important to note that the B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator does not replace the classic B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer exam.
B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Practice test therefore represents an excellent tool to prepare for the actual exam together with our Salesforce practice test . Our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator and how our unique B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Database made up of real questions:
You can prepare for the B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator.
Use our Mobile App, available for both Android and iOS devices, with our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.
Our Mobile App contains all B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer practice tests which consist of 221 questions and also provide study material to pass the final B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer exam with guaranteed success.
Our B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer database contain hundreds of questions and Salesforce Tests related to B2B-Commerce-Developer: Salesforce Accredited B2B Commerce Developer Exam. This way you can practice anywhere you want, even offline without the internet.