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.
Question 1
What does a Heroku release combine?
- The build, config vars and add-ons
- The dynos, router and log drains
- The Git branch, the Procfile and the stack
- 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.
Question 2
An app writes a user's uploaded photo to its dyno's disk. Why does the photo later disappear?
- The router removes large uploads
- Uploads need a Premium dyno tier
- Heroku deletes images every hour
- 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.
Question 3
How often are dynos restarted, even without deploys?
- Once every week
- Once every month
- At least once a day
- 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.
Question 4
A team wants a temporary app for every pull request. What fits?
- A Heroku Button per pull
- Review apps in a pipeline
- One-off dynos per branch
- 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.
Question 5
Requests that generate PDF tickets fail after exactly 30 seconds. What should the architect recommend?
- Raise the router timeout to 120 seconds
- Generate PDFs in worker dynos from a queue
- Move the web process to Eco dynos
- 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.
Question 6
What metric drives Heroku's native autoscaling?
- The CPU load average
- The database size
- The number of users
- 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.
Question 7
The router returns H11 "Backlog too deep" during a spike. What should be tried first?
- Fewer web dynos for the app
- A larger Postgres database plan for it
- More concurrency in each web dyno
- 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.
Question 8
Which deployment approach gives zero-downtime releases on the Common Runtime?
- Dyno preboot
- Release phase
- Rolling deploys
- 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.
Question 9
Partners need to deploy a demo of the app with one click. What fits?
- A review app for each partner
- A Heroku Button with app.json
- A shared Git remote for partners
- 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.
Question 10
A Ruby app also needs Node.js to build assets. How should the buildpacks be ordered?
- In any order at all
- Ruby first, then Node.js last
- Node.js first, Ruby last
- 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.