Salesforce Certified Platform Developer I (116-150)

Description

Quiz on Salesforce Certified Platform Developer I (116-150), created by Marco Calisti on 18/04/2017.
Marco Calisti
Quiz by Marco Calisti, updated more than 1 year ago
Marco Calisti
Created by Marco Calisti over 7 years ago
1367
5

Resource summary

Question 1

Question
How would a developer determine if a CustomObject__c record has been manually shared with the current user in Apex?
Answer
  • By querying the role hierarchy.
  • By calling the isShared() method for the record.
  • By querying CustomObject__Share.
  • By calling the profile settings of the current user.

Question 2

Question
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement? (Choose 2)
Answer
  • After update.
  • Before insert.
  • Before update.
  • After insert.

Question 3

Question
What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)
Answer
  • Using an (apex:includeScript)* tag. \>
  • Using an (apex:define)* tag.
  • Using a (link)* tag.
  • Using a (script)* tag.

Question 4

Question
Where would a developer build a managed package?
Answer
  • Developer Sandbox
  • Unlimited Edition
  • Partial Copy Sandbox
  • Developer Edition

Question 5

Question
What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform?
Answer
  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: s-Controls
  • Model: Schema Builder; View: List Views; Controller: Setup Console
  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code
  • Model: Apex Code; View: List Views; Controller: Setup Console

Question 6

Question
What is valid in the where clause of a SOQL query?
Answer
  • A geolocation field.
  • An encrypted field.
  • An aggregate function.
  • An alias notation.

Question 7

Question
A developer creates a method in an Apex class and needs to ensure that errors are handled properly. What would the developer use? Choose 3 answers.
Answer
  • ApexPages.addErrorMessage()
  • A custom exception
  • .addError()
  • Database.handleException()
  • A try/catch construct

Question 8

Question
In the Lightning Component framework, where is client-side controller logic contained?
Answer
  • Apex
  • Visualforce
  • HTML
  • JavaScript

Question 9

Question
Which use case requires a partial copy or full sandbox? Choose 3 answers.
Answer
  • Scalability Testing
  • Development Testing
  • Quality Assurance Testing
  • Batch Data Testing
  • Integration Testing

Question 10

Question
Universal containers wants to rollout new product bundles with several pricing options. Pricing options include product-price bundles, account specific pricing and more. Which product satisfies the needs?
Answer
  • Workflow on Opportunity/Opportunity Product
  • Custom Appexchange-app for product-pricing
  • Formula fields on Opportunity/Opportunity Product
  • Lightning process builder

Question 11

Question
Universal containers has included its orders as an external data object into Salesforce. You want to create a relationship between Accounts and the Orders object (one-to-many relationship) leveraging a key field for account which is on both external object and Account. Which relationship do you create?
Answer
  • Master Detail Relationship
  • Indirect Lookup Relationship
  • Lookup Relationship
  • Hierarchical Relationship
  • External Lookup Relationship

Question 12

Question
Universal containers has a custom object that has a N:M relationship with opportunityLineItem carrying price and amount information. In order to compute total amounts and total prices per Opportunity using Rollup summary fields, what field type will you use?
Answer
  • Crossobject
  • Lookup
  • Master-Detail
  • Junction

Question 13

Question
Universal containers want an org for development which can be refreshed in every 5 days with all the configuration and some data. What org do you choose?
Answer
  • Developer Sandbox
  • Developer Pro Sandbox
  • Partial copy sandbox
  • Full Sandbox

Question 14

Question
Which Apex collection is used to ensure all values are unique?
Answer
  • An Sobject
  • Set
  • List
  • Enum

Question 15

Question
Universal Container installs an unmanaged package. Which of the following are true? Choose 2.
Answer
  • Tests are executed during deployment
  • Unmanaged packages can be upgraded
  • Unmanaged packages don't have a version number
  • Unmanaged packages have a namespace prefix
  • Components of unmanaged packages can be edited

Question 16

Question
Universal Container want to store an area code and wants to be able to search for it in searches. Which are possible fields to store the data? (choose 2)
Answer
  • Phone
  • Email
  • Text
  • Multi Picklist

Question 17

Question
132. Universal containers has a custom object "service" which has a lookup relationship to Account. Universal containers wants to enhance Salesforce1 with an action that allows account managers to enter a new service to an Account while looking at the account?
Answer
  • Enter an object specific action to Service and put it in the Account Layout
  • Enter an object specific action to Service and put it in the Service Layout
  • Enter an object specific action to Account and put it in the Account Layout
  • Enter an object specific action to Account and put it in the Service Layout

Question 18

Question
What determines whether a user can create a new record using a specific record type?
Answer
  • Profile
  • Page layout
  • Field level security
  • Sharing

Question 19

Question
Which statements are true regarding Roll-Up Summary fields? Select all that apply
Answer
  • Advanced currency management has no affect on roll-up summary fields.
  • Because roll-up summary fields are not displayed on edit pages, you can use them in validation rules but not as the error location for you validation.
  • Validation errors can display when saving either the detail or master record.
  • Automatically derived fields, such as current date or current user, are allowed in a roll-up summary field.
  • Once created, you cannot change the detail object selected or delete any field referenced in your roll-up summary definition.

Question 20

