0% found this document useful (0 votes)
21 views13 pages

Platform Developer I 1

Certshared is offering guaranteed success with their Platform-Developer-I exam dumps, which include 169 questions and answers. The document contains various exam questions and answers related to Salesforce development, including topics such as sharing settings, validation rules, Lightning web components, and Apex testing. It emphasizes the importance of using the correct keywords and methods in Apex to ensure proper functionality and security in Salesforce applications.

Uploaded by

anuragk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views13 pages

Platform Developer I 1

Certshared is offering guaranteed success with their Platform-Developer-I exam dumps, which include 169 questions and answers. The document contains various exam questions and answers related to Salesforce development, including topics such as sharing settings, validation rules, Lightning web components, and Apex testing. It emphasizes the importance of using the correct keywords and methods in Apex to ensure proper functionality and security in Salesforce applications.

Uploaded by

anuragk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Certshared now are offering 100% pass ensure Platform-Developer-I dumps!

https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

Salesforce
Exam Questions Platform-Developer-I
Platform Developer I

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

NEW QUESTION 1
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales
representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What
should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?

A. Use the schema describe calls to determine if the logged-in users has access to the Account object.
B. Use the without sharing keyword on the class declaration.
C. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.
D. Use the with sharing keyword on the class declaration.

Answer: D

Explanation:
Use the with sharing keyword on the class declaration. The with sharing keyword ensures that the Apex code respects the object-level, field-level, and record-level
sharing settings for the user who is running the Apex code. This means that the code will only return records that the user has access to, according to their Sharing
Settings. You can find more information about the with sharing keyword in the official Salesforce documentation
(https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm

NEW QUESTION 2
The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.
What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?

A. Use a formula field.


B. Use a validation rule.
C. Use Lead Conversation field mapping.
D. Create an after trigger on Lead.

Answer: B

NEW QUESTION 3
A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page.
Which component should be added to the Visualforce page to display the message?

A. <apex: pageMessages />


B. <apex: pageMessage severity=”info’’/>
C. <Apex: facet name=’’ message’’/>
D. <Apex: message for=’’ info’’/>

Answer: B

NEW QUESTION 4
For which three items can 2 trace flag be configured? Choose 3 answers

A. Flow
B. Apex Class
C. User
D. Apex Trager
E. Visualforce

Answer: BCD

NEW QUESTION 5
Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers

A. Upload the SVG as a static resource.


B. Import the static resource and provide a getter for it in JavaScript.
C. Reference the getter in the HTML template.
D. Reference the import in the HTML template.
E. Import the SVG as a content asset file.

Answer: ABC

NEW QUESTION 6
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data
from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller? Choose 3 answers

A. insert pageRef.
B. Test.setCurrentPage(pageRef);
C. public ExtendedController(ApexPages StandardController cntrl) { }
D. ApexPages.CurrentPage().getParameters().put('input\’, 'TestValue');
E. String nextPage - controller.save().getUrl();

Answer: BDE

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

NEW QUESTION 7
The following automations already exist on the Account object;
• A workflow rule that updates a field when a certain criteria is met
• A custom validation on a field
• A How that updates related contact records
A developer created a trigger on the Account object.
What should the developer consider while testing the trigger code?

A. The flow may be launched multiple times.


B. Workflow rules will fire only after the trigger has committed all DML operations to the database.
C. A workflow rule field update will cause the custom validation to run again.
D. The trigger may fire multiple times during a transaction.

Answer: D

NEW QUESTION 8
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?

A. Production
B. Dev Hub
C. Environment Hub
D. Sandbox

Answer: B

Explanation:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm
When using SalesforceDX, a developer needs to enable Dev Hub in order to create and manage scratch orgs. A Dev Hub is a special type of org used by
developers to store source code and other development-related
artifacts. It is also used to create and manage scratch orgs, which are temporary orgs used for development and testing.
Reference: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm

NEW QUESTION 9
A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child
component.
In which two ways can this be accomplished? Choose 2 answers

A. The parent component can use a custom event to pass the data to the child component,
B. The parent component can use the Apex controller class to send data to the child component.
C. The parent component can invoke a method in the child component
D. The parent component can use a public property to pass the data to the child component.

Answer: AD

NEW QUESTION 10
Which code statement includes an Apex method named updateaccounts in the Class AccountCont rolles for use in a Lightning web component?
A)

B)

