3. Platform Developer 1: Logic and Process Automation Part 1

Description

Quiz on 3. Platform Developer 1: Logic and Process Automation Part 1, created by Laura Hdez on 18/12/2018.
Laura Hdez
Quiz by Laura Hdez, updated more than 1 year ago
Laura Hdez
Created by Laura Hdez over 5 years ago
120
0

Resource summary

Question 1

Question
How can a developer get all picklist values of a specific field via Apex?
Answer
  • Use the fieldPicklist method
  • Use the getPicklistValues method
  • Use the describePicklist method
  • Use the globalPicklist method

Question 2

Question
Stock Symbol is a custom field on the Account object. What is the best way to make this field appear on Contact detail page layout?
Answer
  • Roll up summary field
  • Lookup field
  • Formula Field
  • Parent Field
  • Requires Apex Code

Question 3

Question
In the following line of code, why can the helloWorld method be called directly instead of instantiating the myClass? myClass.helloWorld('Hello');
Answer
  • helloWorld is defined as a static method
  • helloWorld is defined as a void method
  • myClass is defined as a static class
  • myClass is defined as public

Question 4

Question
How can a developer access a static variable named TaxRate declared in a different Apex class named TaxCalculation?
Answer
  • TaxCalculation.TaxRate
  • TaxCalculation.TaxRate()
  • (new TaxCalculation()).TaxRate
  • (new TaxCalculation()).TaxRate()

Question 5

Question
How can a developer ensure that a variable 'Day' will only contain specific set of constants such as SUNDAY, MONDAY, TUESDAY.....SATURDAY? What should variable 'Day' be declared as?
Answer
  • enum Day{ SUNDAY, MONDAY, .....SATURDAY}
  • list<String>Day{ SUNDAY, MONDAY, .....SATURDAY}
  • set<String>Day{ SUNDAY, MONDAY, .....SATURDAY}
  • map<Id, String>Day{ SUNDAY, MONDAY, .....SATURDAY}

Question 6

Question
Steadfast Insurance Inc. have a custom object [Claim] to track insurance claims. A team member will record a claim and an approval process is used for the insurance manager to approve the claim. In order to assist the manager, the team member's claim limit from their user record should be displayed on the claim record. How can this be developed?
Answer
  • Use a field update in a workflow rule to copy the team members claim limit onto the claim record
  • Use a cross object formula to display the users limit on the claim record
  • Use a trigger to populate the user limit field when the claim is created
  • Use Process Builder to populate the user limit field when the claim is created

Question 7

Question
An administrator needs to get records with locations saved in geolocation or address fields as individual latitude and longitude values. Which SOQL statement accomplishes this goal?
Answer
  • ELECT Id, Name, Location__latitude__s, Location__longitude__s FROM CustomObject__c
  • SELECT Id, Name, Location__latitude__c, Location__longitude__c FROM CustomObject__c
  • SELECT Id, Name, Location__r.latitude__c, Location__r.longitude__c FROM CustomObject__c
  • SELECT Id, Name, Location__r.latitude, Location__r.longitude FROM CustomObject__c
Show full summary Hide full summary

Similar

Examen Developer I - III
Jose Miguel Montalbán
2. Platform Developer 1: Data Modeling and Management
Laura Hdez
Examen Developer I - I
Jose Miguel Montalbán
SalesForce Examen 1 Admin
Konstantin Klykov
Examen Developer I - II
Jose Miguel Montalbán
Validación de formularios con Javascript
Alejandro Villamizar
Administración de Salesforce ADM201
Gregorio Andres Arango Moreno
Simulador de preparacion exmen certificacion JAVA 7 developer
JUAN JOSÈ ORJUEL
DEV-501-I
jbarcoga
3. Platform Developer 1: Logic and Process Automation Part 1
Laura Hdez
Examen II Salesforce Developer (Fixed)
Juan Carlos Montero