Salesforce App Builder Flashcards

1
Q

Universal Containers wants Candidates to potentially have Job Applications. Only the recruiter and interviewer need access to the Job Application, but all employees can see Candidates. What type of relationship should be created?

  1. Lookup
  2. Master-Detail
  3. Hierarchy
  4. Self
  5. Indirect Lookup
A
  1. Lookup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where in the user interface is the plural label used? (Choose 2)

  1. Tab
  2. Related List
  3. Detail Page
  4. Object Manager
A
  1. Tab

2. Related List

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

Recruiters at Universal Containers need to track both the status and stage for job applications. How can an administrator ensure that the status selected determines the value available for the stage?

  1. Multi-Select Picklist
  2. Global Picklists
  3. Validation Rule
  4. Dependent Picklists
A
  1. Dependent Picklists
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a use case for an External Object?

  1. Data resides in a spreadsheet
  2. Source of truth for data is a legacy finance system
  3. Data requires a many-to-many relationship
  4. Data resides in a report
  5. Data must be loaded with Data Loader
A
  1. Source of truth for data is a legacy finance system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of field is always required on a page layout?

  1. Master reference on a detail record
  2. Detail reference on a master record
  3. Parent reference in a lookup relationship
  4. Owner
  5. All of the above
A
  1. Master reference on a detail record
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

At Universal Containers, the organisation-wide default for Candidates is set to Private. The audit team needs to see all the candidates that are located in California. How can a developer meet this requirement?

  1. Crate an ownership-based sharing rule for Candidates that give read/write access to a role.
  2. Change the organisation-wide default for Candidates to Public read/write.
  3. Create a criteria-based sharing rule for Candidates that gives read access to a public group.
  4. Create a new product auditor role in the role hierarchy which is above the VP of human resources role.
A
  1. Create a criteria-based sharing rule for Candidates that gives read access to a public group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

An executive assistant needs the ability to view, edit, and transfer ownership of all records. However, she should not be able to delete any records. Which two steps should the developer take to meet this requirement? (Choose 2)

  1. Create a sharing rule for each object that gives Read/Write access for all records to the executive assistant.
  2. Change the organisation-wide default for all objects to Public Read Only.
  3. Assign the executive assistant to the highest role hierarchy.
  4. Create a custom profile with the Delete object permission disabled for all objects and assign this profile to the executive assistant.
A
  1. Create a sharing rule for each object that gives Read/Write access for all records to the executive assistant.
  2. Create a custom profile with the Delete object permission disabled for all objects and assign this profile to the executive assistant.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do Record Types control? (Choose 2)

  1. Record Access
  2. Page Layouts
  3. Field-Level Security
  4. Picklist dependencies
  5. Available Picklist Values
A
  1. Page Layouts

5. Available Picklist Values

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

What happens when a user attempts to save a record and the formula defined by a custom validation rule evaluates to true for that record? (Choose 2)

  1. The record is saved
  2. The record is not saved
  3. An error message is displayed
  4. The result of the formula is displayed to the user
  5. The user is asked whether they still want to save the record.
A
  1. The record is not saved

3. An error message is displayed

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

What is a use case for validation rules?

  1. Prevent non-managers from joining a private chatter group.
  2. Restrict partner visibility to channel sales team.
  3. Prevent deals with less than a 10% discount from entering an approval process.
  4. Ensuring Zip/Postal Codes are entered in the correct format.
A
  1. Ensuring Zip/Postal Codes are entered in the correct format.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of these are directly available as an action type in a Workflow but not a Process Builder? (Choose 2)

  1. Send email
  2. Create Task
  3. Update Records
  4. Delete Records
  5. Send Outbound Message
A
  1. Create Task

5. Send Outbound Message

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

When Process Builder has scheduled actions triggered, where can a developer view and manage any pending actions?

  1. Process Builder
  2. Process Manager
  3. Event Manager
  4. Paused Flow Interviews
A
  1. Paused Flow Interviews
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Universal Containers wants the position record owner to be notified when the position is closed. How can an App Builder accomplish this? (Choose 2)

  1. Send an Email from Workflow
  2. Send an Email from Process Builder
  3. Send an Email using Apex Trigger
  4. Create a report
A
  1. Send an Email from Workflow

2. Send an Email from Process Builder

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

Which of these is a good use case for the Process Builder? (Choose 3)

  1. Automatically set Status to Closed when Date Closed is entered on a position
  2. Prevent users from setting Date Closed to be earlier than Date Opened on a position
  3. Send an email to the Hiring Manage when the Status of position is set to Closed
  4. Provide users with a wizard-based interface for entering a new position
  5. Post to chatter when position Status is set to Open
A
  1. Automatically set Status to Closed when Date Closed is entered on a position
  2. Send an email to the Hiring Manage when the Status of position is set to Closed
  3. Post to chatter when position Status is set to Open
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a part of an approval process? (Choose 3)

  1. Entry Criteria
  2. Immediate Actions
  3. Approval Steps
  4. Scheduled Actions
  5. Final Approval Actions
A
  1. Entry Criteria
  2. Approval Steps
  3. Final Approval Actions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True or False: a developer can change the order of the steps in an active approval process.

A

False

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

The list of available actions of approval processes is the same as for which other Salesforce automation tool?

  1. Process Builder
  2. Workflow
  3. Validation
  4. Flow
  5. None of these
A
  1. Workflow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

A user can receive an approval request all of the following ways except which one?

  1. Email
  2. Text Message
  3. Mobile App
  4. Home Tab
  5. Approvals Tab
A
  1. Text Message
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

When building a flow, which element is used to branch based on user input?

  1. Screen
  2. Decision
  3. Record Choice Set
  4. Assignment
A
  1. Decision
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

When building a flow, which element is used to make changes to data in Salesforce? (Choose 3 answers)

  1. Create Records
  2. Update Records
  3. Delete Records
  4. Dynamic Choice
A
  1. Create Records
  2. Update Records
  3. Delete Records
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How many versions of a flow can be active at one time?

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

How can a flow be made available to users? (Choose 3)

  1. Custom Button
  2. Quick Action
  3. Unmanaged Package
  4. Standard Lightning Component
A
  1. Custom Button
  2. Quick Action
  3. Standard Lightning Component
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Which of the following are metadata? (Choose 2)

  1. Picklist values
  2. User Records
  3. Salesforce licenses
  4. Reports
A
  1. Picklist values

4. Reports

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

Which of the following cannot be included in a change set?

  1. Flows
  2. Processes
  3. User Records
  4. Assignment Rules
A
  1. User Records
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Which sandbox would you use to declarative changes are frequently made in production and the sandbox must be updated often to reflect this?

  1. Full Copy Sandbox
  2. Developer Pro Sandbox
  3. Partial Data Sandbox
  4. IDE Sandbox
A
  1. Developer Pro Sandbox
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

There are multiple production environments that will require the same basic reports and dashboards. They should be customizable after they are deployed. Which tool would you use? (Choose 2)

  1. Unmanaged Package
  2. Managed Package
  3. Change Set
  4. Force.com migration tool
A
  1. Unmanaged Package

4. Force.com migration tool

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

What should a developer consider before importing a set of records into Salesforce? (Choose 2)

  1. If the owner field is left blank, the record will not be imported.
  2. If a universally required field is left blank, the record will not be imported.
  3. If the value of a field doesn’t meet the data validation criteria, the record will not be imported.
  4. If the name field is not unique, the record will not be imported.
  5. All columns in the import file must be mapped to a field object.
A
  1. If a universally required field is left blank, the record will not be imported.
  2. If the value of a field doesn’t meet the data validation criteria, the record will not be imported.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What are the benefits of using the data import wizard to import data into Salesforce? (Choose 2)

  1. Can be used to import data for all custom and standard objects
  2. Allows user performing the import to decide whether or not to trigger workflow rules
  3. Match on Name, Email, or Salesforce ID to prevent duplication
  4. Import up to 5 million records
  5. Can update, upsert, delete and export data
A
  1. Allows user performing the import to decide whether or not to trigger workflow rules
  2. Match on Name, Email, or Salesforce ID to prevent duplication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Why would a user choose Data Loader instead of the Data Import Wizard? (Choose 3)

  1. Can be used to import data for all custom and most standard objects
  2. Allows user performing the import to decide whether or not to trigger workflow rules
  3. Match on Name, Email, or Salesforce ID to prevent duplication
  4. Import up to 5 million records
  5. Can update, upsert, delete and export data
A
  1. Can be used to import data for all custom and most standard objects
  2. Import up to 5 million records
  3. Can update, upsert, delete and export data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Which field property or properties allow you to identify the record when performing an upsert

  1. Unique
  2. Unique (case sensitive)
  3. Unique and required
  4. External Id
A
  1. External Id
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What can be modified using a Custom Report Type? (Choose 2)

  1. Object relationship
  2. Fields and sections available in the report builder
  3. Running User
  4. Additional fields via related lookup
A
  1. Fields and sections available in the report builder

4. Additional fields via related lookup

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

Universal Containers needs a report that categorises accounts as small, medium or large, based on the number of employees. How can an app builder meet this reporting requirement?

  1. Create an account report that uses a bucket field to categorise accounts small, medium or large.
  2. Create a report that uses a multi-select picklist field to bucket accounts in the report according to size.
  3. Create an account report that uses a cross filter to categorise account based on the number of employees
  4. Create a summary report for accounts groups by size field.
A
  1. Create an account report that uses a bucket field to categorise accounts small, medium or large.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Universal Containers wants to create a scorecard report to help its management team better understand the performance and related activities of the sales representatives. Which approach could an app builder use to achieve this?

  1. Create a matrix report to show account and opportunities by sales rep
  2. Create a custom report type that contains user, opportunity, and activity data.
  3. Create a joined report that contains user, opportunity and activity data.
  4. Create a summary report of opportunity bucketed by activity count.
A
  1. Create a joined report that contains user, opportunity and activity data.
34
Q

Universal Containers needs a report of all positions with or without related job application. how can an app builder meet this requirement?

  1. Create a joined report to summarise related positions and job applications
  2. Create a tabular report to summarise related positions and job application, and select the “outer join” checkbox for job application.
  3. Create a Position report with a cross filer on job applications.
  4. Create custom report type using Position as the primary object.
A
  1. Create custom report type using Position as the primary object.
35
Q

What feature can be used to prevent a position from being deleted if it has any job applications associated with it.

  1. Validation rule
  2. Quick action
  3. Apex Trigger
  4. Lightning Component
A
  1. APEX Trigger
36
Q

Which features can be used to create a contact record each time a candidate is entered ? (Choose 2)

  1. Quick action
  2. Visualforce Page
  3. Auto launched flow
  4. Apex Trigger
A
  1. Auto launched flow

4. Apex Trigger

37
Q

Which of these is a good use case for lightning components? (Choose 2)

  1. Send an email to the record owner whenever an Opportunity is deleted
  2. Validate the format of a credit card as soon as the user leaves the field
  3. Make a field conditionally required
  4. Make a field conditionally read-only
A
  1. Validate the format of a credit card as soon as the user leaves the field
  2. Make a field conditionally read-only
38
Q

Universal Containers has a limited in-house development resources, but would like to support online payment processing for its products. What is the recommended solution to meet this requirement?

  1. Configure price books, products and payment schedules to enable this capability
  2. Work with developers to develop custom code for payment processing
  3. Configure Outbound Messaging to send a message to an external payment gateway
  4. Install an AppExchange product to provide payment gateway processing
A
  1. Install an AppExchange product to provide payment gateway processing
39
Q

Comparing a Visualforce Page and a Lightning Application. Choose 4 related to Visualforce Pages:

  1. Page-centric
  2. App-centric (single-page-apps)
  3. Stateful servers
  4. Stateless clients
  5. Stateful clients
  6. Stateless servers
  7. Great for everything
  8. Not optimal for mobile
A
  1. Page-centric
  2. Stateful servers
  3. Stateless clients
  4. Not optimal for mobile
40
Q

Comparing a Visualforce Page and a Lightning Application. Choose 4 related to Lightning Apps:

  1. Page-centric
  2. App-centric (single-page-apps)
  3. Stateful servers
  4. Stateless clients
  5. Stateful clients
  6. Stateless servers
  7. Great for everything
  8. Not optimal for mobile
A
  1. App-centric (single-page-apps)
  2. Stateful clients
  3. Stateless servers
  4. Great for everything
41
Q

