Salesforce Developer I Summer’18 Release Exam

Which Visualforce code can a developer use to provide Lightning look and feel to Visualforce pages?

A) in the element
B) lightningStylesheets = “true” in the element
C) lightningStylesheets = “true” in the element
D) apex:includeLightning = “True” int he element

Answer: C

How can a developer detect the current user’s Salesforce user interface type in JavaScript on a Visualforce page?

A) Use the UserInfo.getUITheme() function
B) Use the UITheme.getUITheme() function
C) Use the Organization.getSettings() function
D) Use the SessionManagement.getCurrentSession() function

Answer: B

Which class enables a developer to test platform events in Apex unit tests?

A) Use the @IsTest annotation
B) Use the HTTPCalloutMock class
C) Use the EventBus.TestBroker class
D) Use the @RemoteAction annotation

Answer: C

Which Apex method eliminates the need for a SOQL query to determine the developer name for a record type?

A) System.RecordTypeId.getDeveloperName()
B) Schema.RecordTypeInfo.getRecordTypeId()
C) System.String.getDeveloperName()
D) Schema.RecordTypeInfo.getDeveloperName()

Answer: D

How can a developer troubleshoot governor limit problems in transactions that include multiple flows?

A) Use breakpoints in Developer Console
B) Add system.debug() statements to the flow
C) Set the workflow debug level to Finer in the debug log
D) Add flow screen to display limits during the flow

Answer: C

What can a developer reference to ensure that a consistent value is used in the criteria for multiple validation rules?

A) A list custom setting in the validation rules
B) A global value set in the validation rules
C) A custom permission in the validation rules
D) A custom metadata type in the validation rules

Answer: D

Which statement is true about the new Lightning URL format?

A) URLs that use /one/ in email templates must be update
B) Components with existing URLs that use /one/ will continue to work
C) The change applies to all Salesforce apps, console apps, mobile versions and communities
D) Installed Lightning components will automatically translate the old URL to new format

Answer: B

How can a developer redirect a user to a Lightning page from a Visualforce page?

A) Generate a URL using UserInfo.getUITheme()
B) Generate a URL using PageRference.getURL()
C) Generate a URL in the format /lightning/r/sObject/sObjectID
D) Generate a URL in the format /one/

Answer: C


Salesforce Certified Developer – Spring 17

When an old post with a file is shared in Lightning Experience, what happens to the file in the newly shared post?

  1. The file is not shared in the new post.
  2. The file is attached to the new post
  3. A link to the file is shared
  4. A link to the old post is shared

Who can edit a user’s favorites in Lightning Experience?

  1. Any user in the same profile
  2. The user’s manager
  3. The system administrator
  4. The user

How many duplicate account records can be merged in Lightning Experience at once?

  1. Up to 10
  2. Up to 3
  3. Up to 6
  4. Up to 5

Which three actions does the Global Action Menu Support? Choose 3 answers

  1. Create records
  2. Create posts
  3. Delete records
  4. Launch Visualforce
  5. Take notes

Which three predefined values can be set with send email action? Choose 3 answers

  1. Cc
  2. Bcc
  3. Reply
  4. Forward
  5. To