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

Written by 

I am Sakthivel Madesh, a certified Salesforce Advanced Developer & Administrator working on Salesforce Technology since 2011. I am currently working in Techforce Services as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 15x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead 5x Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply