Questão 1
Questão
Is Apex a Case-insensitive language?
Questão 2
Questão
Apex requires unit testing for deployment into a Production environment (True or false)
Questão 3
Questão
The sObject data type is a generic data type that is the parent class for all standard and custom objects in Apex?
Questão 4
Questão
A global class is only accessible within the org.
Questão 5
Questão
Are these two forms of DML operations?
1.) Standalone statements (insert myAccount;)
2.) Database methods (Database.insert(myAccount);)
Questão 6
Questão
When a DML standalone statement is executed against a list of records, if one record encounters an error, what happens?
Questão 7
Questão
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.
Responda
-
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.
Questão 8
Questão
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?
Responda
-
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.
Questão 9
Questão
True or False: You must specify a value for the allOrNone parameter when using a Database method.
Questão 10
Questão
What is the default value of the allOrNone parameter of a Database method?
Questão 11
Questão
What is the return type for the Database.insert method?
Responda
-
Database.SaveResult
-
Database.FinalResult
-
Database.StoredResult
Questão 12
Questão
What is the return type for the Database.update method?
Responda
-
Database.StoredResult
-
Database.SaveResult
-
Database.FinalResult
-
Database.Result
Questão 13
Questão
What is the return type for the Database.update method when a LIST of records is updated?
Questão 14
Questão
What is the return type for the Database.delete method?
Responda
-
Database.DeleteResult
-
Database.SaveResult
-
Database.SavedResult
Questão 15
Questão
What is the return type for the Database.merge method?
Responda
-
Database.SaveResult
-
Database.MergeResult
-
Database.DeleteResult
Questão 16
Questão
What does SOQL stand for?
Responda
-
Salesforce Object Quest Language
-
Salesforce Object Query Language
-
Salesforce Object Queue Language
Questão 17
Questão
Where can you NOT execute a SOQL query?
Responda
-
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
Questão 18
Questão
What are the three main components (or clauses) of a SOQL statement?
Questão 19
Questão
In the Developer Console, where can you run a SOQL query?
Responda
-
In the Query Editor
-
Under the Setup menu
Questão 20
Questão
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.
Responda
-
1st and 2nd option are correct
-
2nd and 3rd option are correct
-
1st and 4th option are correct
Questão 21
Questão
What is the return type of a SOSL query?
Questão 22
Questão
By default, SOSL returns only the [BLANK] of found records.
Responda
-
Name
-
IDs
-
Name and IDs
-
No results
Questão 23
Questão
True or False: The FIND clause does not support wildcard searches.