C)

D)

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

Answer: D

NEW QUESTION 10
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers

A. Records created in the test setup method cannot be updated in individual test methods.
B. Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.
C. Test data is inserted once for all test methods in a class.
D. A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.

Answer: BD

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

NEW QUESTION 14
Cloud kicks has a muli-screen flow its call center agents use when handling inbound service desk calls.
At one of the steps in the flow, the agents should be presented with a list of order number and dates that are retrieved from an external odrer management system
in real time and displayed on the screen.
What shuold a developer use to satisfy this requirement?

A. An invocae method
B. An apex REST class
C. An outbound message
D. An Apex Controller

Answer: B

NEW QUESTION 16
Universal Containers has large number of custom applications that were built using a third-party javaScript framework and exposed using Visualforce pages. The
Company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience. What should the developer do to fulfill the
business request in the quickest and most effective manner?

A. Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications.
B. Rewrite all Visualforce pages asLightning components.
C. Set the attribute enableLightning to true in the definition.
D. Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application.

Answer: A

NEW QUESTION 18
A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght
of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these
requirements?

A. Declare maxattempts as a member variable on the trigger definition.


B. Declare maxattempts as a private static variable on a helper class
C. Declare maxattempts as a constant using the static and final keywords
D. Declare maxattempts as a variable on a helper class

Answer: C

NEW QUESTION 22
Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?
A)

B)

C)

D)

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

Answer: A

NEW QUESTION 26
A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use data Loader instead of Data Import Wizard?

A. Data Loader runs from the developer's browser.


B. Data Import Wizard does not support Opportunities.
C. Data Loader automatically relates Opportunities to Accounts.
D. Data Import Wizard can not import all 500 records.

Answer: B

NEW QUESTION 31
The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist:

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

• Rollup summary fields


• Custom validation rules
• Duplicate rules
A developer created a trigger on the Account object.
What two things should the developer consider while testing the trigger code? Choose 2 answers

A. Rollup summary fields can cause the parent record to go through Save.
B. The trigger may fire multiple times during a transaction.
C. Duplicate rules are executed once all DML operations commit to the database.
D. The validation rules will cause the trigger to fire again.

Answer: AB

NEW QUESTION 33
Which two are best practices when it comes to component and application event handling? (Choose two.)

A. Reuse the event logic in a component bundle, by putting the logic in the helper.
B. Use component events to communicate actions that should be handled at the application level.
C. Handle low-level events in the event handler and re-fire them as higher-level events.
D. Try to use application events as opposed to component events.

Answer: AC

NEW QUESTION 36
Universal Container is building a recruiting app with an Applicant object that stores information about an individual person that represents a job. Each application
may apply for more than one job.
What should a developer implement to represent that an applicant has applied for a job?

A. Master-detail field from Applicant to Job


B. Formula field on Applicant that references Job
C. Junction object between Applicant and Job
D. Lookup field from Applicant to Job

Answer: A

NEW QUESTION 39
A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting
vulnerability?

A. ApexPages.currentPage() .getParameters() .get('url_param')


B. ApexPages.currentPage() .getParameters() .get('url_param') .escapeHtml4()
C. String.ValueOf(ApexPages.currentPage() .getParameters() .get('url_param'))
D. String.escapeSingleQuotes(ApexPages.currentPage() .getParameters(). get('url_param'))

Answer: B

NEW QUESTION 44
A developer must create a lightning component that allows users to input contact record information to create a contact record, including a salary__c custom field.
what should the developer use, along with a lightning-record-edit form, so that salary__c field functions as a
currency input and is only viewable and editable by users that have the correct field levelpermissions on salary__C?

