March Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Salesforce CRT-450 Salesforce Certified Platform Developer I (SP23) Exam Practice Test

Demo: 70 questions
Total 235 questions

Salesforce Certified Platform Developer I (SP23) Questions and Answers

Question 1

How many Accounts will be inserted by the following block of code?

Options:

A.

100

B.

150

C.

0

D.

500

Question 2

A developer creates a custom exception as shown below:

public class ParityException extends Exception {}

What are two ways the developer can fire the exception in Apex?

Choose 2 answers

Options:

A.

new ParityException();:

B.

throw new ParityException("parity does not match");

C.

new ParityException('parity does not match');

D.

throw new ParityException();

Question 3

While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?

Options:

A.

B.

C.

D.

Question 4

What are three ways for 2 developer to execute tests in an org? Choose 3 answers

Options:

A.

Metadata APT

B.

Bulk API

C.

Setup Menu

D.

SalesforceDX

E.

Tooling API

Question 5

Cloud kicks has a muli-screen flow its call center agents use when handling inbound service desk calls.

At one of the steps in the flow, the agents should be presented with a list of order number and dates that are retrieved from an external odrer management system in real time and displayed on the screen.

What shuold a developer use to satisfy this requirement?

Options:

A.

An invocae method

B.

An apex REST class

C.

An outbound message

D.

An Apex Controller

Question 6

Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1,000,000. A developer created the following trigger on the Account object to satisfy this requirement.

Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, It fails with system. Exception errors.

Which two actions should the developer take to fix the code segment shown above?

Choose 2 answers

Options:

A.

Check if all the required fields for Opportunity are being added on creation.

B.

Use Database.query to query the opportunities.

C.

Move the DML that saves opportunities outside the for loop.

D.

Query for existing opportunities outside the for loop.

Question 7

What is the value of the Trigger.old context variable in a before insert trigger?

Options:

A.

A list of newly created sObjects without IDs

B.

null

C.

Undefined

D.

An empty list of sObjects

Question 8

Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?

Options:

A.

Use a CEILING formula on each of the Latest availability date fields.

B.

Use a DAYS formula on each of the availability date fields and a COUNT Roll-Up Summary field on the Order.

C.

Use a LATEST formula on each of the latest availability date fields.

D.

Use a Max Roll-Up Summary field on the Latest availability date fields.

Question 9

When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

Options:

A.

Production

B.

Dev Hub

C.

Environment Hub

D.

Sandbox

Question 10

A developer is writing tests for a class and needs to insert records to validate functionality.

Which annotation method should be used to create record for every method in the test class?

Options:

A.

@isTest (SeeAllData-true)

B.

@FreTest

C.

@TestSetup

D.

@StartTest

Question 11

AW Computing tracks order information in custom objects called order__c and order_Line_ c - Currently, all shipping information is stored in the order__c object.

The company wants to expand Its order application to support split shipments so that any number of order_Line__c records on a single order__c can be shipped to different locations.

What should a developer add to fulfill this requirement?

Options:

A.

Order_shipment_Group_c object and master-detail field on order_Line_c

B.

Order_shipment_Group_c object and master-detail field on order_c

C.

Order_shipment_Group_c object and master-detail field to order_c and Order Line_c

D.

Order_shipment_Group_c object and master-detail field on order_shipment_Group_c

Question 12

A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.

What should a developer do to allow their code to move some existing Orderltem records to a new Order record?

Options:

A.

Change the master-detail relationship to an external lookup relationship.

B.

Add without sharing to the Apex class declaration.

C.

Create a junction object between Orderltem and Order.

D.

Select the Allow reparenting option on the master-detail relationship.

Question 13

A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.

Which two tools can they use to run a script that deploys to a sandbox?

Choose 2 answers

Options:

A.

VSCode

B.

Change Sets

C.

SFDX CLI

D.

Developer Console

Question 14

A developer created these three Rollup Summary fields in the custom object, Project__c:

The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project.

Which should the developer use to implement the business requirement in order to minimize maintenance overhead?

Options:

A.

Record-triggered flow

B.

Formula field

C.

Apex trigger

D.

Field Update actions

Question 15

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values another custom object object called.

What is the optimal way to Implement this feature?

Options:

A.

Build a flow with flow Builder.

B.

Build an account assignment rule.

C.

Create a formula field.

D.

Create an account approval process.

Question 16

Universal Container(UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The Developer is tasked to create the supporting object and relationship for this business requirement and uses the Setup Menu to create a custom object called "Global Address". Which field should the developer ad to create the most efficient model that supports the business need?

Options:

A.

Add a Master-Detail field on the Account object to the Global Address object

B.

Add a Master-Detail field on the Global Address object to the Account object.

C.

Add a Lookup field on the Account object to the Global Address object.

D.

Add a Lookup field on the Global Address object to the Account object

Question 17

Universal Container wants Opportunities to no longer be editable when reaching the Clousd stage.

How should a develoiper accomplish this?

Options:

A.

Use the Process Automation setting.

B.

Mark fields as read-only on the page layout.

C.

Use flow Builder

D.

Use a validation rule.

Question 18

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

Options:

A.

ernit()

B.

fireEvent()

C.

fire()

D.

registerEvent()

Question 19

What are two use cases for executing Anonymous Apex code? Choose 2 answers

Options:

A.

To delete 15,000 inactive Accounts In a single transaction after a deployment

B.

To schedule an Apex class to run periodically

C.

To run a batch Apex class to update all Contacts

D.

To add unit test code coverage to an org

Question 20

Given the following code snippet, that is part of a custom controller for a Visualforce page:

In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access? Choose 2 answers

Options:

A.

Use if (Schema, sobjectType, Contact, isUpdatable ( ) )

B.

Use if (Schema , sobjectType. Contact. Field, Is_Active_c. is Updateable ( ) )

C.

Use if (Schema.sObjectType.Contact.isAccessible ( ) )

D.

Use if (thisContact.Owner = = UserInfo.getuserId ( ) )

Question 21

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.

Which three statements are useful inside the unit test to effectively test the custom controller?

Choose 3 answers

Options:

A.

insert pageRef.

B.

Test.setCurrentPage(pageRef);

C.

public ExtendedController(ApexPages StandardController cntrl) { }

D.

ApexPages.CurrentPage().getParameters().put('input\’, 'TestValue');

E.

String nextPage - controller.save().getUrl();

Question 22

Universal Containers wants to back up all of the data and attachments in its Salesforce org once month. Which approach should a developer use to meet this requirement?

Options:

A.

Use the Data Loader command line.

B.

Create a Schedulable Apex class.

C.

Schedule a report.

D.

Define a Data Export scheduled job.

Question 23

A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script.

Following best practices, what is the optimal approach to satisfy this requirmrnt?

Options:

A.

Flow Builder

B.

Approvals

C.

Apex trigger

D.

Einstein Next Best Action

Question 24

What are two benefits of using External IDs?

Choose 2 answers

Options:

A.

An External ID field can be used Co reference an ID from another external system.

B.

An External ID can be a formula field to help create a unique key from two fields in Salesforce.

C.

An External ID can be used with Salesforce Mobile to make external data visible.

D.

An External ID is indexed and can improve the performance of SOQl quenes.

Question 25

A developer Is Integrating with a legacy on-premise SQL database.

What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?

Options:

A.

Lookup field

B.

External ID field

C.

Formula field

D.

External Object

Question 26

niversal Containers (UC) processes orders in Salesforce in a custom object, Crder_c. They also allow sales reps to upload CSV files with

of orders at a time.

A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system.

‘After the status for an Craer__c is first set to "Placed’, the order information must be sent to a REST endpoint in the ERP system that can

process ne order at a time.

What should the developer implement to accomplish this?

Options:

A.

Callout from an §urare method called from a trigger

B.

Callout from a Sarchabie class called from a scheduled job

C.

Flow with 2 callout from an invocable method

D.

Callout from a queseatie class called from a trigger

Question 27

The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.

What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?

Options:

A.

Use a formula field.

B.

Use a validation rule.

C.

Use Lead Conversation field mapping.

D.

Create an after trigger on Lead.

Question 28

The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist:

• Rollup summary fields

• Custom validation rules

• Duplicate rules

A developer created a trigger on the Account object.

What two things should the developer consider while testing the trigger code?

Choose 2 answers

Options:

A.

Rollup summary fields can cause the parent record to go through Save.

B.

The trigger may fire multiple times during a transaction.

C.

Duplicate rules are executed once all DML operations commit to the database.

D.

The validation rules will cause the trigger to fire again.

Question 29

A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?

Options:

A.

@AuraEnabled(cacheable=true)

public static List search(String term) { /* implementation*/ }

B.

@AuraEnabled(cacheable=true) public List search(String term) { /*implementation*/ }

C.

@AuraEnabled(cacheable=false) public static List search(String term) { /*implementation*/ }

D.

@AuraEnabled(cacheable=false) public List search(String term) { /*implementation*/ }

Question 30

A developer created a trigger on a custom object. This custom object also has some dependent pick lists.

According to the order of execution rules, which step happens first?

Options:

A.

System validation is run for maximum field lengths.

B.

The original record is loaded from the database.

C.

Old values are overwritten with the new record values,

D.

JavaScript validation is run In the browser.

Question 31

When the code executes, a DML exception is thrown.

How should a developer modify the code to ensure exceptions are handled gracefully?

Options:

A.

Implement the upsert DML statement.

B.

Implement Change Data Capture.

C.

Implement a try/catch block for the DML.

D.

Remove null items from the list of Accounts.

Question 32

A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?

Options:

A.

Add a System.debug() statement before the insert method

B.

Add a try/catch around the insert method

C.

Set the second insert method parameter to TRUE

D.

Collect the insert method return value a Saveresult variable

Question 33

Which three statements are true regarding custom exceptions in Apex? (Choose three.)

Options:

A.

A custom exception class must extend the system Exception class.

B.

A custom exception class can implement one or many interfaces.

C.

A custom exception class cannot contain member variables or methods.

D.

A custom exception class name must end with “Exception”.

E.

A custom exception class can extend other classes besides the Exception class.

Question 34

An Apex method, getAccounts, that returns a list of Accounts given a searchTern, is available for Lightning Web

Components to use.

What is the correct definition of a Lightning Web Component property that uses the getAccounts method?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 35

How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?

Options:

A.

B.

C.

D.

Question 36

A developer is implementing an Apex class for a financial system. Within the class, the

variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is

assigned. In which two ways can the developer declare the variables to ensure their value

can only be assigned one time? Choose 2 answers

Options:

A.

Use the static keyword and assign its value in the class constructor.

B.

Use the final keyword and assign its value in the class constructor.

C.

Use the static keyword and assign its value in a static initializer.

D.

Use the final keyword and assign its value when declaring the variable.

Question 37

A developer has the following requirements:

• Calculate the total amount on an Order.

• Calculate the line amount for each Line Item based on quantity selected and price.

• Move Line Items to a different Order if a Line Item is not in stock.

Which relationship implementation supports these requirements on its own7

Options:

A.

Line Item has a re-parentable master-detail field to Order.

B.

Order has a re-parentable master-detail field to Line Item.

C.

Line Item has a re-parentable lookup field to Order.

D.

Order has a re-parentable lookup field to Line Item.

Question 38

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); } Which is the correct implementation?

