All Practice Exams

100+ Free Heroku Developer AP Practice Questions

Pass your Salesforce Heroku Developer Accredited Professional (AP-225) exam on the first try — instant access, no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
Not publicly published Pass Rate
100+ Questions
100% Free
1 / 100
Question 1
Score: 0/0

In Heroku terminology, what is a dyno?

A
B
C
D
to track
2026 Statistics

Key Facts: Heroku Developer AP Exam

60

Scored Questions

Salesforce AP-225 exam guide

90 min

Time Limit

Salesforce AP-225 exam guide

68%

Passing Score

Salesforce AP-225 exam guide

$150

Registration Fee

Salesforce / Kryterion

3 years

Credential Validity

Salesforce AP credential policy

10

Exam Modules

AP-225 study guide

AP-225 is a 60-question, 90-minute Accredited Professional exam delivered by Kryterion for $150 with a 68% passing score. It targets developers with about one year of hands-on Heroku experience who design, configure, build, and operate Heroku apps. The credential is valid for 3 years from pass date and is restricted to candidates with access to Salesforce Partner Learning Camp (PLC). Topics span the 12-Factor methodology, dynos and slugs, Pipelines and CI, Postgres and Redis, Kafka, SSL/ACM, and Heroku Connect.

Sample Heroku Developer AP Practice Questions

Try these sample questions to test your Heroku Developer AP exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1In Heroku terminology, what is a dyno?
A.A persistent virtual machine that retains state across restarts
B.A lightweight, isolated Linux container that runs a single command from your Procfile
C.A managed Postgres database instance
D.A buildpack execution environment that compiles source code
Explanation: A dyno is a lightweight, isolated Linux container that executes a single command (typically defined as a process type in your Procfile). Dynos are ephemeral - they have a read-only-then-discarded filesystem and are cycled at least every 24 hours, which is why apps must be stateless to follow 12-Factor design.
2Which Procfile entry declares the primary HTTP-handling process for a Heroku app?
A.http: node server.js
B.web: node server.js
C.server: node server.js
D.main: node server.js
Explanation: The 'web' process type is special on Heroku - it is the only process type that receives HTTP traffic from the Heroku router. Any other process type (worker, clock, release) does not get routed HTTP requests and must instead poll, consume from a queue, or run on a schedule.
3A developer needs to run background jobs from a queue and also serve HTTP traffic. Which Procfile is correct?
A.web: gunicorn app:app worker: celery -A app worker
B.web: gunicorn app:app background: celery -A app worker
C.worker: gunicorn app:app web: celery -A app worker
D.http: gunicorn app:app queue: celery -A app worker
Explanation: Heroku supports any process type name except 'web' is reserved for HTTP traffic. By convention, background workers use the name 'worker'. You scale them independently with heroku ps:scale web=2 worker=1.
4Which dyno tier is required to run apps inside a Heroku Private Space?
A.Standard-2X
B.Performance-L
C.Private-S, Private-M, or Private-L
D.Eco
Explanation: Private Spaces require Private dynos (Private-S, Private-M, Private-L). These dynos run inside the dedicated VPC of the Private Space rather than in the multi-tenant Common Runtime. Shield Private Spaces use Shield-S/M/L dynos with additional compliance controls.
5Which dyno tier supports horizontal autoscaling on the Common Runtime?
A.Eco
B.Basic
C.Standard-1X
D.Performance-M and Performance-L
Explanation: Heroku's native horizontal autoscaling is available only on Performance-M and Performance-L dynos in the Common Runtime, and on Private/Shield dynos in Private/Shield Spaces. Eco, Basic, and Standard tiers must be scaled manually with heroku ps:scale or via third-party autoscaling add-ons.
6How long is the maximum lifetime of a Heroku dyno before it is automatically cycled?
A.1 hour
B.6 hours
C.Approximately 24 hours
D.7 days
Explanation: Heroku cycles dynos at least once every 24 hours (with some random jitter to avoid simultaneous restarts). This forces apps to be stateless and disposable - any in-memory or local-disk state is lost. This behavior aligns with 12-Factor's 'disposability' principle.
7A one-off dyno is best used for which task?
A.Serving production HTTP traffic
B.Running background workers continuously
C.Running a database migration or interactive shell session
D.Hosting a long-running websocket server
Explanation: One-off dynos are temporary dynos created with 'heroku run <command>' for tasks like database migrations, rake tasks, Rails/Django consoles, or ad hoc scripts. They run with the same slug, config, and add-ons but exit when the command finishes.
8Which statement about the dyno filesystem is correct?
A.Files written by a dyno persist across restarts
B.Files written by a dyno are visible to other dynos in the formation
C.The dyno filesystem is ephemeral - any local writes are lost when the dyno restarts
D.The dyno filesystem is shared NFS across all dynos in an app
Explanation: Each dyno has its own ephemeral filesystem. Files written are not visible to other dynos and are discarded when the dyno restarts or cycles. This is why persistent state must live in backing services (Postgres, Redis, S3) per 12-Factor design.
9What is a release dyno used for?
A.Serving HTTP traffic during deploys
B.Running a one-time command (e.g. db migration) before new code goes live
C.Replacing failed worker dynos
D.Storing the slug archive
Explanation: A release process type (declared in the Procfile as 'release: ...') runs once after each successful build, before new code goes live. It is typically used for db migrations or asset compilation. If the release command fails, the new release is not promoted and the previous release remains active.
10Which command lists all running dynos for an app?
A.heroku list
B.heroku ps
C.heroku dynos
D.heroku formation
Explanation: 'heroku ps' lists running dynos, their state (up/idle/crashed/starting), uptime, and command. It is the primary diagnostic command for dyno health, similar to the Unix 'ps' utility.

About the Heroku Developer AP Exam

The Salesforce Heroku Developer Accredited Professional (AP-225) exam validates a developer's ability to design, configure, build, and implement solutions on the Heroku platform. The blueprint covers 10 modules: 12-Factor app methodology; Heroku dynos and process types; buildpacks and slug compilation; operations and scaling; the Heroku Elements Marketplace and add-ons; Pipelines, Review Apps, and Heroku CI; Heroku Postgres, Redis, and Data Clips; Apache Kafka on Heroku; SSL, certs, and Automated Certificate Management (ACM); and Heroku Connect, APIs, and webhooks for Salesforce integration.

Assessment

60 multiple-choice / multiple-select questions

Time Limit

90 minutes

Passing Score

68%

Exam Fee

$150 (Salesforce / Kryterion (online proctored or test center))

Heroku Developer AP Exam Content Outline

~12%

Heroku Platform: Apps and Runtime

Heroku dynos and process types (web, worker, one-off, release), the Procfile, Common Runtime vs Private Spaces vs Shield Private Spaces, dyno tiers (Eco, Basic, Standard-1X/2X, Performance-M/L, Private-S/M/L, Shield-S/M/L), formation and ps:scale, dyno hour metering, regions, app lifecycle, restart and cycling, and runtime metadata.

~12%

Heroku Platform: Building and Deployment

Buildpacks (official, third-party, custom), buildpack ordering with multiple buildpacks, slug compilation and 500 MB slug size limit, the build-release-run model, releases and rollback, app.json manifests, BUILDPACK_URL config, .slugignore, and Container Registry and Docker deploys.

~10%

Heroku Platform: Operations

Heroku CLI (heroku ps, scale, logs, run, config, restart, releases), formation management, dyno autoscaling on Performance dynos, preboot for zero-downtime deploys, log-runtime-metrics, language metrics, error codes (H10 app crashed, H12 30s request timeout, H13 connection closed without response, R14 memory quota exceeded), and Heroku Scheduler.

~8%

Heroku Platform: Elements Marketplace

Heroku Elements Marketplace, Add-ons (provisioning via heroku addons:create, attaching/detaching, billing model and proration), buttons, buildpack catalog, add-on plans and tiers, partner add-ons vs Heroku-managed services, and add-on lifecycle and migration.

~12%

Continuous Delivery: Pipelines, Review Apps, CI

Heroku Pipelines (development, staging, production stages), promote vs rebuild, Review Apps and pull request integration, Heroku Flow with GitHub, automatic deploys, app.json review-apps configuration, Heroku CI test runs, parallel test runs, and CI add-on attachment.

~12%

Data: Heroku Postgres, Redis, Data Clips

Heroku Postgres plans (Mini, Basic, Standard, Premium, Private, Shield), follower databases (read replicas), forks, dataclips for shareable read-only queries, PGBackups (manual and scheduled), connection pooling and pgbouncer buildpack, DATABASE_URL, Heroku Redis use cases (cache, session store, queues), and maxmemory policies.

~8%

Data: Apache Kafka on Heroku

Apache Kafka on Heroku architecture, topics, partitions, consumer groups, Kafka Streams, exactly-once semantics, producer and consumer configuration, KAFKA_URL and KAFKA_TRUSTED_CERT, partition keys for ordering, retention, and Kafka in Private Spaces.

~8%

Security: SSL, Certs, ACM, Compliance

Automated Certificate Management (ACM) with Let's Encrypt, SNI Endpoints, custom domains, zero-downtime cert rotation, trusted IP ranges in Private Spaces, VPC peering, mTLS via internal routing, Heroku Shield (HIPAA, PCI), Shield Private Spaces, secrets via config vars, and SSO/2FA.

~10%

Integrations: Heroku Connect, API, Webhooks

Heroku Connect bidirectional Salesforce <-> Postgres sync, mappings (read-only, read-write, write-only), accelerated bulk sync, conflict handling and Salesforce API limit awareness, Heroku Platform API, app webhooks for build and release events, OAuth, and Heroku as a compute extension to Salesforce.

~8%

Architecting Apps: 12-Factor Methodology

The Twelve-Factor App methodology (codebase, dependencies, config, backing services, build/release/run, processes, port binding, concurrency, disposability, dev/prod parity, logs, admin processes), stateless processes, ephemeral filesystem, and config separation from code.

How to Pass the Heroku Developer AP Exam

What You Need to Know

  • Passing score: 68%
  • Assessment: 60 multiple-choice / multiple-select questions
  • Time limit: 90 minutes
  • Exam fee: $150

Keys to Passing

  • Complete 500+ practice questions
  • Score 80%+ consistently before scheduling
  • Focus on highest-weighted sections
  • Use our AI tutor for tough concepts

Heroku Developer AP Study Tips from Top Performers

1Memorize Heroku error codes - H10 (app crashed), H12 (30-second request timeout), H13 (connection closed without response), H14 (no web dynos running), R14 (memory quota exceeded), R15 (memory quota vastly exceeded) - these appear repeatedly.
2Drill the build-release-run lifecycle: a buildpack compiles source into a slug, a release combines the slug with config vars and add-ons, and run executes a process from the Procfile.
3Know the 12-Factor methodology cold - be able to name all 12 factors and explain how Heroku enforces each (especially config in environment, stateless processes, port binding, dev/prod parity, logs as event streams).
4Practice Heroku CLI commands daily: heroku ps:scale web=2 worker=1, heroku logs --tail --source app, heroku run rails console, heroku config:set, heroku releases, heroku rollback, heroku pipelines:promote.
5Understand Pipelines decisions: promote ships the existing slug between stages without rebuilding (config vars and add-ons differ per stage); rebuild compiles fresh; Review Apps spin up an isolated app per pull request.
6Master Heroku Postgres operations: forks for safe schema changes, followers for read replicas and DR, dataclips for shareable read-only SQL, and pgbouncer buildpack for connection pooling on long-tail Postgres plans.
7Memorize dyno tiers: Eco/Basic for hobby; Standard-1X/2X for production web/worker; Performance-M/L for autoscaling and dedicated CPU; Private-S/M/L for Private Spaces; Shield-S/M/L for HIPAA/PCI workloads.
8Know Heroku Connect direction options: read-only (Salesforce -> Postgres), read-write (bidirectional), and write-only (Postgres -> Salesforce); accelerated bulk sync uses the Bulk API.
9Understand ACM (Automated Certificate Management): Heroku provisions and rotates Let's Encrypt certs automatically for paid dynos with SNI Endpoints; manual SSL endpoints are legacy.

Frequently Asked Questions

How many questions are on the Heroku Developer AP exam?

The Heroku Developer Accredited Professional exam (AP-225) is 60 multiple-choice and multiple-select questions delivered in 90 minutes. The passing score is 68%, equivalent to 41 of 60 correct answers. Some deliveries may include unscored pretest items consistent with Salesforce Accredited Professional practice.

How long is the Heroku Developer AP credential valid?

The Salesforce Heroku Developer Accredited Professional credential is valid for 3 years from your pass date. To keep the credential active you must complete maintenance modules in Partner Learning Camp before expiration or retake the latest version of the exam. Failure to maintain causes the credential to lapse.

How much does the Heroku Developer AP exam cost?

The registration fee is $150 USD plus applicable taxes, and the retake fee is also $150. The exam is restricted to Salesforce Partners with access to Partner Learning Camp (PLC). Customers and independent developers without partner access cannot register.

Who should take the Heroku Developer AP exam?

It targets developers with about one year of hands-on Heroku experience who design, configure, build, and implement solutions on the platform. Candidates should be comfortable with the Heroku CLI, buildpacks and slugs, Pipelines and Review Apps, Heroku Postgres, and integrating Heroku with Salesforce via Heroku Connect or APIs.

What topics carry the most weight on AP-225?

The 10 modules cover Heroku Platform (apps/runtime, build/deploy, operations, Elements), Continuous Delivery, Data (Postgres/Redis/Data Clips, Kafka), Security (SSL/ACM), Integrations (Heroku Connect, API, webhooks), and 12-Factor methodology. Salesforce does not publish exact percentage weightings, but expect roughly even coverage of platform, data, delivery, and integration.

Where is the exam delivered?

The exam is delivered by Kryterion Webassessor either onsite at a testing center with proctoring or online with secure remote proctoring. You schedule via Webassessor after gaining access to the Salesforce Partner Community and Partner Learning Camp.

How should I prepare for the Heroku Developer AP?

Plan 40-80 hours. Work through the Heroku Developer Learning Journey on Partner Learning Camp, read the Heroku Dev Center docs (dynos, buildpacks, Pipelines, Postgres, Redis, Kafka, Heroku Connect, ACM), build and deploy at least one multi-environment Heroku app with Pipelines and a Postgres add-on, and complete 100+ practice questions targeting 80%+ before sitting.