Free Salesforce Certified Heroku Architect Exam Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Salesforce Certified Heroku Architect Exam practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1What does a Procfile declare for a Heroku application?
- A. The database schema and its migration history
- B. Named process types and their execution commands
- C. The access roles assigned to application collaborators
- D. The network routes allocated to application dynos
2A reporting workload can tolerate slightly stale data but is overloading a Heroku Postgres leader. Which design moves those reads away from the leader while retaining a continuously updated copy?
- A. Keep reports on the leader and move writes to a follower
- B. Refresh independent database forks on a fixed schedule
- C. Serve the reports from a read-only follower
- D. Increase only the leader's size and keep reporting there
Answer: C
Explanation: The guide states, "A database follower is a read-only copy of the leader database". Serving reports from that replica offloads reads while receiving replicated updates. Followers cannot take application writes; scheduled forks are not continuous replication, and a larger leader does not move reports away.
Reference: Heroku Postgres Follower Databases — Introduction; Distributing App Reads to Followers
3A healthcare project plans to process protected health information using appropriate Heroku services. Which agreement does Heroku identify as required for HIPAA compliance?
- A. A Data Processing Addendum alone
- B. A standard service contract without a HIPAA addendum
- C. A Business Associate Addendum
- D. A Service Level Agreement alone
Answer: C
Explanation: Heroku identifies a "Business Associate Addendum to the Master Subscription Agreement that is required for HIPAA compliance." General data-processing, service, or availability agreements alone do not substitute for that specific HIPAA addendum. It is one requirement, not a guarantee that the complete application is compliant.
Reference: Heroku Security, Privacy, and Compliance — Audits and Certifications — HIPAA
4An Enterprise Team wants production to run the exact stateless build artifact tested in staging, without rebuilding it. Which Heroku workflow meets this goal?
- A. Build the source again directly in production
- B. Copy only staging's config vars into production
- C. Recreate the staging database in production
- D. Promote staging's build artifact through a pipeline
Answer: D
Explanation: The pipeline guide states, "When a build artifact is promoted, Heroku copies it without making any changes." Promotion preserves the tested artifact. Rebuilding can produce another artifact; copying configuration or data does not deploy the tested build.
5A team keeps adding named bundles such as staging-east, staging-west, and developer-specific environments to control configuration. Which redesign follows Twelve-Factor configuration management?
- A. Put all deploy variants into one source-code switch statement
- B. Use independently managed, orthogonal environment variables per deploy
- C. Compile one configuration bundle permanently into each runtime
- D. Require every deploy to use the production configuration unchanged
Answer: B
Explanation: The Config factor states, "env vars are granular controls, each fully orthogonal to other env vars." Manage them independently for each deploy instead of multiplying named bundles or forcing distinct deploys to share values.
Reference: The Twelve-Factor App — III. Config — III. Config — grouping and granular controls
6A Heroku app needs local SQL access to selected Salesforce object data in Heroku Postgres, with ongoing synchronization and optional write-back. Which integration fits this data architecture?
- A. Canvas embedding of the Heroku user interface
- B. A direct HTTP callout for each application read
- C. A Platform Event subscription without a database mapping
- D. Heroku Connect object-to-table mappings
Answer: D
Explanation: The Connect guide describes an add-on that "synchronizes data between your Salesforce organization and a Heroku Postgres database." Mappings provide the local SQL data architecture. UI embedding, per-request callouts, and event subscriptions alone do not maintain the specified mapped tables.
7A Cedar app uses classic buildpacks. Which artifact contains its source, fetched dependencies, runtime, and compiled output ready for execution?
- A. A dyno formation
- B. A config var
- C. A slug
- D. A log drain
8A Heroku app must read back a just-committed update without accepting replication staleness. Where should it send that read in a leader-follower architecture?
- A. To the leader that accepted the update
- B. To any follower because commits are synchronous
- C. To the follower with the fewest current connections
- D. To a randomly selected follower of the leader
Answer: A
Explanation: The guide states, "Because followers are asynchronously updated, they can be behind their leader by some number of commits." A read that cannot tolerate replication staleness must use the leader. Connection count and random selection do not remove asynchronous lag.
Reference: Heroku Postgres Follower Databases — Monitoring Followers
9After choosing a Heroku service with suitable security certifications, what responsibility remains with the application owner?
- A. Secure the application and manage access to its resources
- B. Transfer all application authorization decisions to Heroku audits
- C. Replace application access controls with the platform's certificate
- D. Treat provider certification as certification of all application code
Answer: A
Explanation: Heroku describes data protection as a "shared responsibility". The customer remains responsible for application security and account/resource access; provider certifications do not implement application authorization or certify arbitrary customer code.
Reference: Heroku Security, Privacy, and Compliance — Shared responsibility model
10After a pipeline promotion, an Enterprise Team expects staging's database attachment and config vars to replace production's. Which correction should the architect make?
- A. Promotion copies databases but not config vars
- B. Manage production configuration and backing services separately
- C. Promotion copies config vars but not database attachments
- D. Reorder the pipeline stages to enable automatic resource copying
Topics in this practice bank
These topics describe the available practice for Salesforce Certified Heroku Architect Exam. Review the examination outline and its sources for scope and allocation details.
Heroku Platform
- Building and deploying apps
- Scalability during high-traffic spikes
- Elements Marketplace add-ons, buildpacks and Heroku Buttons
Data
- Heroku Postgres, follower databases and Dataclips
- Streaming communication with Apache Kafka on Heroku
- Heroku Key-Value Store (KVS)
- Third-party add-ons and add-on sharing
Security
- Architectures for security certifications
- Private Space Peering and VPN connections
- Private Space Runtime versus Common Runtime
Heroku Enterprise
- Heroku Enterprise architecture features
- Private Spaces and Common Runtime networking
- Heroku Shield compliance features
- Enterprise Teams
Architect Applications
- Twelve-Factor App methodology
- Microservices orchestration using Apache Kafka on Heroku
Integrations
- Heroku Connect and External IDs
- Integrating Heroku apps with the Salesforce Lightning Platform
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view Salesforce Certified Heroku Architect Exam details.