Salesforce Certified Platform Developer Plat-Dev-201 Exam Questions

Page: 1 / 14
Total 204 questions
Question 1

Which two are phases in the Aura application event propagation framework?

Choose 2 answers



Answer : B, C

Event Propagation Phases in Aura Framework:

Default Phase: The framework executes handlers withevent.setDefault().

Bubble Phase: The event propagates upward from the target component to the root component.

Why Not Other Options?

A . Control: Not a valid Aura event propagation phase.

D . Emit: This is part of event creation, not propagation.


Question 2

An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact's ID on the Opportunity.

Which update must the developer make in the flow?



Answer : C

Why Create Records Element?

TheCreate Recordselement adds the functionality to create a Contact record.

The Contact's ID can then be stored on the Opportunity using a variable or field update.

Why Not Other Options?

A:Update Recordsis for updating existing records, not creating new ones.

B:Roll Back Recordsis used for rolling back transactions, not for creating records.

D:Get Recordsretrieves records but does not create them.


Question 3

A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations.

In this implementation scenario, which two options are.. of the Controller according to the MVC architecture?

Choose 2 answers



Answer : B, C

In the context of the MVC (Model-View-Controller) architecture for a Lightning Web Component (LWC), the Apex class and JavaScript file are responsible for handling the controller's role:

Apex Class (Controller):

Acts as the server-side controller.

Executes business logic, such as the complex validations mentioned in the scenario.

Exposes methods for the LWC to call using@AuraEnabled.


JavaScript File (Controller):

Acts as the client-side controller.

Manages the interaction between the HTML (View) and Apex methods.

Executes functions triggered by user actions, such as clicking the 'Validate' button.

Why Not the Other Options?A. HTML file: Represents the 'View' in MVC, focusing on UI rendering.

Question 4

When importing and exporting data into Salesforce, which two statements are true?

Choose 2 answers



Answer : C, D

C: The Bulk API is designed for importing or exporting large volumes of data and works efficiently in development environments, but it respects storage limits.

D: Developer and Developer Pro sandboxes have different storage limits. Developer Pro has a larger storage limit compared to a Developer sandbox.

Why not other options?

A: Bulk API does not bypass storage limits.

B: The Data Import Wizard is a web-based tool, not an application installed on your computer.

:

Salesforce Data Import and Export

Salesforce Bulk API


Question 5

What can be used to override the Account's standard Edit button for Lightning Experience?



Answer : A

To override the Account's standard Edit button in Lightning Experience, a Lightning action can be created and associated with the object. This action can include custom logic or a Lightning component.


Question 6

A developer created a child Lightning web component nested inside a parent Lightning web component. The parent component needs to pass a string value to the child component.

In which two ways can this be accomplished?

Choose 2 answers



Answer : A, B

Public Method (A):The parent component can call a public method defined in the child component to pass data directly.


Public Property (B):The parent component can bind data to a public property in the child component using the attribute syntax.

Incorrect Options:

C:Apex controllers are not used for direct communication between parent and child components.

D:Custom events are used for communication from child to parent, not parent to child.

Question 7

Where are two locations a developer can look to find information about the status of batch or future methods?

Choose 2 answers



Answer : A, B

Option A (Developer Console):The Developer Console provides a detailed view of the execution logs and the status of Apex batch or future methods.

Option B (Apex Jobs):The Apex Jobs page in Salesforce Setup shows the status of queued, in-progress, or completed batch and scheduled jobs.


Incorrect Options:

C (Paused Flow Interviews):Only used for paused flows, not batch or future jobs.

D (Apex Flex Queue):Used for managing batch job execution order, not monitoring job status.

Page:    1 / 14   
Total 204 questions