SF FUNDAMENTALS - PD1 Flashcards

1
Q

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

A

C

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A
B
C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

B

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A

B
C
D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Question 16 Of 33
Cosmic Solutions has a custom object called Weekly Employee Summary, which stores a summary of employee data that is tracked in Salesforce,
such as hours worked and wage totals. An autolaunched flow has been built to calculate this information and create a new Weekly Employee
Summary record for each employee every time it is run. Currently, a Salesforce Administrator needs to run this flow manually once a week. They
would like this flow to be run automatically in the future. Which solutions would meet this requirement?

Choose 2 answers.

A. Invoke the flow from an Apex job that runs weekly
B. Replace the autolaunched flow with a schedule-triggered flow
C. Use Process Builder to invoke the flow to run weekly
D. Create a workflow rule that launches the flow weekly

A

A

B

17
Q

Question 17 Of 33
Cosmic Innovation is considering the use of the Lightning Component Framework to build a custom application for managing the company’s
products. Which of the following are valid capabilities of the framework that would be useful for understanding how to develop and provide access
to the custom application?

Choose 3 answers.

A. The framework uses JavaScript on the client-side and Apex on the server-side.
B. The components built using the framework can be added as custom tabs on the navigation bar.
C. The components built using the framework offer cross-browser compatibility but not device-awareness.
D. The framework utilizes stateless client and stateful server, which improves efficiency and responsiveness.
E. The framework provides two programming models for development, namely, Aura Components and Lightning Web Components.

A

A
B
E

18
Q

Question 18 Of 33
There is a requirement to rate all accounts daily based on the values of the opportunities closed in the current year, the number of open
opportunities, and the opportunity close rates. The account with the highest aggregated result should be rated number 1, and so on until the
account with the lowest rating is updated. How could this requirement be achieved?

Choose 1 answer.

A. Use an Apex trigger on the Account object and schedule it to run each night
B. Use a time-dependent workflow action to update the ‘Rating’ field
C. Use Process Builder and schedule an action to run each night to sort and rate all accounts
D. Use a Batch Apex job and schedule it to run each night

A

D

19
Q

Question 19 Of 33
Global Insurance would like users to be able to enter policy and advisor details on a screen. When a user clicks the ‘Next’ button on the screen, the
advisor commission related to the details entered by the user should be displayed on the next screen. What would be the recommended solution
for this requirement?

Choose 1 answer.

A. Create a flow with Flow Builder
B. Create a Visualforce wizard
C. Create a process with Process Builder
D. Create an approval workflow

A

A

20
Q

Question 20 Of 33
A Salesperson wants to track customer preferences and product interests. How can the data structure required be achieved in Salesforce as per
the MVC model?

Choose 1 answer.

A. Validation Rules
B. Workflow
C. Creating objects and fields
D. Creating Custom Visualforce pages

A

C

21
Q

Question 21 Of 33
Cosmic Finance Solutions has recently switched to Lightning Experience. The Salesforce Administrator of the company would like to make use of
Lightning components to enhance the user experience. Which of the following can be created using the Lightning App Builder?

Choose 3 answers.

A. Single-page apps
B. Custom record pages
C. Custom page layouts
D. Lightning tabs
E. Custom home pages
A

A
B
E

22
Q

Question 22 Of 33
What constitutes the Model part in the Model-View-Controller paradigm?

Choose 2 answers

A. Standard Objects
B. Standard Pages
C. Visualforce Pages
D. Custom Objects

A

A

D

23
Q

Question 23 Of 33
A Salesforce developer wants to build a custom user interface for internal users. The interface will contain fields pulled from different Salesforce
objects, some of which are not related. Which is the most suitable solution in the given options?

Choose 1 answer.

A. Develop an application using Heroku and embed it in the Salesforce org
B. Build a custom page layout in Salesforce containing the required information
C. Build a page using Dynamic Forms and Field Section Lightning components
D. Develop a Visualforce page to display fields from the different objects

A

D

24
Q