A. <ligthning-input-field field-name="Salary__c"></lightning-input-field>
B. <lightning-formatted-number value="Salary__c" format-style="currency"></lightning-formatted-number>
C. <lightning-input type="number" value="Salary__c" formatter="currency"></lightning-input>
D. <lightning-input-currency value="Salary__c"></lightning-input-currency>

Answer: A

NEW QUESTION 47
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false);
How should the code be altered to help debug the issue?

A. Add a System.debug() statement before the insert method


B. Add a try/catch around the insert method
C. Set the second insert method parameter to TRUE
D. Collect the insert method return value a Saveresult variable

Answer: B

NEW QUESTION 49
What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers

A. A method using the @InvocableMethod annotation must define a return value.


B. A method using the @InvocableMethod annotation can have multiple input parameters.
C. A method using the @InvocableMethod annotation must be declared as static
D. A method using the @InvocableMethod annotation can be declared as Public or Global.
E. Only one method using the @InvocableMethod annotqation can be defined per Apex class.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

Answer: CDE

NEW QUESTION 54
A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide
data.
What to do now?

A. The method must be decorated with (cacheable=true).


B. The method must be decorated with @AuraEnabled.
C. The method must return a JSON Object.
D. The method must return a String of a serialized JSON Array.

Answer: A

NEW QUESTION 58
Universal Containers has a Visualforce page that displays a table of every Container_c. being ……. Is falling with a view state limit because some of the customers
rent over 10,000 containers.
What should a developer change about the Visualforce page to help with the page load errors?

A. Use Lazy loading and a transient List variable.


B. Use JavaScript remoting with SOQL Offset.
C. Implement pagination with an OffsetController.
D. Implement pagination with a StandardSetController,

Answer: D

NEW QUESTION 62
In terms of the MVC paradigm, what are two advantages of implementing the layer of a Salesforce application using Aura Component-based development over
Visualforce? Choose 2 answers

A. Self-contained and reusable units of an application


B. Rich component ecosystem
C. Automatic code generation
D. Server-side run-time debugging

Answer: AB

NEW QUESTION 63
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the
test?

A. Use Anonymous Apex to create the required data.


B. Use Test.loadDataO < > and reference a CSV file in a static resource.
C. Use SOQL to query the org for the required data.
D. Use Test.loadDataO and reference a JSON file in Documents.

Answer: B

NEW QUESTION 68
AW Computing tracks order information in custom objects called order__c and order_Line_ c - Currently, all shipping information is stored in the order__c object.
The company wants to expand Its order application to support split shipments so that any number of order_Line__c records on a single order__c can be shipped to
different locations.
What should a developer add to fulfill this requirement?

A. Order_shipment_Group_c object and master-detail field on order_Line_c


B. Order_shipment_Group_c object and master-detail field on order_c
C. Order_shipment_Group_c object and master-detail field to order_c and Order Line_c
D. Order_shipment_Group_c object and master-detail field on order_shipment_Group_c

Answer: C

NEW QUESTION 69
A Salesforce Administrator used Flow Builder to create a flow named ‘’accountOnboarding’’. The flow must be used inside an Aura component.
Which tag should a developer use to display the flow in the component?

A. Lightning-flow
B. Aura:flow
C. Lightning:flow
D. Aura:flow

Answer: C

NEW QUESTION 71
An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.
How can this be achieved?

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

A. Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.
B. Write a Process Builder that links the custom object to the Opportunity.
C. Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity
D. Use the Streaming API to create real-time roll-up summaries.

Answer: C

NEW QUESTION 75
Which three operations affect the number of times a trigger can fire? Choose 3 answers

A. Process Flows
B. Workflow Rules
C. Criteria-based Sharing calculations
D. Email messages
E. Roll-Up Summary fields

Answer: ABE

NEW QUESTION 76
A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be
tested with 200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers
A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be
tested with 200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers

