A developer needs to import customer subscription records into salesforce and attach them to existing account records. Which 2 actions should the developer take to ensure the subscription records are related to the correct account records? Choose 2 answers
A. Match an external ID text field to a column in the imported file
B. Match an auto-number field to a column in the imported file
C. Match the name field to a column in the imported file
D. Match the id field to a column in the imported file
A developer needs to apply the look and feel of lightning experience to a number of applications built using a custom third-party javascript framework and rendered in visualforce pages which option achieves this?
A. Set the attribute enablelightning to "true" in the definition
B. Replace the third-party javascript library with native visualforce tags
C. Configure the user interface options in the setup menu to enable legacy mode for visualforce
D. Incorporate salesforce lightning design system css style sheets into the javascript applications
A developer wants multiple test classes to use the same set of test dat
A. How should the developer create the test data?
B. Define a variable for test records in each test classes
C. Create a test setup method for each test class
D. Use the seealldata=true annotation in each test class
E. Reference a test utility class in each test class
Which two statement are acceptable for a developer to use Inside procedural loops?
A. Contactlist.remove(i)
B. Delete contactList
C. Account a=[select id,name from account where id=:con.accountid limit 1]
D. Contact con =new contact()
Opportunity opp=[select id ,stagename from opportunity limit 1] Given the code above, how can a developer get the label for the stagename field?
A. Call"opp.stagename.getdescribe().getlabel()"
B. Call "opportunity.stagename.label"
C. Call"opportunity.stagename.getdescribe().getlabel()"
D. Call"opp.stagename.label"
When a task is created for a contact, how can a developer prevent the task from being included on the activity timeline of the contact's account record?
A. In activity settings,uncheck roll-up activities to a contact's primary account
B. By default,tasks do not display on the account activity timeline
C. Use process builder to create a process to set the task account field to blank
D. Create a task trigger to set the account field to NULL
A developer has the following class and trigger code public class insurancerates{ public static final decimal smokercharge = 0.01; } trigger contacttrigger on contact (before insert){ insurancerates rates = new insurancerates(); decimal basecost=xxx; } Which code segment should a developer insert at the xxx to set the basecost variable to the value of the class variable smokercharge?
A. Rates.smokercharge
B. Contacttrigger.insurancerates.smokercharge
C. Insurancerates.smokercharge
D. Rates.getsmokercharge()
A visualforce page uses the contact standard controller. How can a developer display the name from the parent account record on the page?
A. Use SOQL syntax to find the related accounts name field
B. Use the {!contact.account.name} merge field syntax
C. Use an additional standard controller for accounts
D. Use additional apex logic within the controller to query for the name field
A company has a custom object named Region. Each account in salesforce can only be related to one region at a time, but this relationship is optional. Which type of relantionship should a developer use to relate an account to a region?
A. Parent-child
B. Master-detail
C. Hierarchical
D. Lookup
How can a developer use a Set
A. Reference the Set in the LIMIT clause of the query
B. Pass the query results as an argument in a reference to the Set.containsAll() method.
C. Pass the Set as an argument in a reference to the Database.query() method
D. Reference the Set in the WHERE clause of the query
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CRT-450 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.