Which of the following about Dynamic Apex is incorrect?
Answer(s): D
While you can use simple bind variables in dynamic SOQL, you cannot use bind variable fields (e.g. :myVariable.field1_c)Use escapeSingleQuotes to prevent SOQL injection
Which of the following exceptions cannot be caught and will force an error? (Choose three.)
Answer(s): A,B,E
SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml statement (i.e. an edit-only field being set on insert)Custom exceptions must extend the "Exception" class
What is the best way to display field-level error messages in Lightning?
Answer(s): A
What is the transaction limit for SOQL queries?
Post your Comments and Discuss Salesforce Certified Platform Developer II exam with other Community members:
Jenil Gandhi Commented on January 03, 2025 Hi everyone could sone share the certification voucher for PD2. INDIA
Aniq Commented on December 02, 2023 Hi every one Could some share the certification voucher for PD2 Anonymous
Rasheed Commented on June 07, 2023 Worth the price. I got 50% off when I selected 2 exams. PAKISTAN
Lisha Commented on September 21, 2022 Thank you! Anonymous
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the Certified Platform Developer II material!