Free sample · Plat-Arch-206

Heroku Architect practice questions: 10 free, with answers

10 questions from the Heroku Architect Practice Exams package, all from the Heroku Platform domain. Choose your answer, then open it to see whether you were right and why each option is right or wrong. The real Plat-Arch-206 exam has 60 questions in 105 minutes.

Reviewed by Nick Gorgotsias, Founder of ForceDigestEvery question is written by ForceDigest from the published exam outline. Nothing is copied from the real exam.

  1. Question 1

    What does a Heroku release combine?

    1. The build, config vars and add-ons
    2. The dynos, router and log drains
    3. The Git branch, the Procfile and the stack
    4. The buildpack, region and team
    Show the answer

    Correct answer: A. The build, config vars and add-ons

    A release is the build artifact (slug or image) plus the app's config vars and add-ons, recorded as a numbered release.

  2. Question 2

    An app writes a user's uploaded photo to its dyno's disk. Why does the photo later disappear?

    1. The router removes large uploads
    2. Uploads need a Premium dyno tier
    3. Heroku deletes images every hour
    4. Dyno filesystems are ephemeral
    Show the answer

    Correct answer: D. Dyno filesystems are ephemeral

    Each dyno has its own ephemeral filesystem, lost on restart and invisible to other dynos; store files in object storage.

  3. Question 3

    How often are dynos restarted, even without deploys?

    1. Once every week
    2. Once every month
    3. At least once a day
    4. Never, unless deployed again
    Show the answer

    Correct answer: C. At least once a day

    The dyno manager cycles dynos at least once a day, and on every deploy or config change.

  4. Question 4

    A team wants a temporary app for every pull request. What fits?

    1. A Heroku Button per pull
    2. Review apps in a pipeline
    3. One-off dynos per branch
    4. Dataclips for each code change
    Show the answer

    Correct answer: B. Review apps in a pipeline

    Review apps create a disposable app for each GitHub pull request, defined by app.json in a pipeline.

  5. Question 5

    Requests that generate PDF tickets fail after exactly 30 seconds. What should the architect recommend?

    1. Raise the router timeout to 120 seconds
    2. Generate PDFs in worker dynos from a queue
    3. Move the web process to Eco dynos
    4. Turn on Session Affinity for the app
    Show the answer

    Correct answer: B. Generate PDFs in worker dynos from a queue

    The router timeout of 30 seconds (H12) can't be changed; slow work belongs in worker dynos fed by a queue.

  6. Question 6

    What metric drives Heroku's native autoscaling?

    1. The CPU load average
    2. The database size
    3. The number of users
    4. The p95 response time
    Show the answer

    Correct answer: D. The p95 response time

    Autoscaling adds or removes web dynos to keep the 95th-percentile response time near a target.

  7. Question 7

    The router returns H11 "Backlog too deep" during a spike. What should be tried first?

    1. Fewer web dynos for the app
    2. A larger Postgres database plan for it
    3. More concurrency in each web dyno
    4. A longer router timeout setting
    Show the answer

    Correct answer: C. More concurrency in each web dyno

    Heroku suggests more processes or threads per dyno first, then faster requests, then more dynos.

  8. Question 8

    Which deployment approach gives zero-downtime releases on the Common Runtime?

    1. Dyno preboot
    2. Release phase
    3. Rolling deploys
    4. Maintenance mode
    Show the answer

    Correct answer: A. Dyno preboot

    Preboot starts new web dynos before switching traffic on Standard and Performance dynos; Private Spaces use rolling deploys.

  9. Question 9

    Partners need to deploy a demo of the app with one click. What fits?

    1. A review app for each partner
    2. A Heroku Button with app.json
    3. A shared Git remote for partners
    4. A Dataclip of the demo database
    Show the answer

    Correct answer: B. A Heroku Button with app.json

    A Heroku Button deploys an app from a GitHub repository using its app.json file.

  10. Question 10

    A Ruby app also needs Node.js to build assets. How should the buildpacks be ordered?

    1. In any order at all
    2. Ruby first, then Node.js last
    3. Node.js first, Ruby last
    4. Only the Ruby buildpack
    Show the answer

    Correct answer: C. Node.js first, Ruby last

    With multiple buildpacks, put the primary language last, because the last one sets the default process types.

Want the rest?

The full package has 212 questions across every exam domain, timed exams at the real length, a study guide, flashcards and a readiness check. The Heroku Platform chapter and the readiness check are free to try.

Or Lifetime Access: $79 once for every certification on ForceDigest.