Docsity

Salesforce Platform Developer II Exam Guide 2026.pdf, Exams of Nursing

Toggle sidebar
bg1
Salesforce Platform Developer II Exam
Guide 2026
Choose the correct definition for <apex:pageMessage>
A: Standard Salesforce formatting, throws a specific message on a page
B: Standard Salesforce formatting, shows *all* errors that occur on page. Can add
more messages through the "ApexPages.addMessage" function
C: A single message, without formatting, that can be associated with a specific
component on the page
D: No formatting; displays all errors on a page - correct answer
✅
A: Standard
Salesforce formatting, throws a specific message on a page
<apex:pageMessages>
A: Standard Salesforce formatting, throws a specific message on a page
B: Standard Salesforce formatting, shows *all* errors that occur on page. Can add
more messages through the "ApexPages.addMessage" function
C: A single message, without formatting, that can be associated with a specific
component on the page
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26

Partial preview of the text

Download Salesforce Platform Developer II Exam Guide 2026.pdf and more Exams Nursing in PDF only on Docsity!

Guide 2026

Choose the correct definition for A: Standard Salesforce formatting, throws a specific message on a page B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function C: A single message, without formatting, that can be associated with a specific component on the page D: No formatting; displays all errors on a page - correct answer ✅A: Standard Salesforce formatting, throws a specific message on a page

A: Standard Salesforce formatting, throws a specific message on a page B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function C: A single message, without formatting, that can be associated with a specific component on the page

Guide 2026

D: No formatting; displays all errors on a page - correct answer ✅B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function Choose the correct definition for A: Standard Salesforce formatting, throws a specific message on a page B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function C: A single message, without formatting, that can be associated with a specific component on the page D: No formatting; displays all errors on a page - correct answer ✅C: A single message, without formatting, that can be associated with a specific component on the page Choose the correct definition for A: Standard Salesforce formatting, throws a specific message on a page B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function

Guide 2026

Choose the correct definition for A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in tags. Unlike actionSupport, these functions can be called directly from Javascript code B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.) D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them E: Signifies which components should be processed by the server when an AJAX request is generated - correct answer ✅B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets Choose the correct definition for

Guide 2026

A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in tags. Unlike actionSupport, these functions can be called directly from Javascript code B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.) D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them E: Signifies which components should be processed by the server when an AJAX request is generated - correct answer ✅C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.) Choose the correct definition for A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in tags. Unlike actionSupport, these functions can be called directly from Javascript code B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets

Guide 2026

D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them E: Signifies which components should be processed by the server when an AJAX request is generated - correct answer ✅E: Signifies which components should be processed by the server when an AJAX request is generated What is tag used for? - correct answer ✅Predefined areas of content that certain components have (i.e. For dataTables, the header and footer are examples of facets) BONUS: This allows for more easily formatted content What is tag used for? - correct answer ✅Used in templating BONUS: Define a VF page for template, add to define sections (in order), and on a new page, declare and use to add in content to the template's sections what is used for? - correct answer ✅General purpose tag; use to get input on a controller field that does not correspond to a field on an SObject

Guide 2026

BONUS: All similar tags except inputField function identically What is the correct order of execution for Visualforce Page "get" requests (initial page visit) A: 1) Evaluate constructors on controller and extensions

  1. If there's a element, create the view state
  2. Evaluate expressions, attribute actions, and other method calls (getters/setters) on main page
  3. Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
  4. Send HTML to Browser B: 1) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
  5. Evaluate constructors on controller and extensions
  6. Evaluate expressions, attribute actions, and other method calls (getters/setters) on main page
  7. If there's a element, create the view state
  8. Send HTML to Browser C: 1) Evaluate constructors on controller and extensions
  9. Evaluate constructors, extensions, and e - correct answer ✅C: 1) Evaluate constructors on controller and extensions

Guide 2026

  1. Evaluate expressions and method calls for the main page and custom components
  2. Upon successful completion, Update data and redirect user/update view state
  3. Upon successful completion, - correct answer ✅A: 1) Decode View State
  4. Evaluate expressions and method calls for the main page and custom components
  5. Upon successful completion, Evaluate the action that triggered the postback
  6. Upon successful completion, Update data and redirect user/update view state
  7. HTML sent to browser The "action" attribute on is ONLY evaluated on which type of request? A: Get request B: Postback request - correct answer ✅A: Get request If the "PageReference.setRedirect" Apex function is set to True, what type of request is made? A: Get request B: Postback request

