Salesforce Certified Heroku Architect Free Sample Questions

12 free sample questions110 in the full practice test

Try simulator

Plat-Arch-206 Sample Questions

  1. Question 1

    A retail company is launching a flash sale event expecting a 50x increase in traffic for a 4-hour window. The application currently runs on Standard-2x dynos in the Common Runtime. The architecture team needs to ensure the application remains responsive during the surge while minimizing costs after the event. Which scaling strategy provides the most reliability for this specific scenario?

    Answer and explanation

    Correct answer: A

    For high-traffic events, upgrading to Performance dynos is recommended because they run on dedicated hardware with consistent performance. The Heroku Autoscaler is specifically available for Performance-tier dynos and can automatically scale the dyno count up during the spike and down afterwards based on response latency, balancing reliability and cost.

  2. Question 2

    A developer is troubleshooting an application deployment that fails during the slug compilation phase. The build logs indicate that the slug size has exceeded the platform limit. Which of the following actions is the most effective long-term solution to resolve this issue adhering to Heroku best practices?

    Answer and explanation

    Correct answer: A

    The .slugignore file functions similarly to .gitignore but specifically for the slug compiler. By excluding large files (like design assets, raw data, or test binaries) that aren't needed for the application to run, you directly reduce the slug size. This is the architectural best practice for managing slug size limits.

  3. Question 3

    True or False: In the Heroku Common Runtime, dynos are cycled (restarted) automatically approximately every 24 hours, regardless of the application's activity or plan level.

    Answer and explanation

    Correct answer: A

    Heroku automatically cycles dynos approximately every 24 hours (plus or minus a random window) to maintain the health of the underlying fleet. This happens across all plan levels in the Common Runtime. Architects must design applications to be stateless and handle these graceful restarts without user disruption.

  4. Question 4

    Multiple answers

    An architect is designing a solution for a client requiring a microservices architecture where services need to communicate privately without traversing the public internet. The client also requires strict stable outbound IP addresses for whitelist-based access to a legacy on-premise firewall. Which TWO Heroku features are essential to meet these requirements? (Select TWO)

    Answer and explanation

    Correct answers: A, B

    Heroku Private Spaces provide the isolated network environment required for private communication between apps (via DNS Service Discovery) and offer stable outbound IP addresses by default, which is a core requirement.

    DNS Service Discovery is the mechanism within a Private Space that allows apps to locate and communicate with each other using internal naming conventions (e.g., app-name.space-name.local) without exposing endpoints to the public internet.

  5. Question 5

    A financial services company is migrating a legacy system to Heroku. The system consists of a primary transaction processing app and a reporting dashboard. The transaction app writes heavily to the database. The reporting dashboard runs complex read-heavy queries that often lock tables, causing performance degradation on the transaction app. The architect needs to decouple the read load from the write load while ensuring the reporting data is reasonably current.

    Which solution best addresses this performance isolation requirement?

    Answer and explanation

    Correct answer: A

    Heroku Postgres Follower databases are read-only replicas that asynchronously replicate data from the primary (leader) database. By pointing the reporting dashboard to a Follower, the heavy read queries are executed against the replica, completely isolating the primary database's resources for the transaction app's write operations. This prevents table locking on the primary.

  6. Question 6

    A developer receives an R14 - Memory Quota Exceeded error in the logs for a background worker dyno processing image uploads. The error occurs sporadically when processing particularly large images. What is the most appropriate first step to resolve this issue?

    Answer and explanation

    Correct answer: A

    R14 errors indicate the process is consuming more memory than the dyno provides, causing paging to disk and performance degradation. Since the issue is related to processing large single items (images), adding more dynos (horizontal scaling) won't help. The correct approach is vertical scaling to a dyno type with more memory capacity.

Register free to unlock 6 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 110 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon