Free CRT-450 Exam Braindumps

Pass your Salesforce Certified Platform Developer I (SU18) exam with these free Questions and Answers

Page 3 of 34
QUESTION 6

The initial value for a number field on a record is 1. A user updated the value of the number field to 10. This action invokes a workflow field update, which changes the value of the number field to 11. After the workflow field update, an update trigger fires.What is the value of the number field of the object that is obtained from Trigger.old?

  1. A. Null
  2. B. 11
  3. C. 1
  4. D. 10

Correct Answer: C

QUESTION 7

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on
the initial URLWhich statement is unnecessary inside the unit test for the custom controller?

  1. A. Public ExtendedController (ApexPages.StandardController cntrl) { }
  2. B. ApexPages.currentPage().getParameters().put('input', 'TestValue')
  3. C. Test.setCurrentPage(pageRef),
  4. D. String nextPage = controller.save().getUrl();

Correct Answer: AD

QUESTION 8

A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)

  1. A. Make an outbound web services call to the SOAP API.
  2. B. Hardcode the ID as a constant in an Apex class.
  3. C. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
  4. D. Execute a SOQL query on the RecordType objec

Correct Answer: CD

QUESTION 9

Which declarative method helps ensure quality data? (Choose 3)

  1. A. Validation Rules
  2. B. Workflow alerts
  3. C. Exception Handling
  4. D. Lookup Filters
  5. E. Page Layouts

Correct Answer: ADE

QUESTION 10

How can a developer set up a debug log on a specific user?

  1. A. It is not possible to setup debug logs for users other than yourself.
  2. B. Ask the user for access to their account credentials, log in as the user and debug the issue.
  3. C. Create Apex code that logs code actions into a custom object.
  4. D. Set up a trace flag for the user, and define a logging level and time period for the trac

Correct Answer: D

Page 3 of 34

Post your Comments and Discuss Salesforce CRT-450 exam with other Community members: