SFDC-QUIZ

Description

SFDC-PPlatform Dev1
bodala shanmuk
Quiz by bodala shanmuk, updated more than 1 year ago
bodala shanmuk
Created by bodala shanmuk over 4 years ago
24
0

Resource summary

Question 1

Question
Is Apex a Case-insensitive language?
Answer
  • True
  • False

Question 2

Question
Apex requires unit testing for deployment into a Production environment (True or false)
Answer
  • True
  • False

Question 3

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

Question 4

Question
A global class is only accessible within the org.
Answer
  • True
  • False

Question 5

Question
Are these two forms of DML operations? 1.) Standalone statements (insert myAccount;) 2.) Database methods (Database.insert(myAccount);)
Answer
  • True
  • False

Question 6

Question
When a DML standalone statement is executed against a list of records, if one record encounters an error, what happens?
Answer
  • 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.

Question 7

Question
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.
Answer
  • 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.

Question 8

Question
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?
Answer
  • 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.

Question 9

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

Question 10

Question
What is the default value of the allOrNone parameter of a Database method?
Answer
  • True
  • False

Question 11

Question
What is the return type for the Database.insert method?
Answer
  • Database.SaveResult
  • Database.FinalResult
  • Database.StoredResult

Question 12

Question
What is the return type for the Database.update method?
Answer
  • Database.StoredResult
  • Database.SaveResult
  • Database.FinalResult
  • Database.Result

Question 13

Question
What is the return type for the Database.update method when a LIST of records is updated?
Answer
  • List<Sobject>
  • Database.SaveResult
  • List<Database.SaveResult>

Question 14

Question
What is the return type for the Database.delete method?
Answer
  • Database.DeleteResult
  • Database.SaveResult
  • Database.SavedResult

Question 15

Question
What is the return type for the Database.merge method?
Answer
  • Database.SaveResult
  • Database.MergeResult
  • Database.DeleteResult

Question 16

Question
What does SOQL stand for?
Answer
  • Salesforce Object Quest Language
  • Salesforce Object Query Language
  • Salesforce Object Queue Language

Question 17

Question
Where can you NOT execute a SOQL query?
Answer
  • 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

Question 18

Question
What are the three main components (or clauses) of a SOQL statement?
Answer
  • SELECT, FROM, WHERE
  • SELECT, IN, WHERE
  • SELECT, FROM, IN
  • SELECT, GROUP BY, ORDER BY

Question 19

Question
In the Developer Console, where can you run a SOQL query?
Answer
  • In the Query Editor
  • Under the Setup menu

Question 20

Question
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.
Answer
  • 1st and 2nd option are correct
  • 2nd and 3rd option are correct
  • 1st and 4th option are correct

Question 21

Question
What is the return type of a SOSL query?
Answer
  • A list of list of SObjects
  • A list of SObjects
  • A single sObject

Question 22

Question
By default, SOSL returns only the [BLANK] of found records.
Answer
  • Name
  • IDs
  • Name and IDs
  • No results

Question 23

Question
True or False: The FIND clause does not support wildcard searches.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

SFDC App Builder 1 (126-150)
Connie Woolard
SFDC App Builder (76-100)
Connie Woolard
SFDC App Builder 1 (176-200ish)
Connie Woolard
SFDC App Builder 1 (26-50)
Connie Woolard
SFDC App Builder 1 (1-25)
Connie Woolard
SFDC App Builder 1 (151-175)
Connie Woolard
Salesforce Certified Platform Developer I (116-150)
Marco Calisti
ADM201 Testbank
student kilo
SFDC App Builder I (51-75)
Victoria Jones
Salesforce ADM 201 II
mito_zgb
SFDC App Builder 1 (101-125)
Victoria Jones