APEX Sessions Quiz 7

APEX Sessions Quiz 7

1st Grade

10 Qs

Similar activities

DBMS QUIZ 2

DBMS QUIZ 2

1st - 12th Grade

12 Qs

Marketing & Sales

Marketing & Sales

1st - 3rd Grade

15 Qs

la gestion électronique des données (classement)

la gestion électronique des données (classement)

1st - 3rd Grade

6 Qs

Instant Messaging Quiz

Instant Messaging Quiz

1st Grade

10 Qs

Python Marathon (Easy Round)

Python Marathon (Easy Round)

1st - 6th Grade

10 Qs

AM Game

AM Game

1st - 12th Grade

12 Qs

Running Records Review

Running Records Review

KG - 4th Grade

10 Qs

FTL TRACKING

FTL TRACKING

1st Grade

7 Qs

APEX Sessions Quiz 7

APEX Sessions Quiz 7

Assessment

Quiz

Created by

M Salman

Professional Development

1st Grade

2 plays

Easy

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trigger.New

Returns a list of the new versions of the sObject records. This sObject list is available in insert,

update triggers, and the records can only be modified in before triggers.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trigger.New holds a map of IDs to the new versions of the sObject records.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trigger.Old holds a map of IDs to the Old versions of the sObject records.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one from the following is not a valid Context Variable in triggers.

Trigger.isInsert

Trigger.isUpdate

Trigger.isBefore

Trigger.isMiddle

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A trigger should be able to handle single record and thousands of record. This approach is called ?

Bulkifying trigger

Single Record trigger

NoneOfThem

6.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

A developer wishes to iterate over a list of records returned from a query, which of the following loop type is most appropriate?

Do While Loop

SOQL For Loop

While Loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When the opportunity stage is changed to ClosedWon. Send the email to the admin. Which Event Type will be used from the following

before insert

before update

after insert

after update

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Write a trigger on the Lead Object. Which one is the correct syntax from the following?

trigger leadTrigger on Lead (before insert){

}

leadTrigger on Lead (before insert)

trigger on Lead leadTrigger (before insert){

}

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method to use from the following. To find the count of number of elements in the List.

Size()

Length()

Count()

10.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if trigger is fired due to an insert operation. which one from the following will return true?

Trigger.isInsert

Trigger.isUpdate

Trigger.isDelete

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development