ExamGecko
Ask Question

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

Add to Whishlist

List of questions

Question 291

Report Export Collapse

A lead developer is creating tests for a Lightning web component. The component re-renders when a property called bypassSelection. changes its value.

What should the developer use to the test that the component re-renders successfully when the property changes?

Become a Premium Member for full access
  Unlock Premium Member

Question 292

Report Export Collapse

The head of recruiting at Universal Containers wants to provide all internal users the ability to search for open positions by role, department, and location via a new recruiting app, In addition to search, users of the app should be able to refer a fried, apply for a position, and review the status of their current submissions. The app should be made available in Salesforce Mobile, but offline access is not required.

Given these requirements, what is the recommended approach to developer the app?

Become a Premium Member for full access
  Unlock Premium Member

Question 293

Report Export Collapse

Which tag should a developer use to display different text while an <apex:commandButton> is executing versus not executing?

Become a Premium Member for full access
  Unlock Premium Member

Question 294

Report Export Collapse

Refer to the code snippet below:

Salesforce Certified Platform Developer II image Question 294 67941 09232024003105000000

When a Lightning web component is rendered, a list of opportunity that match certain criteria should be retrieved from the database and displayed to the end-user.

Which three considerations must the developer implement to make the fetchOpps method available within the Lightning web component?

Become a Premium Member for full access
  Unlock Premium Member

Question 295

Report Export Collapse

A developer 15 tasked with creating an application-centric feature on which end-users can access and update information. This feature must be available in lightning Experience while working seamlessly in multiple device form factors, such as desktops, phones, and tablets. Additionally, the feature must support Addressable URL Tabs and interact with the Salesforce Console APIs.

What arm two approaches a developer can take to build the application and support the business requirements?

Choose 2 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 296

Report Export Collapse

Refer to the markup below:

A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The developer receives complaints that the component performs slowly.

What can the developer do to improve the performance?

Become a Premium Member for full access
  Unlock Premium Member

Question 297

Report Export Collapse

A developer has a Visual force page that automatically assign ownership of an Account to a queue save. The page appears to correctly assign ownership, but an assertion validating the correct ownership fails.

What can cause this problem?

Become a Premium Member for full access
  Unlock Premium Member

Question 298

Report Export Collapse

Refer to the code snippet below:

Salesforce Certified Platform Developer II image Question 298 67945 09232024003105000000

A custom object called Credit_Memo_c exist in a Salesforce environment. As part of a new feature development that retrieves and manipulates this type of record, the developer needs to ensure race conditions are prevented when a set of records are modified within an Apex transaction.

In the preceding Apex code, how can the developer alter the query statement to use SOQL features to prevent race condition within a transaction?

Become a Premium Member for full access
  Unlock Premium Member

Question 299

Report Export Collapse

A company recently deployed a Visualforce page with a custom controller that has a data grid of information about Opportunities in the org.

Users report that they receive a "Maximum view state size limit" error message under certain conditions.

According to Visualforce best practice, which three actions should the developer take to reduce the view state? Choose 3 answers

Become a Premium Member for full access
  Unlock Premium Member

Question 300

Report Export Collapse

Assuming the CreateOneAccount class creates one account and implements the Queuetable interface, which syntax tests the Apex code?

Become a Premium Member for full access
  Unlock Premium Member
Total 444 questions
Go to page: of 45
Search

Related questions