← All PD1 Flashcard Decks

Visualforce Pages Flashcards

7 cards from real PD1 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Visualforce Pages flashcards as text
  1. Which Visualforce component is used to display a list of records in a table format with built-in sorting and pagination?

    Answer:

    renders a table inside a pageBlock with automatic Salesforce styling, sorting, and pagination support.

  2. What is the purpose of the 'rendered' attribute in Visualforce components?

    Answer: It conditionally includes or excludes the component from the HTML output

    The 'rendered' attribute accepts a Boolean expression; when false, the component is not emitted in the HTML response at all.

  3. Which attribute on disables the standard Salesforce page header?

    Answer: showHeader='false'

    Setting showHeader='false' on removes the standard Salesforce header from the rendered page.

  4. In Visualforce, how do you reference a static resource named 'myJS' in a tag?

    Answer: {!URLFOR($Resource.myJS)}

    URLFOR($Resource.myJS) generates the correct versioned URL for the static resource named myJS.

  5. What happens when you set 'readOnly="true"' on an ?

    Answer: The page can query up to 1 million rows but cannot perform DML

    readOnly='true' increases the SOQL row limit to 1 million but prevents any DML operations on the page.

  6. Which tag is used to define a reusable section of markup that can be included in multiple Visualforce pages?

    Answer:

    defines a custom reusable component that can be referenced by multiple Visualforce pages.

  7. What is the correct way to call a method on a Visualforce controller using an action link?

    Answer:

    with the action attribute set to a controller method expression fires the method on click and performs a full or partial page refresh.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. help.salesforce.com — Test delivery, eligibility, fees, exam format, passing score, retake fee, time limit · verified Oct 2026