Question
What happens when a workflow is re-evaluated? Pick 3
Answer
  • Validation
  • Cross-object sharing rules
  • Other Workflow types
  • Previous Workflows

Question 21

Question
Which components can be added to a lightning app on custom Object? Choose 3
Answer
  • Standard Lightning component
  • Custom lightning component
  • Object specific actions on the custom object
  • Global actions
  • Visualforce

Question 22

Question
A developer executes following code in Console. What will happen? list<Account> flist = new list<Account>(); for(integer i=1;i<=200 ;i++){ flist.add(new Account(name='Test Acc'+i)); } insert flist; list<Account> Llist = new list<Account>(); for(integer i=201;i<=20000 ;i++){ Llist.add(new Account(name='Test Acc'+i)); } insert Llist ;
Answer
  • Error will occur
  • Insert all records
  • Insert 200 only
  • Records inserted

Question 23

Question
Developer need to verify that the account trigger is working fine without changing Org data. What should the developer do to test the Account trigger?
Answer
  • Use New button on Account tab to create new record
  • Use the test menu on developer console to run all test classes for the account trigger.
  • Use force.com IDE
  • Use Execute Anonymous feature on developer console

Question 24

Question
Which is true about social accounts?
Answer
  • You can use social accounts data even when you are not logged into the social account.
  • You need a personal social account in order to see social account data
  • You can use social accounts to import data into Salesforce
  • Connection to social account is established through a company wide "named principal"

Question 25

Question
Field type conversion. Which of the following are true? (choose 2)
Answer
  • Data can be lost when converting from autonumber to text
  • Information can be lost when converting from text area (rich) to text area (long)
  • Data can be lost when converting from number to currency (assuming that field lengths are identical)
  • Data can be lost when converting from simple picklist to multi picklist

Question 26

Question
Universal Container is using assignment rules to distribute cases to regional teams. Which of the following are true?
Answer
  • It is possible to have multiple active assignment rules
  • Cases may be assigned to public groups (if configured)
  • Cases may be assigned to queues (if configured)
  • A workflow field update can be used instead

Question 27

Question
You want to use an External Data Object Table from Heroku carrying Product Category information. The data need to be included in Salesforce and searchable. What do you have to do before you can use the connection? Choose two
Answer
  • Choose "include as index field"
  • Press "validate and sync"
  • Choose "include in Salesforce searches" option
  • URL / choose the URL (?)

Question 28

Question
Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.
Answer
  • StandardSetController Class
  • StandardController Class
  • Controller Class
  • VisualforceSetController Class
  • VisualforceControllerClass
  • None of the above

Question 29

Question
Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?
Answer
  • Model
  • Controller
  • View

Question 30

Question
What must a developer consider when inserting records using an API-based tool? Choose 2
Answer
  • Required fields on page layouts are enforced.
  • Universally required field settings are respected.
  • Apex triggers are ignored.
  • Validation rules are respected.

Question 31

Question
Universal Containers has built a recruiting application with two custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved. How would a developer meet this requirement?
Answer
  • Change the interviewer's profile to Read-only for the review object
  • Use workflow to change the page layout to Read-only
  • Remove the Delete button from the job application page layout
  • Use a validation rule in conjunction with a roll-up summary field

Question 32

Question
Universal Container want to store an area code and wants to be able to search for it in applications (apex). Which are possible fields to store the data? Choose 2
Answer
  • Email
  • Multi Picklist
  • Text
  • Number
  • Phone

Question 33

Question
What can a lightning component contain in its resource bundle? Choose two answers.
Answer
  • Custom Client-side rendering behavior.
  • Properties files with global settings.
  • CSS styles scoped to the component.
  • Build scripts for minification.

Question 34

Question
Describe the ramifications of field updates and potential for recursion for the following scenario: If a field update for Rule1 triggers Rule2, and a field update for Rule2 triggers Rule1.
Answer
  • The updates create a loop and the org limits for workflow time triggers per hour will likely be violated.
  • When the second trigger is saved a Imminent Loop Error message will be displayed and the workflow rule update will not save.
  • The updates create a loop and the org will be blocked until the admin resolves the issue.
  • Loop is allowed to run 25 times within one hour. If it does not end on its own the process will be stopped by R&D.

Question 35

Question
How would a developer change the field type of a custom field on account object from a string to an integer?
Answer
  • Make the change in the declarative UI, then update the field type to an integer field in-the apex code.
  • Remove all references in the code, make the change in the declarative UI, and restore the references with the new type.
  • Make the change in the developer console, and then the change will automatically be reflected in the apex.
  • Make the change in the declarative UI, and then the change will automatically be reflected in the apex code.
Show full summary Hide full summary

Similar

SFDC App Builder 1 (26-50)
Connie Woolard
SFDC App Builder 1 (126-150)
Connie Woolard
SFDC App Builder 1 (1-25)
Connie Woolard
SFDC App Builder (76-100)
Connie Woolard
SFDC App Builder 1 (176-200ish)
Connie Woolard
SFDC App Builder 1 (151-175)
Connie Woolard
ADM201 Testbank
student kilo
SFDC App Builder I (51-75)
Victoria Jones
Salesforce ADM 201 II
mito_zgb
SFDC App Builder 1 (101-125)
Victoria Jones
2_SFDC App Builder 1
kerrie.tanksley