Free Platform-Developer-II Exam Braindumps

Pass your Platform Developer II exam with these free Questions and Answers

Page 16 of 35
QUESTION 71

- (Exam Topic 1)
The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3. What is the outcome after executing the following code snippet in the org?
Platform-Developer-II dumps exhibit

  1. A. Both inserts succeed and the contact record that has the Zone value of 'PI'IT is set to NULL
  2. B. A partial insert succeeds and the contact record that has the Zone value 'IAD1 is inserted
  3. C. Both inserts succeed and the contact record that has the Zone value of PITT is truncated
  4. D. An unhandled DML exception is thrown and no contact records are inserted

Correct Answer: D

QUESTION 72

- (Exam Topic 1)
An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object.
What should a developer use to create a stand-alone Vlsualforce page that displays the Registration c records related to an Opportunity.

  1. A. A standard controller with a controller extension
  2. B. A controler extension
  3. C. A custom controler
  4. D. A standard controller

Correct Answer: D

QUESTION 73

- (Exam Topic 1)
What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?

  1. A. Force.com Migration Tool
  2. B. Developer Console
  3. C. Workbench
  4. D. Streaming API

Correct Answer: C

QUESTION 74

- (Exam Topic 3)
A developer wrote a class named AccountHistoryManager that relies on field history tracking. The class has a static method called getAccountHistory that takes in an Account as a parameter and returns a list of associated AccountHistroy object records.
The following test falls:
Platform-Developer-II dumps exhibit
What should be done to make this test pass?

  1. A. Use tes
  2. B. Is Running test () in getAccountHostory () to conditionally return fake AccountHistory records.
  3. C. Use @istest (SeeAll Data=true) to see historical data from the org and query for AccountHistory records.
  4. D. Create AccountHistory records manually in the test setup and write a query to get them.
  5. E. The test method should be deleted since this code cannot be tested.

Correct Answer: A

QUESTION 75

- (Exam Topic 1)
What is the transaction limit on the max Salesforce CPU time?

  1. A. 100 seconds
  2. B. 60 seconds
  3. C. 100 seconds (synchronous); 200 seconds (async)
  4. D. 10 seconds (synchronous); 60 seconds (async)
  5. E. There is no limit

Correct Answer: D

Page 16 of 35

Post your Comments and Discuss Salesforce Platform-Developer-II exam with other Community members: