aiotestking uk

Platform-Developer-II Exam Questions - Online Test


Platform-Developer-II Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

We provide real Platform-Developer-II exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Salesforce Platform-Developer-II Exam quickly & easily. The Platform-Developer-II PDF type is available for reading and printing. You can print more and practice many times. With the help of our Salesforce Platform-Developer-II dumps pdf and vce product and material, you can easily pass the Platform-Developer-II exam.

Free Platform-Developer-II Demo Online For Salesforce Certifitcation:

NEW QUESTION 1

What is a benefit of JavaScript remoting over Visualforce Remote Objects?

  • A. Supports complex server-side application logic
  • B. Does not require any JavaScript code
  • C. Does not require any Apex code
  • D. Allows for specified re-render targets

Answer: A

NEW QUESTION 2

An org contains two custom objects; Building__c and Office__c. Office__c has a Lookup field to Building__c. A developer is asked to automatically populate the Number_of_Offices__c field on the Building__c object with the count of related Office__c records anytime an Office__c record s created or deleted. The developer cannot modify the field types. Which solution meets the requirements?

  • A. Flow
  • B. Workflow
  • C. Apex Trigger
  • D. Process Builder

Answer: C

NEW QUESTION 3

Assuming the CreateOneAccount class creates one account and implements the Queuetable interface, which syntax tests the Apex code?
A)
Platform-Developer-II dumps exhibit
B)
Platform-Developer-II dumps exhibit
C)
Platform-Developer-II dumps exhibit
D)
Platform-Developer-II dumps exhibit

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: B

NEW QUESTION 4

An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records are loaded, the Apex Trigger creates Contract records. A developer is tasked with preventing Contract records from being created when mass loading the Opportunities, but the daily users still need to have the Contract records created. What is the most extendable way to update the Apex Trigger to accomplish this?

  • A. Use a Hierarchy Custom Setting to disable the Trigger for the user who does the data loading.
  • B. Add a Validation Rule to the Contract to prevent Contract creation by the user who does the data loading.
  • C. Use a List Custom Setting to disable the Trigger for the user who does the data loading.
  • D. add the Profile Id of the user who does the data loading to the Trigger so the Trigger won't fire for this user.

Answer: A

NEW QUESTION 5

Which is a valid Apex REST Annotation? (Choose two.)

  • A. @Http Patch
  • B. @HttpDelete
  • C. ©HttpUpsert
  • D. @HttpAction

Answer: AB

NEW QUESTION 6

Universal Containers uses a custom Lightning page to provide a mechanism to perform a step-by-step wizard search for Accounts. One of the steps in the wizard is to allow the user to input text into a text field, ERP_Number c, that is then used in a query to find matching Accounts.
Platform-Developer-II dumps exhibit
A developer receives the exception 'SOQL query not selective enough. Which step should be taken to resolve the issue?

  • A. Move the SOQL query to within an asyncronous process.
  • B. Mark the lRP_Number___c field as an external ID.
  • C. Perform the SOQL query as part of a for loop.
  • D. Mark the ERP_Number___c field as required.

Answer: B

NEW QUESTION 7

A software company uses a custom object Defect_c, to track defects in their software, Defect__c has organisation-wide defaults set to private Each Dafect__c has a related list of Reviewer_c records, each with a lookup field to User that is used to indicate that the User will review the Defect_c.
What should be used to give the User on the Reviewer_c record read only access to the Defect_c record on the Reviewer_c record?

  • A. View All on Defect_c
  • B. Apex managed sharing
  • C. lightning web component
  • D. Criteria based sharing

Answer: A

NEW QUESTION 8

Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?

  • A. Force: lightningQuickAction
  • B. Lightning:editAction
  • C. Fightning:quickAction
  • D. Force:lightningEditAction

Answer: A

NEW QUESTION 9

A developer is asked to look into an issue where a scheduled Apex is running into DML limits. Upon investigation, the developer finds that the number of records processed by the scheduled Apex has recently increased to more than 10,000.
What should the developer do to eliminate the limit exception error?

  • A. Use the @future annotation.
  • B. Implement the Bathable interface.
  • C. Use platform events.
  • D. Implement the Queueable interface.

Answer: B

NEW QUESTION 10

In a VisualForce page with a VisualForce component that has rendered set to false when the page loads, how can a developer ensure it will show on a re-render?

  • A. Set the re-render attribute of the component to true.
  • B. Perform a full page refresh since rendered elements cannot be re-rendered without refreshing.
  • C. Set the rendered attribute of the component to true and re-render the component.
  • D. Set the rendered attribute of the component to true and re-render a parent component.

Answer: D

NEW QUESTION 11

What is the transaction limit for the number of records for SOQL queries?

  • A. 5,000
  • B. 20,000
  • C. 50,000
  • D. 10,000
  • E. There is no limit

Answer: C

NEW QUESTION 12

A developer built a Component to be used at the front desk for guests to self-register upon arrival at a kiosk. The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has arrived at the front desk. What should be used?

  • A. Changelog
  • B. Component Event
  • C. Application Event
  • D. DML Operation

Answer: C

NEW QUESTION 13

A developer is trying to access org data from within a test class. Which sObject type requires the test class to have the (seeAllData=true) annotation?

  • A. RecordType
  • B. Profile
  • C. User
  • D. Report

Answer: D

NEW QUESTION 14

Which scenario requires a developer to use an Apex callout instead of Outbound Messaging?

  • A. The callout needs to be asynchronous.
  • B. The callout needs to be invoked from a Workflow Rule.
  • C. The Target system uses a REST API.
  • D. The Target system uses a SOAP API.

Answer: C

NEW QUESTION 15

Just prior to a new deployment, the Salesforce Administrator who configured a new order fulfillment process in a developer sandbox suddenly left the company. The users had fully tested all of the changes in the sandbox and signed off on them.
Unfortunately, although a Change Set was started, it was not complete. A developer is brought in to help finish the deployment.
What should the developer do to identify the configuration changes that need to be moved into production?

  • A. Leverage the Setup Audit Trail to review the changes made by the departed Administrator and identify which changes should be added to the Change Set.
  • B. Use the Metadata API and a supported development IDE to push all of the configuration from the sandbox into production to ensure no changes are lost.
  • C. Set up Continuous Integration and a Git repository to automatically merge all changes from the sandbox metadata with the production metadata.
  • D. In Salesforce setup, look at the last modified date for every object to determine which should be added to the Change Set.

Answer: A

NEW QUESTION 16

The SOAP API .

  • A. Is based on REST principles and is optimized for loading or deleting large sets of dat
  • B. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
  • C. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforc
  • D. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
  • E. Is used to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to allows you to maintain passwords, perform searches, and much more
  • F. Is used to retrieve, deploy, create, update, or delete customizations for your or
  • G. The most common use is to migrate changes from a sandbox or testing org to your production environment

Answer: C

NEW QUESTION 17
......

P.S. Easily pass Platform-Developer-II Exam with 196 Q&As Dumps-files.com Dumps & pdf Version, Welcome to Download the Newest Dumps-files.com Platform-Developer-II Dumps: https://www.dumps-files.com/files/Platform-Developer-II/ (196 New Questions)