Professional Documents
Culture Documents
PD 1
PD 1
A developer is debugging the following code to determinate why Accounts are not being created
Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered
A.
B.
C.
D.
A.
B.
C.
Schedule a report.
D.
Question # 20
Which three statements are true regarding custom exceptions in Apex? (Choose three.)
A.
B.
C.
E.
A custom exception class can extend other classes besides the Exception class.
The Sales Representative user should be able to see the commission field on each record. The
How should this be enforced so that the component works for both users without showing any
errors?
A.
Use WITH SECURITY_ENFORCED in the SOQL that fetches the data for the component.
B.
C.
D.
Use Lightning Locker Service to enforce sharing rules and field-level security.