A. Use the @isTest(isParallel=true) annotation in the test class.


B. Use Test.loadData to populate data in your test methods.
C. Use the @isTest(seeAllData=true) annotation in the test class.
D. Create a static resource containing test data.

Answer: BD

NEW QUESTION 77
A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } |
Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default
record type? ns

A. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() | |metho
B. ] |
C. Use Opportunit
D. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types, and iterate through them until [ JisDefaultRecordTypeMapping() is tru
E. Pencil & Paper |
F. Use the Schema.userlnfo.Opportunity.getDefaultRecordType() metho
G. <Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current Dal user's default record type.

Answer: B

NEW QUESTION 80
Consider the following code snippet:

Given the multi-tenant architecture of the Salesforce platform, what Is a best practice a developer should Implement and ensure successful execution of the
method?

A. Avoid executing queries without a limit clause.


B. Avoid returning an empty List of records.
C. Avoid using variables as query filters.
D. Avoid performing queries inside for loops.

Answer: D

NEW QUESTION 82
A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost if the lost reason is
blank.
Which automation allows the developer to satisfy this requirement in the most efficient manner?

A. A record trigger flow on the Opportunity object

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

B. An Apex trigger on the Opportunity object


C. approval process on the Opportunity object
D. An error condition formula on a validation rule on Opportunity

Answer: D

NEW QUESTION 85
A developer wants to invoke on outbound message when a record meets a specific criteria. Which three features satisfy this use case?
Choose 3 answer

A. Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code
B. Process builder can be used to check the record criteria and send an outbound message with Apex Code.
C. workflows can be used to check the record criteria and send an outbound message.
D. Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code.
E. Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.

Answer: ABC

NEW QUESTION 90
In the Lightning UI, where should a developer look to find information about a Paused Flow Interview?

A. On the Paused Row Interviews related List for a given record


B. In the Paused Interviews section of the Apex Flex Queue
C. In the system debug log by Altering on Paused Row Interview
D. On the Paused Row Interviews component on the Home page

Answer: B

NEW QUESTION 93
A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components.
Which annotation should the developer add to the Apex method to achieve this?
A)

B)

C)

D)

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

Answer: B

NEW QUESTION 98
How should a developer write unit tests for a private method in an Apex class?

A. Use the SeeAllData annotation.


B. Add a test method in the Apex class.
C. Use the TestVisible annotation.
D. Mark the Apex class as global.

Answer: C

NEW QUESTION 99
which statement is true regarding execution order when triggers are associated to the same object and event?

A. Trigger execution order cannot be guaranteed.


B. executed In the order they are modified.
C. Triggers are executed alphabetically by trigger name.
D. Triggers are executed in the order they are created.

Answer: A

NEW QUESTION 100


A developer Is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded In a Lightning page.
Without writing unnecessary code, which controller should be used for this purpose?

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

A. Standard list controller


B. Standard controller
C. Lightning controller
D. Custom controller

Answer: B

NEW QUESTION 101


Which two events need to happen when deploying to a production org? Choose 2 answers

A. All triggers must have at least 1% test coverage.


B. All Apex code must have at least 75% test coverage.
C. All triggers must have at least 75% test coverage.
D. All test and triggers must have at least 75% test coverage combined

Answer: AB

NEW QUESTION 104


What should a developer use to obtain the Id and Name of all the Leads. Accounts, and Contacts that hove the company name "Universal Containers"?

A. FIND 'Universal Containers' IN Name Fields RETURNING leadjid, name), accounted, name), contacted, name)
B. FIND Universal Containers' IN CompanyName Fietds RETURNING lead{l
C. name), accounted, name), contacted, name)
D. SELECT lead(id, name). accountOd, name), contacted, name) FROM Lead, Account, Contact WHERE Name = "universal Containers'
E. SELECT Lead.i
F. Lead.Name, Account.Id, AccountName, Contacted, Contact.Name FROM Lead, Account, Contact WHERE CompanvName * Universal Containers'