Options:

A.

Public class DrawList implements Sortable, Implements Drawable {

public void sort() { /*implementation*/}

public void draw() { /*implementation*/}

]

B.

Public class DrawList extends Sortable, Drawable {

public void sort() { /*implementation*/}

public void draw() { /*implementation*/}

}

C.

Public class DrawList implements Sortable, Drawable {

public void sort() { /*implementation*/}

public void draw() { /*implementation*/}

}

D.

Public class DrawList extends Sortable, extends Sortable, extends Drawable {

public void sort() { /*implementation*/ }

public void draw() { /* implementation */}

Question 39

n org has an existing flow that creates an Opportunity with an Update Records element. A developer must update the flow to aiso create a ‘Contact and store the created Contact's 1D on the Opportunity.

Which update must the developer make in the flow?

Options:

A.

Add a new Get Records element.

B.

Add a new Create Records element.

C.

Add a new Update Records element.

D.

Add a new Roll back Records element

Question 40

A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org. Which tool should the developer use to troubleshoot?

Options:

A.

AppExchange

B.

Salesforce CLI

C.

Visual Studio Core IDE

D.

Developer Console

Question 41

Uniersal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted steps with each new customer they create.

In the first steps of collecting information, UC’s ERP system must be checked via as a REST endpoint to see if the customerexists. If the customer exists, the data must be presented to the sales rep in Salesforce.

Which two should a developer implement to satisfy the requirements?

Choose2 answer

Options:

A.

Flow

B.

Future method

C.

Trigger

D.

Invocable method

Question 42

A developer created this Apex trigger that calls Myclass.myStaticMethod:

The developer creates a test class with a test method that calls MyClass.myStaticMethod directly, resulting in 81% overall code coverage.

What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?

Options:

A.

The deployment passes because both classes and the trigger were included in the deployment.

B.

The deployment fails because no assertions were made in the test method.

C.

The deployment passes because the Apex code has the required >75% code coverage.

D.

The deployment fails because the Apex trigger has no code coverage.

Question 43

Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment.

What is the recommended process for deploying the code and configurations to Production?

Options:

A.

Use a change set to deploy the Apex code and Lightning Components.

B.

Use the Force.com IDE to deploy the Apex code and Lightning Components.

C.

Use the Ant Migration Tool to deploy the Apex code and Lightning Components.

D.

Use Salesforce CLI to deploy the Apex code and Lightning Components.

Question 44

A developer must write anApex method that will be called from a lightning component. The method may delete an Account stored in the accountRec variable.

Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletion?

Options:

A.

accountRec., isDeletable()

B.

Account, isDeletable ()

C.

AccountRec, ObjecType, ieDeletable ()

D.

Schena, sobjectType, Account, isDeletetable ()

Question 45

Given the following Apex statement:

What occurs when more than one Account is returned by the SOQL query?

Options:

A.

The query falls and an error Is written to the debug log.

B.

The variable, nvAccount, Is automatically cast to the List data type.

C.

The first Account returned Is assigned to myAccour.t.

D.

An unhandled exception is thrown and the code terminates.

Question 46

In the following example, which starting context will mymethod execute it is invoked?

Options:

A.

Sharig rules will be inherited from the calling context.

B.

Sharig rules will be enforced for the running user.

C.

Sharig rules will be enforced by the instartiating class.

D.

Sharig rules will not be enforced for the running user.

Question 47

Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?

Options:

A.

Exception

B.

Messaging

C.

OrgLimits

D.

Limits

Question 48

Which scenario is valid for execution by unit tests?

Options:

A.

Load data from a remote site with a callout.

B.

Set the created date of a record using a system method.

C.

Execute anonymous Apex as a different user.

D.

Generate a Visualforce PDF with geccontentAsPDF ().

Question 49

Which two scenarios require an Apex method to be called imperatively from a Lightning web component?

Choose 2 answer

Options:

A.

Calling a method that makes a web service callout

B.

Calling a method that is not annotated with cacheable-true

C.

Calling a method with the click of a button

D.

Calling a method that is external to the main controller for the Lightning web component

Question 50

Which annotation exposes an Apex class as a RESTful web service?

Options:

A.

B.

C.

D.

Question 51

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data.

What to do now?

Options:

A.

The method must be decorated with (cacheable=true).

B.

The method must be decorated with @AuraEnabled.

C.

The method must return a JSON Object.

D.

The method must return a String of a serialized JSON Array.

Question 52

A custom object Trainer_c has a lookup field to another custom object Gym___c.

Which SOQL query will get the record for the Viridian City gym and it's trainers?

Options:

A.

SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym'

B.

SELECT Id, (SELECT Id FROM Trainer_c) FROM Gym_c WHERE Name - Viridian City Gym'

C.

SELECT ID FROM Trainer_c WHERE Gym__r.Name - Viridian City Gym'

D.

SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name - Viridian City Gym'

Question 53

In the following example, which sharing context will myMethod execute when it is invoked?

Options:

A.

Sharing rules will not be enforced for the running user.

B.

Sharing rules will be Inherited from the calling context.

C.

Sharing rules will be enforced by the instantiating class.

D.

Sharing rules will be enforced for the running user.

Question 54

Universal Containers has large number of custom applications that were built using a third-party javaScript framework and exposed using Visualforce pages. The Company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience. What should the developer do to fulfill the business request in the quickest and most effective manner?

Options:

A.

Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications.

B.

Rewrite all Visualforce pages asLightning components.

C.

Set the attribute enableLightning to true in the definition.

D.

Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application.

Question 55

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object.

What should be built to implement this feature?

Options:

A.

Account custom trigger

B.

Account approval process

C.

Account assignment rule

D.

Account workflow rule

Question 56

Which exception type cannot be caught?

Options:

A.

B.

C.

D.

Question 57

Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 58

Which three operations affect the number of times a trigger can fire?

Choose 3 answers

Options:

A.

Process Flows

B.

Workflow Rules

C.

Criteria-based Sharing calculations

D.

Email messages

E.

Roll-Up Summary fields

Question 59

A Developer Edition org has five existing accounts. A developer wants to add 10 more accounts for testing purposes.

The following code is executed in the Developer Console using the Execute Anonymous window:

How many total accounts will be in the org after this code is executed?

Options:

A.

5

B.

6

C.

10

D.

15

Question 60

Which two characteristics are true for Lightning Web Component custom events?

Choose 2 answers

Options:

A.

Data may be passed In the payload of a custom event using a wire decorated properties.

B.

By default a custom event only propagates to its immediate container and to its immediate child component.

C.

By default a custom event only propagates to it's immediate container.

D.

Data may be passed in the payload of a custom event using a property called detail.

Question 61

Assuming that naze is 8 String obtained by an tag on 8 Visualforce page, which two SOQL queries performed are safe from SOQL injection?

‘Choose 2 answers

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 62

A developer is tasked with building a custom Lightning web component to collect Contact information.

The form will be shared among many different types of users in the org. There are security requirements that only certain fields should be edited and viewed by certain groups of users.

What should the developer use in their Lightning Web Component to support the security requirements?

Options:

A.

force-input-field

B.

ui-input-field

C.

aura-input-field

D.

lightning-input-field

Question 63

A team of many developers work in their own individual orgs that have the same configuration as the production org.

Which type of org is best suited for this scenario?

Options:

A.

Full Sandbox

B.

Developer Edition

C.

Partner Developer Edition

D.

Developer Sandbox

Question 64

A developer created this Apex trigger that calls MyClass,myStartmethod:

The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage.

What happens wtier the developer tries to deploy the ... and two classes to production, assuming no other code exists?

Options:

A.

The deployment fails because the Apr- MgQM has no code coverage.

B.

The deployment tails because no assertions mett made in the lest method.

C.

The deployment passes became the Apex code has the requited 75% code coverage.

D.

The deployment passes because both classes and the trigger were included ki the deployment.

Question 65

A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?

Options:

A.

ApexPages.currentPage() .getParameters() .get('url_param')

B.

ApexPages.currentPage() .getParameters() .get('url_param') .escapeHtml4()

C.

String.ValueOf(ApexPages.currentPage() .getParameters() .get('url_param'))

D.

String.escapeSingleQuotes(ApexPages.currentPage() .getParameters(). get('url_param'))

Question 66

Which three data types can a SOQL query return?

Choose 3 answers

Options:

A.

List

B.

Long

C.

Integer

D.

sObJect

E.

Double

Question 67

A developer wants to mark each Account in a List as either or Inactive based on the LastModified field value being more than 90 days.

Which Apex technique should the developer use?

Options:

A.

A for loop, with a switch statement inside

B.

A Switch statement, with a for loop inside

C.

An If/else statement, with a for loop inside

D.

A for loop, with an if/else statement inside

Question 68

A developer deployed a trigger to update the status__c of Assets related to an Account when the Account’'s status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.

What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?

Options:

A.

Change the gerAssetsToUpdac= method to process all Accounts in one call and call it outside of the for loop that starts on line 03.

B.

Add a LIMIT clause to the SOQL query on line 16 to limit the number of Assets queried for an Account.

C.

Move all of the logic to a Queueable class that queries for and updates the Assets and call it from the trigger.

D.

Add List assets = [SELECT Id, Status__c FROM Asset WHERE AccountId = :acctId] to line 14 and iterate over the assets list in the for loop on line 15.

Question 69

A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to Include helper methods that are not used by the Web Application In the Implementation of the Web Service Class.

Which code segment shows the correct declaration of the class and methods?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 70

A developer Is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded In a Lightning page.

Without writing unnecessary code, which controller should be used for this purpose?

Options:

A.

Standard list controller

B.

Standard controller

C.

Lightning controller

D.

Custom controller

Demo: 70 questions
Total 235 questions