Home Uncategorized Salesforce Certification Sample Question and Answers Part 6

Salesforce Certification Sample Question and Answers Part 6

#26 Apex allows developers to lock sObject records while they are being updated in order to prevent race conditions and other thread safety problems. Which of the following keywords is used, in SOQL statements for Locking?
a. TABLOCK
b. COMMIT
c. ROWLOCK
d. FOR UPDATE

Answer:

d. FOR UPDATE
http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_locking_statements.htm

#27 Which of the following Typographical Conventions is used to represent variables in Apex?
a. Bold
b. Italics
c. Bold Italics
d. Regular Italics

Answer:
b. Italics

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_conventions.htm

#28 Which of the following field properties is not supported for the PersonContactId field name of the Account object?
a. Create
b. Filter
c. Nillable
d. None of the above
Answer:
a. Create
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_account.htm

#29 What is the data type of the accountId argument in a convertLead() API call?
a. string
b. boolean
c. int
d. ID
e. anyType

Answer:
d. ID
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_convertlead.htm

#30 Which of the following Access Levels can be granted under Apex Managed Sharing?
a. Read Only
b. Private
c. Read/Write
d. All of the above

Answer:
d. All of the above
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_bulk_sharing_understanding.htm

You may also like

Leave a Comment