← All SAA Flashcard Decks

Development & Deployment Flashcards

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

Read the first 7 Development & Deployment flashcards as text
  1. An architect is evaluating packaging strategies. Which statement BEST describes the difference between unlocked packages and managed packages?

    Answer: Managed packages support upgrades and intellectual property protection; unlocked packages offer flexibility without IP protection

    Managed packages protect ISV intellectual property and support versioned upgrades, while unlocked packages give customers full control and visibility of the source.

  2. A company uses a scratch org strategy for feature development. What is a scratch org PRIMARILY designed for?

    Answer: Short-lived, source-driven development environments created from a project definition file

    Scratch orgs are disposable, short-lived environments (up to 30 days) created from a definition file to support source-driven Salesforce DX development.

  3. During deployment, a validation fails due to an Apex test class not covering a new trigger. Which action should the architect take FIRST?

    Answer: Write or update test methods to cover the trigger's logic

    The correct first step is to write or update Apex test methods that cover the new trigger logic to meet the 75% coverage requirement.

  4. An architect wants to prevent accidental changes to production during off-hours deployments. Which control is MOST effective?

    Answer: Use a deployment window enforced through the CI/CD pipeline with branch protection rules

    Branch protection rules and deployment window controls in the CI/CD pipeline enforce approved time windows and prevent unauthorized production deployments.

  5. A developer must invoke an external REST API from Salesforce when a record is saved, without blocking the user's transaction. What is the recommended pattern?

    Answer: A @future(callout=true) method called from an after-save trigger

    A @future(callout=true) method executes asynchronously after the transaction commits, allowing HTTP callouts without blocking the user's save operation.

  6. Which deployment method supports incremental deployment where only changed components are deployed, and is well-suited for large orgs with many components?

    Answer: SFDX source tracking with force:source:push/pull

    SFDX source tracking detects only changed components between the local project and the org, enabling efficient incremental deployments.

  7. An ISV wants to restrict certain Apex methods in their managed package so that only their own code can call them. What access modifier should they use?

    Answer: private

    The private access modifier restricts method access to within the same class, preventing external callers—including subscriber org code—from calling it.