Salesforce Q/A for 12 June

Salesforce Q/A for 12 June

Professional Development

20 Qs

quiz-placeholder

Similar activities

Internal Assessment: DFTM-Sem-3, Exp Management (7.11.2020)

Internal Assessment: DFTM-Sem-3, Exp Management (7.11.2020)

Professional Development

20 Qs

Are YOU a Minecraft Master?

Are YOU a Minecraft Master?

KG - Professional Development

15 Qs

Milady ch 18 and 19

Milady ch 18 and 19

Professional Development

20 Qs

Review Materi Modul 2

Review Materi Modul 2

Professional Development

16 Qs

daily live event : 24/06/2020

daily live event : 24/06/2020

Professional Development

25 Qs

TeenKaTadka Finale

TeenKaTadka Finale

Professional Development

20 Qs

Allison DOC

Allison DOC

Professional Development

20 Qs

Auditor 2 Bootcamp - Friday Funday

Auditor 2 Bootcamp - Friday Funday

Professional Development

19 Qs

Salesforce Q/A for 12 June

Salesforce Q/A for 12 June

Assessment

Quiz

Other

Professional Development

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?