Question 24 Of 33
Cosmic Solutions uses a third-party platform for managing their employees’ compensation plans. It needs to be integrated with its Salesforce org.
For example, when the third-party platform sends a request for a particular resource to the org, the org should respond to the request by sending
data in JSON format. In addition, when certain records are changed in the org, the third-party platform should be automatically notified of the
change. Which of the following should be used to meet the requirement?

Choose 2 answers.

A. SOAP API
B. Streaming API
C. REST API
D. Bulk API

A

B

C

25
Q

Question 25 Of 33
A service manager wants to send an email reminder to customers who have failed their energy audit to schedule another audit after they have
completed the required modifications. They want this to be done weekly for all the records that still have a failed audit status. How can a Salesforce
Administrator easily fulfill this requirement?

Choose 1 answer.

A. Create a process using Process Builder to select the records with a failed audit status and send an email reminder
B. Create a workflow to select the records with a failed audit status and associate a workflow action to send an email
C. Create a scheduled flow for the set of records that have a failed audit status to send an email
D. Create a batch Apex for the records that failed the energy audit and schedule Apex to send the email

A

C

26
Q

Question 26 Of 33
A Salesforce developer is building a Lightning Aura component and is refactoring code to create a common function that will be reused by several
other JavaScript functions in the component. Which file in the component bundle should contain the common function?

Choose 1 answer.

A. The component file
B. The controller file
C. The helper file
D. The design file

A

C

27
Q

Question 27 Of 33
A developer has created a custom Lightning component, but the component isn’t showing up in Lightning App Builder. Why is this happening?

Choose 1 answer.

A. The component has not been defined as public
B. My Domain has not been defined and deployed to the org
C. The lightning component has not been activated
D. The org doesn’t support the use of custom Lightning components

A

B

28
Q

AQuestion 28 Of 33
A requirement has been given to display the average value of won opportunities on the Account page layout. How can this be best achieved?

Choose 1 answer.

A. Use a trigger on the account object
B. Use roll-up summary fields and a formula field
C. Use a roll-up summary field with the average function
D. Use a trigger on the opportunity object

A

B

29
Q

Question 29 Of 33
Eric was told that Visualforce is part of the MVC paradigm. In this context, what does MVC stand for?

Choose 1 answer.

A. Master Class Variable
B. Master Control Variable
C. Model View Controller
D. Model Variable Controller

A

C

30
Q

Question 30 Of 33
A company has a business requirement that cannot be met using the declarative tools available in its Salesforce org. As a result, the Salesforce
Administrator of the company has resorted to installing a suitable package available in the AppExchange marketplace. What are the benefits of
using AppExchange?

Choose 2 answers.

A. AppExchange can scan an org for any security vulnerabilities.
B. AppExchange installs additional development tools in the org.
C. AppExchange apps may include support and maintenance.
D. AppExchange offers reviewed and proven solutions for customers.

A

C

D

31
Q

Question 31 Of 33
Cosmic Transport would like to use the Lightning Component Framework for adding functionality that allows the company’s users to manage its
transportation services. A developer has been asked to work on a few custom Lightning web components that will be added to Lightning pages and
tabs. Which of the following is an important consideration for this use case?

Choose 1 answer.

A. The Lightning Component Framework allows only Aura components to be added to Lightning tabs.
B. My Domain will need to be deployed for adding the components to Lightning pages and tabs.
C. Each Lightning web component should be inside an Aura component to configure it using Lightning App Builder.
D. A component bundle containing Controller and CSS would need to be defined for each Lightning web component.

A

B

32
Q

Question 32 Of 33
Which of the following events are fired when an Aura component loads on a page?

Choose 3 answers.

A. load
B. afterRender
C. render
D. init
E. start
A

B
C
D

33
Q

Question 33 Of 33
Which of the following are part of the model layer in the MVC model?

Choose 3 answers.

A. Relationships
B. Tabs
C. Objects
D. Page Layouts
E. Fields
A

A
C
E