SF FUNDAMENTALS - PD1 Flashcards
Question 1 Of 33
Sarah has set up the standard Email-to-Case functionality and is testing it. She has found that cases are created from emails sent to the designated
email address with the subject populated from the email subject and the case description populated from the email body. The support emails are
sent using a standard format that includes the case priority and site location of the customer issue. How can these fields be set automatically when
the case is created?
Choose 2 answers.
A. Create a workflow rule to update the case priority and site location fields
B. Add field mappings for custom priority and site location in the Email-to-Case settings
C. Create a custom email handler to map the fields
D. Create a before insert trigger on the case object to update the case priority and site location fields
C
D
Question 2 Of 33
There is a requirement that when an opportunity is closed, commission records should be created automatically for each member of the
opportunity team. The Commission custom object has a Currency field wherein its value is calculated based on the opportunity team role of the
member, and the Type and Amount of the related opportunity. How should this be achieved?
Choose 1 answer.
A. Workflow Rule
B. Process Builder
C. Flow Builder
D. Apex Trigger
C
Question 3 Of 33
Global Containers requires that when saving an opportunity record, a check is performed to determine if the opportunity amount is the highest
value in the current year for all opportunities in the org. If so, a checkbox on the opportunity record should be marked and an email should be sent
to the record owner’s manager. What Salesforce feature should be recommended to handle this requirement?
Choose 1 answer.
A. Formula Field
B. Workflow Rule
C. Flow Builder
D. Apex Trigger
C
Question 4 Of 33
Which of the following are true regarding developing in the Salesforce multi-tenant environment?
Choose 2 answers.
A. Queries should be selective in terms of the number of records returned
B. It is not possible to index application data as each tenant stores different types of data in the same application table
C. The custom domain feature ensures that different customers do not access each other’s data
D. Salesforce delivers polyglot persistence transparently
A
D
Question 5 Of 33
Because Apex runs in a multitenant environment, the Apex runtime engine enforces limits to ensure that Apex code or processes don’t monopolize
shared resources. What are valid examples of these limits?
Choose 3 answers.
A. Total number of records retrieved by SOQL queries
B. CPU time per transaction
C. Time executing a SOQL query
D. Maximum number of records that can be stored
E. Maximum execution time for a DML operation
A
B
C
Question 6 Of 33
What is a valid consideration regarding development in a multi-tenant environment?
Choose 1 answer.
A. Salesforce upgrades sandbox environments at the same time as production environments
B. Salesforce organizations can choose to accept upgrades, so different organizations may be on different releases
C. Salesforce upgrades are automatic and cannot be scheduled on a particular date
D. Although Salesforce runs in the cloud, client software is still required
C
Question 7 Of 33
Which of the following are valid considerations that a new developer should be aware of when developing in a multi-tenant environment?
Choose 2 answers.
A. Governor limits ensure that the amount of CPU time is monitored and limited per customer over a defined time period to ensure
that performance in one org is not impacted by another
B. The number of API calls allowed is unlimited
C. Many customers share the same instance, so queries need to ensure the correct organization id is referenced to return the correct
organizational data
D. Restrictions are enforced on code that can be deployed into a production environment
A
D
Question 8 Of 33
A developer is required to ensure that a reason is entered if an opportunity stage is updated to ‘Closed Lost’. What is the best way to meet this
requirement?
Choose 1 answer.
A. Validation rule
B. Apex Trigger
C. Required field
D. Workflow rule
A
Question 9 Of 33
What is true regarding the Salesforce multitenant environment?
Choose 2 answers.
A. All customers share the same code base, but have their own database
B. All customizations are specified as metadata, allowing for easy upgrades
C. Metadata includes configuration but not code
D. Automatic upgrades are applied during the year according to the Salesforce release schedule to all customers
B
D
Question 10 Of 33
A developer is creating a custom Lightning page with multiple Aura components and wants certain components to refresh when the information in
other components changes. The components causing the change and the components that need to be refreshed may or may not be in the same
parent component. How can this be accomplished?
Choose 1 answer.
A. Use viewstate to detect changes in components and update other components accordingly
B. Use the reRender attribute and an onchange event handler
C. Use an application event to notify other components of the change and give them a chance to handle it
D. Use a component event to notify other components of the change and give them a chance to handle it
C
Question 11 Of 33
Which of the following use cases are valid for using declarative customization?
Choose 3 answers.
A. Displaying the total discount amount on an opportunity using a roll-up summary field based on line item formula fields which reference
another object
B. Displaying the number of employees of the account related to an opportunity on the Opportunity page layout
C. Determining a lead rating that is based on the value of three fields on the lead record
D. Calculating the number of days until an opportunity closes and displaying the value on a report
E. Calculating the sales tax applicable to a quote that is a complex calculation based on factors such as product, state, and quantity
B
C
D
Question 12 Of 33
Which of the following correctly describes how the platform features map to the MVC pattern?
Choose 1 answer.
A. Model: Standard and Custom objects; View: Pages and Components; Controller: Standard and Custom Controllers
B. Model: APEX Classes; View: Pages and Components; Controller: APEX Triggers
C. Model: Standard and Custom objects; View: CSS and images; Controller: Standard and Custom Controllers
D. Model: Javascript code; View: Visualforce Pages; Controller: Custom APEX code
A
Question 13 Of 33
What is correct in respect to the Salesforce MVC paradigm?
Choose 1 answer.
A. Visualforce pages are part of MVC
B. Standard pages are part of MVC
C. All Statements are true
D. Custom Objects are part of MVC
C
Question 14 Of 33
Which of the following are part of the control layer in the MVC model?
Choose 2 answers.
A. Apex custom controllers
B. Visualforce Controllers
C. List VieAws
D. Apps
A
B
Question 15 Of 33
There is a requirement to validate that the country code of an account field is a valid ISO code. There are over 200 codes. What could be used for
this validation?
Choose 1 answer.
A. Workflow Rule
B. Validation Rule
C. After Update trigger
D. Before Update trigger
B