AW Computing is tracking their candidates’ applications in Salesforce. They would like to easily link the Job Application record to the Candidate record. Only the recruiter and interviewer should have access to the Job Application records, whereas all employees of AW Computing can see the Candidate records. What type of relationship should be created between Job Applications and Candidates?

  1. Master-Detail
  2. Lookup
  3. Search
  4. Hierarchical
A
  1. Lookup
42
Q

Recruiters at AW Computing need to track both the status and stage for job applications. How can an administrator ensure that the status selected determines the values available for the stage?

  1. Create the stage field as a controlling picklist and the status field as a dependent picklist.
  2. Create the status field as a controlling picklist and the stage field as a dependent picklist.
  3. Create a lookup field from the job application object to the interview object.
  4. Create a multi-select picklist field that includes all status and stage values.
A
  1. Create the status field as a controlling picklist and the stage field as a dependent picklist.
43
Q

What are the two quick action types that can be created? Select 2 correct answers.

  1. Default
  2. Object-specified
  3. Record-specified
  4. Global
A
  1. Object-specified

4. Global

44
Q

What happens when a user attempts to save a record, and the formula defined by a custom validation rule evaluates to true for that record?
Select 2 correct answers.

  1. The validation failure is logged on the field history tracking related list.
  2. The error message defined in the validation rule displays on the record.
  3. The record will not save.
  4. The user receives an email with the reason the validation rule failed.
A
  1. The error message defined in the validation rule displays on the record.
  2. The record will not save.
45
Q

Which of the selections below are required when defining an approval process?
Select 2 correct answers.

  1. Entry Criteria
  2. Approval Chatter template
  3. Final Approval Actions
  4. Location of Approval History list
A
  1. Entry Criteria

3. Final Approval Actions

46
Q

What are the benefits of using the Data Import Wizard to import data into Salesforce?
Select 2 correct answers. What are the benefits of using the Data Import Wizard to import data into Salesforce?
Select 2 correct answers.

  1. Import greater than 50,000 records.
  2. Load data for all standard and custom objects.
  3. Choose whether or not to trigger workflow rules.
  4. Match on Name, Email or Salesforce ID to prevent duplicate records.
A
  1. Choose whether or not to trigger workflow rules.

4. Match on Name, Email or Salesforce ID to prevent duplicate records.

47
Q

At A.W. Computing, the executive assistant needs the ability to view, edit, and transfer ownership of all records. However, she should not be able to delete any records. Which two steps should the developer take to meet this requirement?

  1. Create a sharing rule for each object that gives Read/Write access for all records to the executive assistant.
  2. Change the organization-wide default for all objects to Public Read Only.
  3. Assign the executive assistant to the highest role in the role hierarchy.
  4. Create a custom profile with the Delete object permission disabled for all objects and assign this profile to the executive assistant.
A
  1. Assign the executive assistant to the highest role in the role hierarchy.
  2. Create a custom profile with the Delete object permission disabled for all objects and assign this profile to the executive assistant.
48
Q

To synchronize Accounts, Orders, and Shipments in real-time, a Developer has built a custom interface between an external system and Salesforce. Prior to deployment, the Developer needs to confirm that the interface can sustain the syncing of thousands of records at a time.
Which Sandbox environment is recommended to complete Performance and Load Testing?

  1. Partial Sandbox
  2. Developer Sandbox
  3. Developer Pro Sandbox
  4. Full Sandbox
A
  1. Full Sandbox
49
Q

AW Computing’s app builder needs to display an account’s rating on all contacts related to that account. Select the most appropriate syntactical answer.

  1. CASE(Account.Rating, Hot, Hot, Warm, Warm, Cold, Cold, Not Rated)
  2. CASE(Account.Rating, “Hot,” “Hot,” “Warm,” “Warm,” “Cold,” “Cold,” “Not Rated”)
  3. Account.Rating
  4. Text(Account.Rating)
A
  1. Text(Account.Rating)
50
Q

AW Computing has limited in-house development resources, but would like to support online payment processing for its products. What is the recommended solution to meet this requirement?

  1. Configure pricebooks, products, and payment schedules to enable this capability
  2. Work with developers to develop custom code for payment processing
  3. Configure Outbound Messaging to send a message to an external Payment Gateway
  4. Install an AppExchange product to provide Payment Gateway processing
A
  1. Install an AppExchange product to provide Payment Gateway processing
51
Q