Answer: A

NEW QUESTION 108


What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

A. View the apex status Page


B. View the apex flex Queue
C. View the apex Jobs page
D. Query the AsyncApexJobe object

Answer: AC

NEW QUESTION 112


What are three ways for a developer to execute tests in an org? Choose 3.

A. Bulk API
B. Tooling API
C. Setup Menu
D. Salesforce DX
E. Metadata API.

Answer: BCD

Explanation:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_testing.htm https://developer.salesforce.com/docs/atlas.en-
us.api_tooling.meta/api_tooling/tooling_api_objects_apextestsuit

NEW QUESTION 115


A developer is creating a Lightning web component to showa list of sales records.
The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record
except the commission field.
How should this be enforced so that the component works for both users without showing any errors?

A. Use WITH SECURITY_ENFORCED in the SOQL that fetches the data for the component.
B. Use Securit
C. stripInaccessible to remove fields inaccessible to the current user.
D. Use Lightning Data Service to get the collection of sales records.
E. Use Lightning Locker Service to enforce sharing rules and field-level security.

Answer: B

NEW QUESTION 118


A Salesforce Administrator is creating a record-triggered flow. When certain criteria are met, the flow must call an Apex method to execute complex validation
involving several types of objects.
When creating the Apex method, which annotation should a developer use to ensure the method Can be used within the flow?

A. @future
B. @RemoteAction
C. @InvocableMethod
D. @AuraEnaled

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

Answer: C

NEW QUESTION 121


A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to Include helper methods that
are not used by the Web Application In the Implementation of the Web Service Class.
Which code segment shows the correct declaration of the class and methods?
A)

B)

C)

D)

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

Answer: C

NEW QUESTION 124


A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration chat reads task records is
periodically reporting errors.
Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

A. Deactivate the trigger before the integration runs.


B. Use a try-catch block after the insert statement.
C. Remove the Apex class from the integration user's profile.
D. Use the Database method with all or None set to false

Answer: C

NEW QUESTION 125


Which three statements are true regarding custom exceptions in Apex? (Choose three.)

A. A custom exception class must extend the system Exception class.


B. A custom exception class can implement one or many interfaces.
C. A custom exception class cannot contain member variables or methods.
D. A custom exception class name must end with “Exception”.
E. A custom exception class can extend other classes besides the Exception class.

Answer: BDE

NEW QUESTION 127


How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?

A. Use the Flow properties page.


B. Use the code Coverage Setup page
C. Use the Apex testresult class
D. Use SOQL and the Tooling API

Answer: D

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

NEW QUESTION 128


Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name,
Description, and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQL and SOSL? Choose 2 answers

A. SOSL is able to return more records.


B. SOQL is faster for text searches.
C. SOSL is faster for tent searches.
D. SOQL is able to return more records.

Answer: CD

NEW QUESTION 133


Cloud kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be
presented with a list of order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen.
What should a developer use to satisfy this requirement?

A. An Apex controller
B. An Apex REST class
C. An outbound message
D. An invocable method

Answer: B

NEW QUESTION 134


A company has a custom object, Sales, }_Help_Request__c, that has a Lookup relationship to Opportunity. The Seles Help Request__c has a mumber field,
Number_ct_Hours__c, that represents the amount of time spent on the Sales_Help Request__C.
A developer is tasked with creating a field, total_Hour2__c, on Opportunity that should be the sum of all of the Number_of_Hours_c values for the
Sales_Help_Request__c records related to that Opportunity.
What should the developer use to implement this?

A. A roll-up summary field on the sales Help_Request__c object


B. A trigger on the Opportunity object
C. A roll-up summary field on the Opportunity object
D. A record-triggered flow on the Sales Help Request__c object

Answer: B

NEW QUESTION 139


Which salesforce org has a complete duplicate copy of the production org including data and configuration?

A. Developer Pro Sandbox


B. Partial Copy Sandbox
C. Production
D. Full Sandbox

Answer: D