Guide 2026

C: If PageReference points to the same controller and subset of extensions, postback request, otherwise get request - correct answer ✅A: Get request If the "PageReference.setRedirect" Apex function is set to False, what type of request is made? A: Get request B: Postback request C: If PageReference points to the same controller and subset of extensions, postback request, otherwise get request - correct answer ✅C: If PageReference points to the same controller and subset of extensions, postback request, otherwise get request When should you use the "transient" property on variables? A: Variables that you want transmitted as part of the view state. Static variables also don't get transmitted B: Variables that you don't want transmitted as part of the view state. Static variables also don't get transmitted C: Static variables that you want transmitted as part of the view state to save space

Guide 2026

D: Custom Controller - correct answer ✅B: Standard List/Set Controller BONUS: Use "recordSetVar" attribute to define variable name for the list/set By using the "{!next}" and "!{previous}" functions, and a list holding component (e.g. dataList), you can paginate through records Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages? A: Standard Controller B: Standard List/Set Controller C: Controller Extensions D: Custom Controller - correct answer ✅C: Controller Extensions BONUS: Constructor takes in either a ApexPages.StandardController or "CustomControllerName" parameter

Guide 2026

What would you include to render the page as a pdf? - correct answer ✅Add the renderAs="pdf" attribute to the main page component Within the System.Limit class, what would you call to get the number of calls made in your transaction? A: get[typeOfLimit] --> (Ex. getDMLStatements()) B: getLimit[typeOfLimit] --> (Ex. getLimitDMLStatements()) - correct answer ✅A: get[typeOfLimit] --> (Ex. getDMLStatements()) Within the System.Limit class, what would you call to get the total limit you can call in a single transaction? A: get[typeOfLimit] --> (Ex. getDMLStatements()) B: getLimit[typeOfLimit] --> (Ex. getLimitDMLStatements()) - correct answer ✅B: getLimit[typeOfLimit] --> (Ex. getLimitDMLStatements()) What is the transaction limit for SOQL queries? A: 20 (synchronous), 200 (async) B: 150 (synchronous), 20 (async)

Guide 2026

B: 50,000,

C: 100,

D: 5,000,

E: There is no limit - correct answer ✅B: 50,000, "Scope" parameter in "executeBatch" can be set up to 2,000 records What is the transaction limit for the number of SOSL queries? A: 20 B: 2, C: 100 (synchronous), 200 (async) D: 200 (synchronous), 100 (async) E: There is no limit - correct answer ✅A: 20 What is the transaction limit for the number of records for SOSL?

Guide 2026

A: 20

B: 2,

C: 100 (synchronous), 200 (async) D: 200 (synchronous), 100 (async) E: There is no limit - correct answer ✅B: 2, What is the transaction limit for the number of DML statements allowed? A: 20 B: 2, C: 100 (synchronous), 200 (async) D: 200 (synchronous), 100 (async) E: 150 - correct answer ✅E: 150

  • Guide
  • A: 5, What is the transaction limit for the number of records per DML statement?
  • B: 20,
  • C: 50,
  • D: 10,
  • E: There is no limit - correct answer ✅D: 10,
  • A: What is the transaction limit on the number of callouts?
  • B:
  • C:
  • D:
  • Guide
  • E: There is no limit - correct answer ✅A:
  • A: What is the transaction limit on the number of @future invocations?
  • B:
  • C:
  • D:
  • E: There is no limit - correct answer ✅C:
  • A: What is the transaction limit on the number of Apex jobs added to the queue?
  • B:
  • C:

Guide 2026

D: 200

E: There is no limit - correct answer ✅C: 50 What is the transaction limit on the number of "sendEmail" method calls? A: 20 B: 10 C: 50 D: 100 E: There is no limit - correct answer ✅B: 10 BONUS: The reserveEmailCapacity methods let you declare how many emails you want to send prior to actually sending, allowing you to handle limit errors prematurely What is the transaction limit on the max Salesforce CPU time? A: 100 seconds