上QQ阅读APP看书,第一时间看更新
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:
- 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?
- Delete it using Schema Builder; this will automatically remove any reference to this field from Apex
- Schema Builder can not be used to delete fields
- Remove any reference to this field first from any Apex code, then delete the field using Schema Builder
- Delete the field using Schema Builder. This will keep all references to it in Apex, but your code will not be functional anymore
- What can not be done using Schema Builder?
- Creation of a custom object
- Creation of a custom field on a standard object
- Deletion of a custom object
- Deletion of a standard object
- What type of field can not be created through Schema Builder?
- An encrypted text field
- A geolocation field
- A multi-select picklist field
- A rich text field
- 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?
- Use a junction object with two master-detail relationships
- Use a master-detail relationship on Invoice to Invoice Line Item
- Use a master-detail relationship on Invoice Line Item to Invoice
- Use lookup to Invoice on Invoice Line Item
- 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?
- Create a lookup relationship field on the Invoice object that points to the Opportunity object
- Create a lookup relationship field on the Opportunity object that points to the Invoice object
- Create a master-detail relationship field on the Invoice object, that points to the Opportunity object
- Create a master-detail relationship field on the Opportunity object that points to the Invoice object
- Two objects in your org (object A and object B) should be related in a many-to-many relationship. What should you do?
- 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
- Create a junction object, with two master-detail relationship fields, pointing to object A and object B
- 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
- 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
- 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?
- Use Data Import Wizard to load these custom object records into Salesforce in one go
- 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
- Use Data Loader to load these custom object records into Salesforce in one go
- Both Data Import Wizard and Data Loader can load these custom Object records into Salesforce in one go
- 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?
- Use Data Loader and set the Match By field to Person Full Name
- Use Data Import Wizard and set the Match By field to Person Full Name
- Native Salesforce import tools cannot handle duplicates
- You should first remove any duplicate records from the file, then load the file with either Data Import Wizard or Data Loader
- 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?
- Use the built-in Data Export and schedule it with a daily frequency
- Use Data Loader and set the daily schedule from the Data Loader Settings menu
- Use Data Loader and set up a script that calls the Data Loader to run through the command line on a daily basis
- 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
- 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?
- Your org's company locale is set incorrectly
- Your user's locale is set incorrectly
- The date format used in your .csv file does not match your user's record locale
- The date format used in your .csv file does not match your org's company locale