Examtorrent: Best Exam Torrent, Excellent Test Torrent, Valid Exam Dumps Are Here Waiting For You
Examtorrent: Best Exam Torrent, Excellent Test Torrent, Valid Exam Dumps Are Here Waiting For You
http://www.examtorrent.com
Best exam torrent, excellent test torrent,
valid exam dumps are here waiting for you
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!
Exam : CRT-450
Vendor : Salesforce
Version : DEMO
NO.1 A developer wants multiple test classes to use the same set of test data. How should the
developer create the test data?
A. Define a variable for test records in each test classes
B. Use the seealldata=true annotation in each test class
C. Reference a test utility class in each test class
D. Create a test setup method for each test class
Answer: B
NO.2 Which two strategies should a developer use to avoid hitting governor limits when developing
in a multi-tenant environment? (Choose two.)
A. Use collections to store all fields from a related object and not just minimally required fields.
B. Use SOQL for loops to iterate data retrieved from queries that return a high number of rows.
C. Use methods from the "Limits" class to monitor governor limits.
D. Use variables within Apex classes to store large amounts of data.
Answer: B,C
NO.3 A developer needs to find information about @future methods that were invoked. From which
system monitoring feature can the developer see this information?
A. Background Jobs
B. Scheduled jobs
C. Apex Jobs
D. Asynchronous Jobs
Answer: C
NO.4 A developer uses a Test Setup method to create an Account named 'Test'. The first test
method deletes the Account record. What must be done in the second test method to use the
Account?
A. Use SELECT Id from Account where Name='Test'
B. The Account cannot be used in the second test method
C. Restore the Account using an undeleted statement
D. Call the Test Setup method at the start of the test
Answer: A
NO.5 A developer creates a Workflow Rule declaratively that updates a field on an object. An Apex
update trigger exists for that object. What happens when a user updates a record?
A. No changes are made to the data.
B. Both the Apex Trigger and Workflow Rule are fired only once.
C. The Apex Trigger is fired more than once.
D. The Workflow Rule is fired more than once.
Answer: C
NO.6 A developer needs to create a custom Visualforce button for the Opportunity object page
layout that will cause a web service to be called and redirect the user to a new page when clicked.
Which three attributes need to be defined in the <apex:page> tag of the Visualforce page to enable
this functionality? Choose three answers.
A. Extensions
B. Controller
C. StandardController
D. Action
Answer: A,C,D
NO.7 Which component is available to deploy using Metadata API? Choose 2 answers
A. Case Feed Layout
B. Case Layout
C. ConsoleLayout
D. Account Layout
Answer: B,D
NO.9 Which type of code represents the Model in the MVC architecture on the Force.com platform?
A. A Controller Extension method that saves a list of Account records
B. A list of Account records returned from a Controller Extension method
C. A Controller Extension method that uses SOQL to query for a list of Account records
D. Custom JavaScript that processes a list of Account records.
Answer: B
NO.11 A developer needs to display all of the available fields for an object.
In which two ways can the developer retrieve the available fields if the variable myObject represents
the name of the object? (Choose two.)
A. Use mySObject.myObject.fields.getMap() to return a map of fields.
NO.12 How should the developer overcome this problem? While writing a test class that covers an
OpportunityLineItem trigger, a Developer is unable to create a standard Pricebook since one already
exist in the org.
A. Use @TestVisible to allow the test method to see the standard Pricebook.
B. Use @IsTest(SeeAllData=true) and delete the existing standard Pricebook.
C. Use Test.getStandardPricebbokId()to get the standard Pricebook ID.
D. Use Test.loaddata() and a Static Resource to load a standard Pricebook
Answer: C
NO.14 A developer wants to list all of the Tasks for each Account on the Account detail page. When
a task is created for a Contact, what does the developer need to do to display the Task on the related
Account record?
A. Create an Account formula field that displays the Task information.
B. Create a Workflow rule to relate the Task to the Contact's Account.
C. Nothing. The Task cannot be related to an Account and a Contact.
D. Nothing. The task is automatically displayed on the Account page.
Answer: D
NO.15 Which two sosl searches will return records matching search criteria contained in any of the
searchable text fields on an object? choose 2 answers
A. [find 'acme*' in text fields returning account,opportunity]
B. [find 'acme*' in any fields returning account,opportunity]
C. [find 'acme*'in all fields returning account,opportunity]
D. [find 'acme*'returning account,opportunity]
Answer: C
NO.16 What is the value of x after the code segment executes?String x = 'A';Integer i = 10;if ( i < 15 )
{i = 15;x =
'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }
A. D
B. C
C. B
D. A
Answer: C
NO.17 How would a developer determine if a CustomObject__c record has been manually shared
with the current user in Apex?
A. By calling the isShared() method for the record.
B. By querying CustomObject__Share.
C. By calling the profile settings of the current user.
D. By querying the role hierarchy.
Answer: B
NO.19 When can a developer use a custom Visualforce page in a Force.com application? (Choose 2)
A. To create components for dashboards and layouts
B. To generate a PDF document with application data
C. To deploy components between two organizations
D. To modify the page layout settings for a custom object
Answer: A,B
NO.20 Which query should a developer use to obtain the Id and Name of all the Leads, Accounts,
and Contacts that have the company name "Universal Containers"?
A. FIND 'Universal Containers' IN CompanyName Fields RETURNING lead(id,name), account
(id,name), contact(id,name)
B. SELECT lead(id, name), account(id, name), contact(id,name) FROM Lead, Account, Contact WHERE
Name = 'Universal Containers'
C. SELECT Lead.id, Lead. Name, Account.id, Account.Name, Contact.Id, Contact. Name FROM Lead,
Account, Contact WHERE CompanyName = 'Universal Containers'
D. IND 'Universal Containers' IN Name Fields RETURNING lead(id, name), account(id,name),
contact(id,name)
Answer: D
NO.21 In which two org types can a developer create new Apex Classes? Choose 2 answers
A. Sandbox
B. Unlimited
C. Enterprise Edition
D. Developer Edition
Answer: A,D
NO.23 How can a developer determine, from the DescribeSObjectResult, if the current user will be
able to create records for an object in Apex?
A. By using the isCreatable() method.
B. By using the isInsertable() method.
C. By using the hasAccess() method.
D. By using the canCreate() method.
Answer: A
NO.24 Which type of code represents the Controller in MVC architecture on the Force.com
platform? (Choose 2)
A. Custom Apex and JavaScript coda that is used to manipulate data.
B. JavaScript that is used to make a menu item display itself.
C. A static resource that contains CSS and images.
D. StandardController system methods that are referenced by Visualforce.
Answer: A,D
NO.26 Which code block returns the ListView of an Account object using the following debug
statement?
system.debug(controller.getListViewOptions() );
A. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM
NO.27 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. Apex
C. Workflow Rules
D. Process Builder with an Autolaunched Flow
Answer: B
NO.29 A developer is creating an application to track engines and their parts. An individual part can
be used in different types of engines. What data model should be used to track the data and to
prevent orphan records?
A. Create a junction object to relate many engines to many parts through a lookup relationship
B. Create a junction object to relate many engines to many parts through a master-detail relationship
C. Create a master-detail relationship to represent the one-to-many model of engines to parts.
D. Create a lookup relationship to represent how each part relates to the parent engine object.
Answer: B
NO.30 The sales team at Universal Containers would like to see a visual indicator appear on both
Account and Opportunity page layouts to alert salespeople when an Account is late making payments
or has entered the collections process. What can a developer implement to achieve this requirement
without having to write custom code?
A. Roll-up Summary Field
B. Workflow Rule
C. Formula Field
D. Quick Action
Answer: C