
Salesforce Q/A for 12 June

Quiz
•
Other
•
Professional Development
•
Hard

Sangeeta Ghosh
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Below given is the code for a Map. Identify the correct option to add 2 elements to the Map.
Map m = new Map(); ______________________ // Add first key value ______________________ // Add second key value
m.add(1,’First Entry’);
m.add(2,’Second Entry’);
m.insert(1,’First Entry’);
m.insert(2,’Second Entry’);
m.push(1,’First Entry’);
m.push(2,’Second Entry’);
m.put(1,’First Entry’);
m.put(2,’Second Entry’);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a Data Model of an application. Account and Contact Object has a look-up relationship where
Accounts is parent of contact. Refer the given SOQL statement & identify the type of query.
SELECT Account.Name. (SELECT Contact.FirstName, Contact.LastName FROM Account.Contact) FROM
Account
child-to-parent relationship query
parent-to-child relationship query
child-to-child relationship query
parent-to-parent relationship query
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a valid SOQL operator?
=
!=
<>
<
Answer explanation
The not equal to operator in SOQL is !=.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a valid Apex collection method?
add()
remove()
contains()
replace()
Answer explanation
There is no replace() method in the Apex collection classes.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How Many Times Trigger Execute On An Upsert Event
2
4
8
6
Answer explanation
Upsert trigger fires on 4 different events :- before(insert, update), after (insert, update)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can We Call A Batch Job From Trigger?
Yes
No
Answer explanation
Batch Apex can be invoked using an Apex trigger. But the trigger should not add more batch jobs than the limit
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are true regarding the deletion of a custom field?(Choose Any 2)
You cannot delete a custom field that is referenced elsewhere
Once you delete a custom field all data will be permanently deleted
You have up to 15 days to restore the custom field and all the data stored
You can only deactivate a custom field
Answer explanation
To delete custom fields, they shouldn’t be referenced elsewhere. Deleted custom fields and their data are stored until your org permanently deletes them or 15 days has elapsed, whatever happens first. Until that time, you can restore the field and its data. There is no option in Salesforce to deactivate a custom field but you can deactivate the value of a picklist field.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Topic 1 uestion 61 to 80

Quiz
•
Professional Development
20 questions
Incu SD_Ôn tập training - part 1

Quiz
•
Professional Development
15 questions
[FAST TRACK] Android Class Quiz week 05 12/05

Quiz
•
Professional Development
20 questions
CSS Unit 1

Quiz
•
Professional Development
15 questions
Quiz sur les tableaux en C

Quiz
•
Professional Development
20 questions
Logical and Programming Questions

Quiz
•
Professional Development
25 questions
Quiz

Quiz
•
Professional Development
24 questions
ETHICS - LESSON 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade