function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rohini Sirigiri 5Rohini Sirigiri 5 

# Guys,

I need the correct answers for these questions. Please help !!

1. 100 accounts & 200 contacts are inserted in an apex transaction. Account is inserted using Database.insert with BooleanAllOrNone flag as False. While inserting 2000 contacts and opportunities using Insert method, and an exception occurs. How many records will be inserted?
a) 100
b) 2000
c) 2100
d) 0
e) None of the above

2. Lightning components can be used in which of the following places:
a) Lightning record page
b) Lightning Home Page
c) Lighting Connect
d) Lightning Community page

I dont other one more option for this question.

3.Which one represents controller in MVC
a) Retriving records from apex controller using SOQL
b) Using Javascript from handler class to retrieve from Apex class
 
I dont have other two options currently for this question.
Julio Alberto Asenjo GarcíaJulio Alberto Asenjo García
1. D --if an exception occurs salesforce automatically rollbacks all the transaction. 
2. A, B D
3 B
 
Rohini Sirigiri 5Rohini Sirigiri 5
Thank you Julio.