Question 1 · 12 in bank
A custom object Trainer_c has a lookup field to another object Gym_c. Which SOQL query will get the record for the Viridian Gym and all it’s trainers?
Show answer
Answer: D
Salesforce Certified Platform Developer I12 questions across 2 pages are complete and free, with no account or card.
12 questions in this bank
Free access · progress saved on this device
A custom object Trainer_c has a lookup field to another object Gym_c. Which SOQL query will get the record for the Viridian Gym and all it’s trainers?
Answer: D
Given the following Apex statement: Account myAccount = [SELECT Id, Name FROM Account]; What occurs when more than one Account is retuned by the SOQL query?
Answer: B
The OrderHelper class is a utility class that contains business logic for processing orders. Consider the following code snippet: public class without sharing OrderHelper( //code implementation } A developer needs to create a constant named DELIVERY_MULTIPLIER with a value of 4.15. The value of the constant should not change at any time in the code. How should the developer declare the DELIVERY_MULTIPLIER constant to meet the business objectives?
Answer: B
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?
Answer: C
A developer has the following requirements: Calculate the total amount on an Order Calculate the line amount for each Line Item based on quantity selected and price Move Line Items to a different Order if a Line Item is not in stock Which relationship implementation supports these requirements on its own?
Answer: D
Refer to the following Apex code:
What is the value of x when it is written to the debug log?
Answer: D
Assuming that name is a String obtained by an <apex:inputText> tag on a Visualforce page, which two SOQL queries performed are safe from SOQL injection? (Choose two.)
Answer: CD
A credit card company needs to implement the functionality for a service agent to process damaged or stolen credit cards. When the customers call in, the service agent must gather many pieces of information. A developer is tasked to implement this functionality. What should the developer use to satisfy this requirement in the most efficient manner?
Answer: A
What are two characteristics related to formulas? (Choose two.)
Answer: BC
Universal Containers recently transitioned from Classic to Lightning Experience. One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows: Name - Amount - Account - Which two methods should the developer implement to fulfill the business requirement? (Choose two.)
Answer: CD
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
PD1 practice, question 1. 12 questions available.
Version 1.0.0. How we source questions