AW Computing needs to create a roll-up summary field on a custom object that counts the number of related records on another custom object. What type of field must exist before the roll-up summary can be created, and where should it be located?

  1. A lookup relationship field on the parent object
  2. A lookup relationship field on the child object
  3. A master-detail relationship field on the child object
  4. A master-detail relationship field on the parent object
A
  1. A master-detail relationship field on the child object
52
Q

When a workflow rule that has time-dependent actions is triggered, where can a developer view and manage any pending actions?

  1. In the time-dependent workflow queue
  2. On the workflow rule that was triggered
  3. On the record that triggered the workflow rule
  4. In the debug logs
A
  1. In the time-dependent workflow queue
53
Q

AW Computing has two summer interns helping input position information for all types of jobs. They need a simplified view of positions with only the required fields and no related lists. How can this be accomplished?

  1. Create a new record type and assign it to the interns profile.
  2. Create a specific page layout, assign it to a permission set, and assign that permission set to the two interns.
  3. Create a specific page layout and assign it to the profile the interns are assigned.
  4. Create a new record type, assign it to a permission set, and assign that permission set to the two interns.
A
  1. Create a specific page layout and assign it to the profile the interns are assigned.
54
Q

An application references related objects, business logic components, and tabs.

True or False

A

False

55
Q

Universal Containers would like to not only send an email if a candidate required a visa, but also requires approvals from the hiring manager and HR.

Which tool would you use?

A

Approval Process

56
Q

What is a capability of formula fields? (Choose 2)

  1. Automatically changes when a referenced field changes
  2. Can return the picklist or text area data types
  3. Can be modified by users on record edit pages
  4. Can reference fields from parent objects
A
  1. Automatically changes when a referenced field changes

4. Can reference fields from parent objects

57
Q

What is a capability to roll-up summary fields? (Choose 2)

  1. Summarise date or numerical data from related detail records
  2. Are available from all master-detail and lookup relationships
  3. Can be filtered to only included certain related records
  4. Can display the average value of a field across related records
A
  1. Summarise date or numerical data from related detail records
  2. Can be filtered to only included certain related records
58
Q

What do record types determine? (Choose 2)

  1. Which related records a user can view and edit from record detail page.
  2. Which page layout to use when displaying record details and edit pages
  3. Which values are available in a picklist on record detail and edit pages
  4. Which field are visible in related list, search results, reports and lists views
A
  1. Which page layout to use when displaying record details and edit pages
  2. Which values are available in a picklist on record detail and edit pages
59
Q

There is a master-detail relationship between the Contact object (master) and the Certification Held object (detail). How can AW Computing track the total number of certification held by each service technician contact?

  1. Create a cross-object formula field on the Certification Held object.
  2. Create a cross-object formula field on the Contact object.
  3. Create roll-up summary field on the Certification Held object.
  4. Create roll-up summary field on the Contact object.
A
  1. Create roll-up summary field on the Contact object.
60
Q

AW Computing populates the Industry field on customer account records.

How can AW Computing display the industry information on related opportunity records and ensure it is kept up to date with the Account record?

  1. Create a look-up field on the opportunity
  2. Create cross-object formula field on the account
  3. Create a roll-up summary field on the account
  4. Create a cross-object formula field on the opportunity
A
  1. Create a look-up field on the opportunity
61
Q

What conditional expression would be used to determine if the contents of two sObjects are equal?

  1. sObj1 == sObj2
  2. sObj1.equals(sObj2)
  3. sObj1 === sObj2
  4. sObj1.eq(sObj2)
A
  1. sObj1 == sObj2
62
Q

What happens if an operation in code exceeds a governor limit?

  1. The system will throw an unrecoverable exception
  2. The system will throw an exception the code can catch
  3. The system will not allows you to migrate the code from sandbox to production
  4. The system will prevent the offending code from executing completely until it is fixed
A
  1. The system will throw an unrecoverable exception
63
Q

Which of the following are valid Apex collection data types? (Choose 2)

  1. Map
  2. Enumeration
  3. Array
  4. Set
A
  1. Map

4. Set

64
Q

If a developer executes this query in the Query Editor of the Developer Console, what would be the result?
SELECT * FROM Case.

  1. A syntax error would occur
  2. A security exception would occur
  3. A Query Exception would occur
  4. An sObjectException would occur
