Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

ExamTorrent

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

Title : Salesforce Certified Platform


Developer I

Vendor : Salesforce

Version : DEMO

1 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

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.

2 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

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.8 A developer encounters APEX heap limit errors in a trigger.


Which two methods should the developer use to avoid this error? (Choose two.)
A. Remove or set collections to null after use.
B. Use SOQL for loops instead of assigning large queries results to a single collection and looping
through the collection.
C. Use the transient keyword when declaring variables.
D. Query and store fields from the related object in a collection when updating related objects.
Answer: B,C

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.10 Which statement about change set deployments is accurate? (Choose 3)


A. They use an all or none deployment model.
B. They can be used to deploy custom settings data.
C. They can be used only between related organizations.
D. They require a deployment connection.
E. They ca be used to transfer Contact records.
Answer: A,C,D

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.

3 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

B. Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of


fields.
C. Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.
D. Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
Answer: A,B

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.13 What are three characteristics of static methods? (Choose three.)


A. Excluded from the view state for a Visualforce page
B. Allowed only in outer classes
C. Initialized only when a class is loaded
D. Allowed only in inner classes
E. A static variable outside of the scope of an Apex transaction
Answer: A,B,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'; }

4 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

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.18 How are debug levels adjusted In the Developer Console?


A. Under the Logs tab, click Change in the DebugLevels panel
B. Under the Debug menu > Change Log Levels..., click Add/Change in the DebugLevel Action column
C. Under the Settings menu > Trace Settings..., click Change DebugLevel
D. Under the Edit menu, dick Change DebugLevels
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

5 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

C. Enterprise Edition
D. Developer Edition
Answer: A,D

NO.22 A developer writes the following code:

What is the result of the debug statement?


A. 1, 100
B. 2, 150
C. 2, 200
D. 1, 150
Answer: B

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.25 On which object can an administrator create a roll-up summary field?


A. Any object that is on the child side of a lookup relationship.
B. Any object that is on the detail side of a master-detail relationship.
C. Any object that is on the master side of a master-detail relationship.
D. Any object that is on the parent side of a lookup relationship.
Answer: C

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

6 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

Account LIMIT 1]);


B. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM
Account LIMIT 1]);
C. ApexPages.StandardSetController controller = new ApexPages.StandardSetController(
Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));
D. ApexPages.StandardController controller = new ApexPages.StandardController(
Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));
Answer: C

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.28 What is a capability of the Force.com IDE? Choose 2 answers


A. Edit metadata components.
B. Roll back deployments.
C. Download debug logs.
D. Run Apex tests.
Answer: A,D

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

7 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html
CRT-450 exam dumps, Salesforce CRT-450 exam torrent, CRT-450 VCE torrent
IT Certification Guaranteed, The Easy Way!

D. Quick Action
Answer: C

8 CRT-450 VCE torrent


CRT-450 exam dumps, Salesforce CRT-450 exam torrent,
https://www.examtorrent.com/CRT-450-valid-vce-dumps.html

You might also like