Salesforce B2B Commerce for Developers Accredited Professional (AP-202) B2B-Commerce-Developer Question # 7 Topic 1 Discussion

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) B2B-Commerce-Developer Question # 7 Topic 1 Discussion

B2B-Commerce-Developer Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

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)


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.


Get Premium B2B-Commerce-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.