A
  1. A syntax error would occur
65
Q

Which WHERE clause operator supports wildcards?

  1. IN
  2. LIKE
  3. INCLUDES
  4. MATCHES
A
  1. LIKE
66
Q

Which SOQL clause supports variable binding?

  1. SELECT
  2. WHERE
  3. FROM
  4. GROUP
A
  1. WHERE
67
Q

The variable queryString is assigned the string literal: ‘SELECT Name FROM Account’.

How do you specify queryString as an argument to Database.query()?

  1. Database.query(‘queryString’);
  2. Database.query[queryString];
  3. Database.query(queryString);
  4. Database.query[‘queryString’];
A
  1. Database.query(queryString);
68
Q

What would correctly complete the final statement? Certification_Attempt__c certAttempt = …; //Assume this populates from the database.

String certificationElementName = ____________;

  1. certAttempt.certification_element__c.name;
  2. certAttempt.certification_element__r.name;
  3. certAttempt.certification_elementID.name
  4. certAttempt.certification_elements__r.name
A
  1. certAttempt.certification_element__r.name;
69
Q

What would correctly complete the final statement?
Certification_Element__c certElement = …; //Assume this populates from the database.

List certificationAttempts = _____________;

  1. certAttempt.certification_attempt__c
  2. certAttempt.certification_attempt__r
  3. certAttempt.certification_attempts__c
  4. certAttempt.certification_attempts__r
A
  1. certAttempt.certification_attempts__r
70
Q

What can a SOSL search return

  1. >
  2. Map>
  3. sObject
A
  1. >
71
Q

Which type of action fires a trigger?

  1. Execution of DML event
  2. Execution of a SOQL query
  3. Declaration of a new variable
  4. Declaration of new trigger
A
  1. Execution of DML event
72
Q

In which type of trigger can you edit trigger.new? (Choose 2)

  1. Before insert
  2. After insert
  3. Before update
  4. After update
A
  1. Before insert

3. Before update

73
Q

In which type of trigger can the trigger context variable ‘old’ be used meaningfully? (Choose 2)

  1. update
  2. delete
  3. insert
  4. undelete
A
  1. update

2. delete

74
Q

Which access modifier denotes a class that is only accessible within your application or namespace?

  1. Global
  2. Public
  3. Protected
  4. Private
A
  1. Public
75
Q

Which keyword phrase ensures an Apex class has access to all the records in the database?

  1. With sharing
  2. Without sharing
  3. With access
  4. Without access
A
  1. Without sharing
76
Q

What can you use to implement inheritance among Apex classes? (Choose 2)

  1. An Apex interface
  2. An Apex protocol
  3. An Apex virtual class and its extensions
  4. An Apex class denotes as ‘without sharing’
A
  1. An Apex interface

3. An Apex virtual class and its extensions

77
Q

Which keyword indicates a variable in class can only be assigned at declaration or in the class’s constructors?

  1. Static
  2. Public
  3. Final
  4. Protected
A
  1. Final
78
Q

What percentage of Apex code must be executed by test methods?

  1. 20
  2. 50
  3. 75
  4. 100
A
  1. 75
79
Q

Which annotation for a method in a test class indicates that it will be run once before any of the class’s test methods are executed?

  1. @isTest (runOnce = True)
  2. @isTest (seeAllData = True)
  3. @testMethod
  4. @testSetup
A
  1. @testSetup
80
Q

In a test method, an Integer variable named x has the value 10. When the statement System.Assert(x==10); is executed in the method, what is the outcome?

  1. An assertion exception is thrown and the test fails.
  2. An assertion exception is thrown and the test passes.
  3. An assertion exception is not thrown and the test fails
  4. An assertions exception is not thrown and the test passes
A
  1. An assertions exception is not thrown and the test passes
81
Q

A developer is creating a Visualforce page that will use the standard Account controller. Which page requirement mean the developer must also include a controller extension (Choose 2)

  1. Dynamically calculate and display a value that is not a field of the record
  2. Display a list of the contacts related to account
  3. Include images stored as static resources.
  4. Direct the user to another Visualforce page when a user clicks a custom button
A
  1. Dynamically calculate and display a value that is not a field of the record
  2. Direct the user to another Visualforce page when a user clicks a custom button