bodala shanmuk
Quiz by , created more than 1 year ago

SFDC-PPlatform Dev1

15
0
0
bodala shanmuk
Created by bodala shanmuk over 4 years ago
Close

SFDC-QUIZ

Question 1 of 23

1

Is Apex a Case-insensitive language?

Select one of the following:

  • True
  • False

Explanation

Question 2 of 23

1

Apex requires unit testing for deployment into a Production environment (True or false)

Select one of the following:

  • True
  • False

Explanation

Question 3 of 23

1

The sObject data type is a generic data type that is the parent class for all standard and custom objects in Apex?

Select one of the following:

  • True
  • False

Explanation

Question 4 of 23

1

A global class is only accessible within the org.

Select one of the following:

  • True
  • False

Explanation

Question 5 of 23

1

Are these two forms of DML operations?

1.) Standalone statements (insert myAccount;)
2.) Database methods (Database.insert(myAccount);)

Select one of the following:

  • True
  • False

Explanation

Question 6 of 23

1

When a DML standalone statement is executed against a list of records, if one record encounters an error, what happens?

Select one of the following:

  • All of the records will fail. None of the records will be inserted/updated etc.

  • All of the records except the failed records will be inserted/updated etc.

Explanation

Question 7 of 23

1

When a DML Database method is executed against a list of records, if one record encounters an error, what happens? Given allOrNone is set to false.

Select one of the following:

  • Even if an error is encountered with one record in the list, the operation will continue with the other records in the list

  • Even if one record fails, none of the records will get inserted/deleted/updated.

Explanation

Question 8 of 23

1

When using a Database method to execute a DML operation, and if allOrNone is set to false, how can you check the results of the operation?

Select one of the following:

  • Database insert and update methods return a Save object that can be used to get the results of the operation.

  • Database insert and update methods return a SaveResult object that can be used to get the results of the operation.

Explanation

Question 9 of 23

1

True or False: You must specify a value for the allOrNone parameter when using a Database method.

Select one of the following:

  • True
  • False

Explanation

Question 10 of 23

1

What is the default value of the allOrNone parameter of a Database method?

Select one of the following:

  • True
  • False

Explanation

Question 11 of 23

1

What is the return type for the Database.insert method?

Select one of the following:

  • Database.SaveResult

  • Database.FinalResult

  • Database.StoredResult

Explanation

Question 12 of 23

1

What is the return type for the Database.update method?

Select one of the following:

  • Database.StoredResult

  • Database.SaveResult

  • Database.FinalResult

  • Database.Result

Explanation

Question 13 of 23

1

What is the return type for the Database.update method when a LIST of records is updated?

Select one of the following:

  • List<Sobject>

  • Database.SaveResult

  • List<Database.SaveResult>

Explanation

Question 14 of 23

1

What is the return type for the Database.delete method?

Select one of the following:

  • Database.DeleteResult

  • Database.SaveResult

  • Database.SavedResult

Explanation

Question 15 of 23

1

What is the return type for the Database.merge method?

Select one of the following:

  • Database.SaveResult

  • Database.MergeResult

  • Database.DeleteResult

Explanation

Question 16 of 23

1

What does SOQL stand for?

Select one of the following:

  • Salesforce Object Quest Language

  • Salesforce Object Query Language

  • Salesforce Object Queue Language

Explanation

Question 17 of 23

1

Where can you NOT execute a SOQL query?

Select one of the following:

  • the queryString parameter in the query() call

  • Apex Statements

  • Visualforce controllers and getter methods

  • Schema Explorer in the Force.com IDE

  • Query Editor in the developer console

  • Sobject

Explanation

Question 18 of 23

1

What are the three main components (or clauses) of a SOQL statement?

Select one of the following:

  • SELECT, FROM, WHERE

  • SELECT, IN, WHERE

  • SELECT, FROM, IN

  • SELECT, GROUP BY, ORDER BY

Explanation

Question 19 of 23

1

In the Developer Console, where can you run a SOQL query?

Select one of the following:

  • In the Query Editor

  • Under the Setup menu

Explanation

Question 20 of 23

1

What are some differences between SOSL and SOQL?

1.) SOSL can search multiple objects at once

2.) SOQL is used to perform text searches.

3.) SOQL can search multiple objects at once.

4.) SOSL is used to perform text searches.

Select one of the following:

  • 1st and 2nd option are correct

  • 2nd and 3rd option are correct

  • 1st and 4th option are correct

Explanation

Question 21 of 23

1

What is the return type of a SOSL query?

Select one of the following:

  • A list of list of SObjects

  • A list of SObjects

  • A single sObject

Explanation

Question 22 of 23

1

By default, SOSL returns only the [BLANK] of found records.

Select one of the following:

  • Name

  • IDs

  • Name and IDs

  • No results

Explanation

Question 23 of 23

1

True or False: The FIND clause does not support wildcard searches.

Select one of the following:

  • True
  • False

Explanation