Quiz

Let's see if you are on the right track to becoming a certified Salesforce developer. You'll find all the answers to this chapter summary quiz at the end of this book. Try to answer the questions without looking at the answers:

  1. You are cleaning up your org and have do remove a field that is referenced in Apex. You would like to delete this field using the Schema Builder. Can you do that? And, if so, how?
    1. Delete it using Schema Builder; this will automatically remove any reference to this field from Apex
    2. Schema Builder can not be used to delete fields
    3. Remove any reference to this field first from any Apex code, then delete the field using Schema Builder
    4. Delete the field using Schema Builder. This will keep all references to it in Apex, but your code will not be functional anymore
  2. What can not be done using Schema Builder?
    1. Creation of a custom object
    2. Creation of a custom field on a standard object
    3. Deletion of a custom object
    4. Deletion of a standard object
  3. What type of field can not be created through Schema Builder?
    1. An encrypted text field
    2. A geolocation field
    3. A multi-select picklist field
    4. A rich text field
  1. You are required to relate two custom objects, Invoice Line Item and Invoice. Invoice Line Items are strongly related to Invoice, and an Invoice Line Item cannot exist without Invoice. What relationship should you use in this scenario?
    1. Use a junction object with two master-detail relationships
    2. Use a master-detail relationship on Invoice to Invoice Line Item
    3. Use a master-detail relationship on Invoice Line Item to Invoice
    4. Use lookup to Invoice on Invoice Line Item
  2. You are asked to create a new custom object called Invoice, and it should be related to the Opportunity object. An Invoice should inherit record access from the Opportunity it's related to. What relationship should be created, and on which object?
    1. Create a lookup relationship field on the Invoice object that points to the Opportunity object
    2. Create a lookup relationship field on the Opportunity object that points to the Invoice object
    3. Create a master-detail relationship field on the Invoice object, that points to the Opportunity object
    4. Create a master-detail relationship field on the Opportunity object that points to the Invoice object
  3. Two objects in your org (object A and object B) should be related in a many-to-many relationship. What should you do?
    1. Create a master-detail relationship field on object A, pointing to object B, and another master-detail relationship field on object B pointing to object A
    2. Create a junction object, with two master-detail relationship fields, pointing to object A and object B
    3. Create a many-to-many relationship field on object A, pointing to object B, and another many-to-many relationship field on object B, pointing to object A
    4. Create a junction object, and create a master-detail relationship field on both object A and object B that each point to the junction object
  1. You have received a .csv file containing 65,000 movie records and have been asked to load them into Salesforce in one go. How will you do that?
    1. Use Data Import Wizard to load these custom object records into Salesforce in one go
    2. Hire a student to start typing the records in one by one, because none of the tools provided by Salesforce can handle this many custom object records in one go
    3. Use Data Loader to load these custom object records into Salesforce in one go
    4. Both Data Import Wizard and Data Loader can load these custom Object records into Salesforce in one go
  2. You have received a .csv file containing 10,000 person records, but it is possible that some records from your file already exist in Salesforce. How can you load those into Salesforce without creating duplicates?
    1. Use Data Loader and set the Match By field to Person Full Name
    2. Use Data Import Wizard and set the Match By field to Person Full Name
    3. Native Salesforce import tools cannot handle duplicates
    4. You should first remove any duplicate records from the file, then load the file with either Data Import Wizard or Data Loader
  3. You would like to export Salesforce account data on a daily basis so that you can import them one way or another into your ERP. How can you do this?
    1. Use the built-in Data Export and schedule it with a daily frequency
    2. Use Data Loader and set the daily schedule from the Data Loader Settings menu
    3. Use Data Loader and set up a script that calls the Data Loader to run through the command line on a daily basis
    4. Use the built-in Data Export and set up a script that calls the data export to run through command line on a daily basis
  4. You have just loaded more than 25,000 invoice records into Salesforce, but you get complaints from your end users that some of the invoice due dates are wrong. What could be the cause of this?
    1. Your org's company locale is set incorrectly
    2. Your user's locale is set incorrectly
    3. The date format used in your .csv file does not match your user's record locale
    4. The date format used in your .csv file does not match your org's company locale