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

Best Quality of Platform-Developer-II exam topics materials and sample question for Salesforce certification for candidates, Real Success Guaranteed with Updated Platform-Developer-II pdf dumps vce Materials. 100% PASS Platform Developer II exam Today!

Check Platform-Developer-II free dumps before getting the full version:

NEW QUESTION 1

A lead developer for a Salesforce organization needs to develop a page-centric application that allows the user to interact with multiple objects related to a Contact The application needs to implement a third-party JavaScript framework such as Angular, and must be made available in both Classic and Lightning Experience.
Given these requirements, what is the recommended solution to develop the application?

  • A. Aura Components
  • B. Lightning Web Components
  • C. Visualforce
  • D. Lightning Experience Builder

Answer: C

NEW QUESTION 2

Which use case can only be performed by using asynchronous Apex?

  • A. Scheduling a batch process to complete in the future
  • B. Processing high volumes of records
  • C. Updating a record after the completion of an insert
  • D. Calling a web service from an Apex trigger

Answer: D

NEW QUESTION 3

A developer created a class that implement he Queueable interface, as follows:
As part of the deployment process, the developer is asked to create a corresponding test class. Which two actions should the developer take to successfully execute the test class?
Choose 2 answers

  • A. Ensure the running user of the test class has, at least, the View All permission on the Order object
  • B. Enclose System.enqueueJob (new orderQueueable Job ( }) within Tes
  • C. starttest and Test, stoptest ()
  • D. Implement seeAllData-true to ensure the Queueable )ob is able to run in bulk mode.
  • E. Implement Test.isRunningtest ( ) to prevent chaining jobs during test execution.

Answer: CD

NEW QUESTION 4

What is the transaction limit for the number of records per DML statement?

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

Answer: D

NEW QUESTION 5

Where in a query can you use Geolocation and Distance? (Choose two.)

  • A. Select clause
  • B. Filter clause
  • C. Order By clause
  • D. Group By clause

Answer: BC

NEW QUESTION 6

A customer requires that when the billing address field on an Account gets updated, the address field on all its related contact records should reflect the same update.
How can this requirement be met with minimal customizations?

  • A. Create an After Trigger on Account to upd|ate its related contact records on update
  • B. Create a Workflow Rule on Account to update related child Contact records
  • C. Create a Lightning Process on Account to update related child Contact records
  • D. Create a scheduled batch job that updates all contact address fields based on the related account record.

Answer: C

NEW QUESTION 7

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?

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

Answer: D

NEW QUESTION 8

AW Computing (AWC) handles orders in Salesforce and stores its product inventory in a filed, inventory_c, on a custom object.
product_c. When an order for a product_c placed, the Inventory_c field is reduced by the quantity of the order using an Apex trigger.
Platform-Developer-II dumps exhibit
AWC wants to real-time inventory reduction for a product to be sent to many of its external systems, including some future systems the company is currently planning.
What should a developer add to the code at the placeholder to meet these requirements?
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: D

NEW QUESTION 9

A developer wrote a Visualforce page for Sales Reps to add products to an order. The page takes a URL query parameter, productFamily, which filters the product results. The test method for the filter behavior has an assertion failing due to an incorrect number of results.
Why could the test be failing? (Choose two.)

  • A. The test does not call Test.startTest()
  • B. The test does not create product data
  • C. The test is not run by a System Administrator
  • D. The test does not set the current page reference

Answer: BD

NEW QUESTION 10

Platform-Developer-II dumps exhibit
A company has the Lightning Component above that allows users to dick a button to save their changes and redirects them to a different page. Currently, when the user hits the Save button the records are getting saved, but they are not redirected.
Which three techniques can a developer use to debug the JavaScript? Choose 3 answers

  • A. Use Developer Console to view checkpoints.
  • B. Use Developer Console to view the debug log.
  • C. Use consde.log() messages in the JavaScript.
  • D. Enable Debug Mode for Lightning components for the user.
  • E. Use the browser's dev tools to debug the JavaScript.

Answer: CDE

NEW QUESTION 11

A Lightning web component exists in the system and displays information about the record in context as a modal. Salesforce administrators need to use this component within the Lightning App Builder.
Which two settings should the developer configure within the xml resource file? Choose 2 answers

  • A. Set the IsExposed attribute to True.
  • B. Set the IsVisible attribute to True.
  • C. Specify the target to be lightning__RecordPage.
  • D. Specify the target to be lightning__AppPage.

Answer: AC

NEW QUESTION 12

Consider the following code snippet:
How should <c-order> component communicate to the <c-order-order> component that an order has been selected by the user?

  • A. Created and fire an application event.
  • B. Create and fire a standard DOM event.
  • C. Create and fire a component event.
  • D. Create and dispatch a custom event

Answer: D

NEW QUESTION 13

A company has a custom object. Request__c. that has a field, Completed__c. and a Lookup to Opportunity, Opportunity__c.
Which SOQL query will get a unique list of all of the Opportunity records that have a Completed Request?
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: C

NEW QUESTION 14

What is a benefit of using a WSDL with Apex?

  • A. Allows for web services to be tested and achieve code coverage
  • B. Allows for classes to be imported into Salesforce
  • C. Reduces the number of callouts to third-party web services
  • D. Enables the user to not pass a Session ID where it is not necessary

Answer: B

NEW QUESTION 15

A developer needs to design a custom object that will be integrated into a back-end system.
What should the developer do to ensure good data quality and to ensure that data imports, integrations, and searches perform well? (Choose two.)

  • A. Configure a custom field as unique
  • B. Configure a custom field as indexed
  • C. Configure a custom field as external ID
  • D. Configure a custom field as Salesforce ID

Answer: AC

NEW QUESTION 16

What is the transaction limit for SOQL queries?

  • A. 20 (synchronous), 200 (async)
  • B. 150 (synchronous), 20 (async)
  • C. 150 (synchronous), 200 (async)
  • D. 100 (synchronous), 200 (async)
  • E. 200 (synchronous), 100 (async)

Answer: D

NEW QUESTION 17
......

Recommend!! Get the Full Platform-Developer-II dumps in VCE and PDF From Surepassexam, Welcome to Download: https://www.surepassexam.com/Platform-Developer-II-exam-dumps.html (New 196 Q&As Version)