NEW QUESTION 141


A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience.
What should the developer use to override the Contact's Edit button and provide this functionality?

A. A Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience


B. A Lightning component in 5alesforce Classic and a Lightning component in lightning Experience
C. A Visualforce page in Salesforce Classic and a Lightning page in Lightning Experience
D. A Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience

Answer: A

NEW QUESTION 143


A developer must create a CreditcardPayment class that provides an implementation of an existing Payment class. Public virtual class Payment { public virtual void
makePayment(Decimal amount) { /*implementation*/
} } Which is the correct implementation?

A. Public class CreditcardPayment extends Payment {public override void makePayment(Decimal amount) { /*implementation*/ }}
B. Public class CreditCardPayment implements Payment {public virtual void makePayment(Decimal amount) { /*implementation*/ }}
C. Public class CreditCardPayment extends Payment {public virtual void makePayment(Decimal amount) { /*implementation*/ }}
D. Public class CreditCardPayment implements Payment {public override void makePayment(Decimal amount) { /*Implementation*/ }}

Answer: A

NEW QUESTION 147


A developer created a Lightning web component called statusComponent to be inserted into the Account record page.
Which two things should the developer do to make the component available?

A. Add <isExposed> true</isExposed> to the statusComponent.js-meta ml file.

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

B. Add <target> lighting _RecordPage </target> to the statusComponent.js-meta ml file.


C. Add < masterLabel>Account</master Label> to the statusComponent.js-meta ml file.
D. Add<target> Lightning_RecordPage </target> to the statusComponent.js file.

Answer: AB

NEW QUESTION 150


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

A. Bulk API can be used to import large data volumes in development environments without bypassing the storage limits.
B. Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.
C. Developer and Developer Pro sandboxes have different storage limits.
D. Data import wizard is a client application provided by Salesforce.

Answer: CD

NEW QUESTION 154


What should a developer do to check the code coverage of a class after running all tests?

A. View the Code Coverage column in the list view on the Apex Classes page.
B. View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.
C. View Use cede coverage percentage for the class using the Overall Code Coverage panel in the Developer Console Tests tab.
D. Select and run the class on the Apex Test Execution page in the Developer Console.

Answer: B

NEW QUESTION 159


A software company uses the following objects and relationships:
• Case: to handle customer support issues
• Defect_c: a custom object to represent known issues with the company's software
• case_Defect c: a junction object between Case and Defector to represent that a defect Is a customer issue
What should be done to share a specific Case-Defect_c record with a user?

A. Share the Case_Defect_c record.


B. Share the parent Case record.
C. Share the parent Defect_c record.
D. Share the parent Case and Defect_c records.

Answer: D

NEW QUESTION 161


A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what defined for payments in
the PaymentProcessor interface. public interface PaymentProcessor { void pay(Decimal amount); } Which is the correct implementation to use the
PaymentProcessor interface class?

A. Public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount) {}}
B. Public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount);}
C. Public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount);}
D. Public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount) {}}

Answer: B

NEW QUESTION 164


......

Guaranteed success with Our exam guides visit - https://www.certshared.com


Certshared now are offering 100% pass ensure Platform-Developer-I dumps!
https://www.certshared.com/exam/Platform-Developer-I/ (169 Q&As)

Thank You for Trying Our Product

We offer two products:

1st - We have Practice Tests Software with Actual Exam Questions

2nd - Questons and Answers in PDF Format

Platform-Developer-I Practice Exam Features:

* Platform-Developer-I Questions and Answers Updated Frequently

* Platform-Developer-I Practice Questions Verified by Expert Senior Certified Staff

* Platform-Developer-I Most Realistic Questions that Guarantee you a Pass on Your FirstTry

* Platform-Developer-I Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year

100% Actual & Verified — Instant Download, Please Click


Order The Platform-Developer-I Practice Test Here

Guaranteed success with Our exam guides visit - https://www.certshared.com


Powered by TCPDF (www.tcpdf.org)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy