100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Salesforce PD1 q & a = Y exam with correct answers 2024 €13,40   In winkelwagen

Tentamen (uitwerkingen)

Salesforce PD1 q & a = Y exam with correct answers 2024

 0 keer bekeken  0 keer verkocht
  • Vak
  • Salesforce PD1 q & a = Y
  • Instelling
  • Salesforce PD1 Q & A = Y

What are three ways for a developer to execute tests in an org? Choose 3. A. Bulk API B. ToolingAPI C. Metadata API D. Setup Menu E. Developer Console correct answers B, C, D A developer created a helper class with a method that can be called from Visualforce pages, web services, triggers...

[Meer zien]

Voorbeeld 3 van de 24  pagina's

  • 15 oktober 2024
  • 24
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • Salesforce PD1 q & a = Y
  • Salesforce PD1 q & a = Y
avatar-seller
Salesforce PD1 q & a = Y

What are three ways for a developer to execute tests in an org? Choose 3.
A. Bulk API
B. ToolingAPI
C. Metadata API
D. Setup Menu
E. Developer Console correct answers B, C, D

A developer created a helper class with a method that can be called from Visualforce
pages, web services,
triggers, and of even anonymous code. When the method is called from a trigger, the
developer needs to
execute logic that should not be executed If the method Is called from anywhere else.
How can the
developer determine if the code Is executed in a trigger context?
A. Check if System.executionContext =='Trigger'.
B. Use the executeOnTrigger annotation on the method definition.
C. Check if Trigger.isExecuting ==true
D. Check if Trigger.newMap !=null. correct answers C

Which collection type provides unique key/value pairings of data?
A. Map
B. List
C. Array
D. Set correct answers A

What can a developer use to determine if the core Apex code exceeds any governor
limits in a test class
during bulk execution?
A. Limits, startTest, stopTest
B. Test.getDmlStatements()
C. @TestSetup.
D. @TestVisible correct answers A

What are two features of Heroku Connect? Choose 2 answers
A. Displaying data from an external data store via External Objects.
B. Real Time Sync between Salesforce and Postgres
C. Bidirectional syncs, allowing data to be written into Salesforce
D. Near Real Time Sync between Heroku Postgres and Salesforce correct answers C,
D

,A developer is asked to write negative tests as part of the unit testing for a method that
calculates a
person's age based on birth date. What should the negative tests include?
A. Assert that future dates are rejected by the method.
B. Assert that past dates are accepted by the method.
C. Assert that a null value is accepted by the method.
D. Throwing a custom exception in the unit test. correct answers A

A developer has created a Visualforce Page and Apex Controller that uses the With
Sharing keyword. The
page will be used of by Sales Managers and should only display Accounts owned by
Sales
Representatives who report to the running Sales Manager. The organization-wide
sharing for Accounts is
set to Private. Which additional set of stops should the developer take?
A. Create one Profile, two Permission Sets, and one Role.
B. Create one Profile, one Permission Set, and one Role.
C. Create one Profile, one Permission Set, and two Roles.
D. Create two Profiles, one Permission Set, and one Role. correct answers C

QUESTION 8
When would the use of Heroku Postgres be appropriate?
A. To cache commonly accessed data for faster retrieval.
B. To interconnect Microsoft SQL servers to Heroku Applications.
C. To store and retrieve data using the Structured Query Language.
D. To store user generated pictures and Word documents. correct answers C

How can a custom type be identified as unique when added to a Set?
A. Methods in the class must be static
B. The class must implement the Equals and Hashcode methods
C. Methods in the class must be global
D. The class must have a method with the @InvocableMethod annotation correct
answers B

A sales manager wants to make sure that whenever an opportunity stage is changed to
'Closed Won', a
new case will be of created for the support team to collect necessary information from
the customer. How
should a developer accomplish this?
A. Create a Process Builder to create the new case.
B. Set up a validation rule on the Opportunity Stage.
C. Create a lookup field to the Case object on the opportunity object.
D. Create a workflow rule to create the new case. correct answers A

What are two valid options for iterating through each Account in the collection List
<Account> named

, AccountList? Choose 2 answers.
A. For (List L : AccountList) {...}
B. For (Account theAccount : AccountList){...}
C. For(AccountList){...}
D. For (Integer i=0; i<AccountList. Size();i++){...} correct answers B, D

Which two describe Heroku Redis? Choose 2 answers.
A. Is an in-memory key-value data store, run by Heroku.
B. Is a repository for storing large images.
C. Is an option for long-term data storage.
D. Is provisioned and managed as an add-on. correct answers A, D

Which tool can deploy destructive changes to Apex classes in production?
A. Workbench
B. Developer Console
C. Salesforce Setup
D. Change Sets correct answers A

What is a key difference between a Master-Detail Relationship and a Lookup
Relationship?
A. A Master-Detail Relationship detail record inherits the sharing and security of its
master record.
B. When a record of a master object in a Lookup Relationship is deleted, the detail
records are also
deleted.
C. A Lookup Relationship is a required field on an object.
D. When a record of a master object in a Master-Detail Relationship is deleted, the
detail records are kept
and not deleted. correct answers A

Universal Containers (UC) has an integration with its Accounting system that creates
tens of thousands of
Orders inside of Salesforce in a nightly batch. UC wants to add automaton that can
attempt to match
Leads and Contacts to these Orders using the Email Address field on the insert. UC is
concerned about
the performance of the automation with a large data volume. Which tool should UC use
to automate this
process?
A. Process Builder
B. Process Builder with an Autolaunched Flow
C. Workflow Rules
D. Apex correct answers D

QUESTION 16
When are code coverage calculations updated?

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper HopeJewels. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €13,40. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 82871 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€13,40
  • (0)
  Kopen