Free Platform-Developer-II Exam Braindumps

Pass your Platform Developer II exam with these free Questions and Answers

Page 6 of 35
QUESTION 21

- (Exam Topic 3)
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library.
Which statement properly loads the static resource within the LWC?

  1. A. import {jsUtilities} from '@salesforce/reaourceUrljsUtila’;
  2. B. import jUtilities from ‘@salesforce/reaourceUrljsUtila’;
  3. C. j sUtils}’’/>
  4. D. const jsUtility = SA.get ('SReaource.jsUtils');

Correct Answer: B

QUESTION 22

- (Exam Topic 3)
Universal Containers decided to use Salesforce to manage a new hire interview process. A custom object called candidate as created with organization-wide default set to Private. A lookup on the Candidate object sets an employee as an the viewer user

  1. A. The record can be shared using a permission set.
  2. B. The record can be shared using a sharing rule.
  3. C. The record cannot be shared with the current setup
  4. D. The record can be shared an Apex class.

Correct Answer: D

QUESTION 23

- (Exam Topic 1)
The progress of an apex job queued is using the System.enqueueJob method and needs to be monitored. Which options are valid? (Choose two.)

  1. A. Use the Apex Jobs page in setup
  2. B. Query the Queueable Apex record
  3. C. Query the AsyncApexJob record
  4. D. Use the Scheduled Jobs page in setup

Correct Answer: AC

QUESTION 24

- (Exam Topic 1)
Which of the following elements can be members of a public group? (Choose three.)

  1. A. Territories
  2. B. Case Teams
  3. C. Users
  4. D. Roles
  5. E. Profiles

Correct Answer: ACD

QUESTION 25

- (Exam Topic 1)
Users report that a button on a custom Lightning Web Component is not working. However, there are no other details provided. What should the developer use to ensure error messages are properly displayed?

  1. A. Add the <apex:messages/> tag to the component.
  2. B. Use the Database method with allOrNone set to false.
  3. C. Add a Try/Catch block surrounding the DML statement.
  4. D. Add JavaScript and HTML to display an error message.

Correct Answer: D

Page 6 of 35

Post your Comments and Discuss Salesforce Platform-Developer-II exam with other Community members: