ExamGecko
Ask Question

Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 27

List of questions

Question 261

Report
Export
Collapse

Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers

Suggested answer: B, C, E
asked 23/09/2024
Jason Coleman
39 questions

Question 262

Report
Export
Collapse

Consider the code above.

Salesforce Certified Platform Developer II image Question 262 67909 09232024003105000000

When a user dicks on the Link of a Contact's name, what happens'

The outputPanel refreshes, showing the Contacts details.
The outputPanel refreshes, showing the Contacts details.
A new page opens, showing the Contact's details.
A new page opens, showing the Contact's details.
The page refreshes, showing the Contact's details.
The page refreshes, showing the Contact's details.
Nothing happens: the commandLink is missing an action attribute.
Nothing happens: the commandLink is missing an action attribute.
Suggested answer: A
asked 23/09/2024
marubini mushayathoni
25 questions

Question 263

Report
Export
Collapse

Universal Containers wants to be able to bring up an Account detail page and view a table of containers currently being rented. The user wants to be able to dick on a container In the table and quickly edit and save the location of the container.

In addition to this, the page should have a section that shows the location of each container on a map. Universal Containers wants the map to re-render whenever the location of a container is changed.

What can a developer use to accomplish this task?

Two Lightning Components leveraging Application Events
Two Lightning Components leveraging Application Events
Two Visualforce Page Components leveraging Application Events
Two Visualforce Page Components leveraging Application Events
A single visualforce Page leveraging Platform Events
A single visualforce Page leveraging Platform Events
Two Lightning Components leveraging Platform Events
Two Lightning Components leveraging Platform Events
Suggested answer: A
asked 23/09/2024
ANDREA SIMONELLI
37 questions

Question 264

Report
Export
Collapse

A company uses a custom-built enterprise resource planning (ERP) system to handle order management. The company wants Sales Reps to know the status of orders so that if a customer calls to ask about their shipment, the Sales Rep can advise the customer about the order's status and tracking number if it is already shipped.

Which two methods can make this ERP order data visible in Salesforce? Choose 2 answers

Ensure real-time order data is in Salesforce using the Streaming API.
Ensure real-time order data is in Salesforce using the Streaming API.
Write a cron job In Salesforce to poll the ERP system for order updates.
Write a cron job In Salesforce to poll the ERP system for order updates.
Have the ERP system push the data into Salesforce using the SOAP API.
Have the ERP system push the data into Salesforce using the SOAP API.
Use Salesforce Connect to view real-time Order data in the ERP system.
Use Salesforce Connect to view real-time Order data in the ERP system.
Suggested answer: C, D
asked 23/09/2024
Kamil Stonjek
36 questions

Question 265

Report
Export
Collapse

Lightning Aura Component

Salesforce Certified Platform Developer II image Question 265 67912 09232024003105000000

Given the code above, which two changes need to be made in the Apex Controller for the code to work' Choose 2 answers

Change the method signature to be global static, not public static.
Change the method signature to be global static, not public static.
Change the argument from JSONObject to String.
Change the argument from JSONObject to String.
Annotate the entire class as @AuraEnabled instead of just the single method.
Annotate the entire class as @AuraEnabled instead of just the single method.
Remove line 06 from the Apex Controller and use firstName In the return.
Remove line 06 from the Apex Controller and use firstName In the return.
Suggested answer: B, D
asked 23/09/2024
JEAN-MARIE HERMANT
48 questions

Question 266

Report
Export
Collapse

A company has a Request__c object that has a lookup to the Opportunity object and a custom field.

Status__c, with values of Open,' Closed, and Invalid.' An Opportunity should not be allowed to be deleted if there are any Request__c records related to it that have a Status__c value of Open or 'Closed.' what is the optimal way to enforce the requirement to prevent deletion?

A Process on Request__c
A Process on Request__c
A Process on Opportunity
A Process on Opportunity
An Apex Trigger on Opportunity
An Apex Trigger on Opportunity
An Apex Trigger on Request__c
An Apex Trigger on Request__c
Suggested answer: C
asked 23/09/2024
Lester Ballesteros
45 questions

Question 267

Report
Export
Collapse

What are two benefits of using External IDs? Choose 2 answers

An External ID is indexed and can improve the performance of SOQL queries.
An External ID is indexed and can improve the performance of SOQL queries.
An External ID field can be used to reference a unique ID from another, external system.
An External ID field can be used to reference a unique ID from another, external system.
An External ID can be a formula field to help create a unique key from two fields in Salesforce.
An External ID can be a formula field to help create a unique key from two fields in Salesforce.
An External ID can be used with Salesforce Mobile to make external data visible.
An External ID can be used with Salesforce Mobile to make external data visible.
Suggested answer: A, B
asked 23/09/2024
Innos Phoku
41 questions

Question 268

Report
Export
Collapse

There are user complaints about slow render times of a custom data table within a visualforce page that loads thousands of Account records at once.

What can a developer do to help alleviate such issues?

Use the standard Account List controller and implement pagination.
Use the standard Account List controller and implement pagination.
Use JavaScript remoting to query the accounts.
Use JavaScript remoting to query the accounts.
Use the transient keyword in the Apex code when querying the Account records.
Use the transient keyword in the Apex code when querying the Account records.
Upload a third-party data table library as a static resource.
Upload a third-party data table library as a static resource.
Suggested answer: C
asked 23/09/2024
Pedro Faro
29 questions

Question 269

Report
Export
Collapse

Which statement is considered a best practice for writing bulk safe Apex Triggers?

Perform all DML operations from within a Future Method.
Perform all DML operations from within a Future Method.
Instead of DML statements, use the Database methods with allOrNone set to False.
Instead of DML statements, use the Database methods with allOrNone set to False.
Add records to collections and perform DML operations against these collections.
Add records to collections and perform DML operations against these collections.
Add LIMIT 50000 to every SOQL statement
Add LIMIT 50000 to every SOQL statement
Suggested answer: C
asked 23/09/2024
dion alken
40 questions

Question 270

Report
Export
Collapse

The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem.

What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?

INFO level for the Database log category
INFO level for the Database log category
ERROR level for the Workflow log category
ERROR level for the Workflow log category
ERROR level for the Database log category
ERROR level for the Database log category
INFO level for the Workflow log category
INFO level for the Workflow log category
Suggested answer: A
asked 23/09/2024
BETTE SLETTER
35 questions
Total 438 questions
Go to page: of 44
Search

Related questions