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