Exam Information
Free practice questions with explanations
Salesforce Heroku-Architect Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Architect Applications
A logistics company runs a Heroku web app that writes uploaded shipment photos to the local dyno filesystem and serves them back to users from the same dyno. After scaling to four web dynos, users report missing images intermittently. The architect must make the app comply with the twelve-factor app methodology while keeping the change minimal and avoiding any new dependency on a specific dyno. Which change is the BEST recommendation?
Correct Answer: BExplanationHeroku dynos have an ephemeral filesystem that is discarded on restart and not shared between dynos, which violates the twelve-factor principle of processes being stateless and disposable. Moving binary assets to an external backing service such as Amazon S3 and referencing them by URL fixes the root cause. Sticky sessions only mask the problem and fail on restarts or deploys. Shared directories via rsync are not a Heroku-supported persistence model and add fragile coupling. Adding more dynos only makes the missing-image rate change unpredictably rather than eliminating it.
-
2 Question 2 Dropdown Data
A retail company runs a reporting service on a Heroku Postgres database that is heavily used by the operations team's ad-hoc analytics queries. The architect wants to offload these read-only reporting queries from the primary without application code changes to the write path, and wants a quick, shareable result view for stakeholders. Complete the statements by selecting the correct value for each blank. The reporting workload should be pointed at a [1] database, and the saved query results shared with stakeholders as a [2].
Choose the correct value for each blank.
The reporting workload should be pointed at a database, and the saved query results shared with stakeholders as a .Correct Answer:The reporting workload should be pointed at a follower database, and the saved query results shared with stakeholders as a Dataclip.
ExplanationHeroku Postgres follower databases are read-only replicas that can be used to offload reporting traffic from the primary, and the reporting team connects to the follower's URL without touching the write path. Dataclips are the Heroku feature for saving a SQL query, sharing its results via a link, and optionally having them refresh. A standby is not a Heroku Postgres term for this purpose, a fork creates an independent copy that will not stay in sync, and a backup is for recovery rather than live reads. Heroku Connect mappings sync data to Salesforce, pg:copy is a data transfer utility, and a Kafka topic is for streaming, none of which give a shareable query result view.
-
3 Question 3 Drag and drop Heroku Enterprise
A healthcare software vendor is designing its Heroku footprint for a customer that requires isolated networking, a documented compliance posture for regulated workloads, and strict control of team membership and app access across several engineering squads. Match each requirement to the Heroku Enterprise capability that best satisfies it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Dedicated, isolated network for the regulated app with no shared runtime tenancyCompliance controls for regulated data such as HIPAA-aligned hostingManaging squad membership and role-based access across many appsPrivate SpacesPrivate Space PeeringHeroku ShieldHeroku ConnectEnterprise TeamsCorrect Answer:- Dedicated, isolated network for the regulated app with no shared runtime tenancy → Private Spaces
- Compliance controls for regulated data such as HIPAA-aligned hosting → Heroku Shield
- Managing squad membership and role-based access across many apps → Enterprise Teams
ExplanationPrivate Spaces provide an isolated, dedicated network runtime that is separate from the shared Common Runtime, which is the basis for isolation requirements. Heroku Shield adds the stronger compliance and data-protection controls expected for regulated workloads such as HIPAA. Enterprise Teams provide team-level membership and permission management spanning multiple apps, which is what the squads need. Heroku Connect synchronises data with Salesforce and does not address isolation, compliance, or access management. Private Space Peering is a networking connection between a Private Space and another VPC, not a team governance feature.
-
4 Question 4 Single choice Heroku Platform
A media company deploys a Ruby on Rails app to Heroku. The build log shows the slug compiles successfully, but the app fails at boot with the error that a required binary is not found on the PATH. The team confirms the binary is installed in their local development environment through an OS package manager, and they have no Dockerfile in the repository. Which action is the correct FIRST step to resolve the failure?
Correct Answer: DExplanationOn the Heroku-built stack, the slug is produced by buildpacks, and system-level packages are provided through the apt buildpack using an Aptfile in the repository root. Installed packages are included in the slug, so they are available at boot on every dyno. Switching to containers is a heavier change than necessary when a buildpack solves it. Setting a config var cannot make a binary exist that is not in the slug. Installing into a running dyno is temporary, lost on restart, and not a deployment practice.
-
5 Question 5 Order list Integrations
A company uses Heroku Connect to sync an Account object from Salesforce into a Heroku Postgres table. Existing records were created in Heroku by a legacy import, and their identifiers do not match the Salesforce record IDs. The architect must ensure the sync maps records correctly without creating duplicates. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Configure the Heroku Connect mapping to use that external ID as the key for matching existing rows.
- Run the import in the Heroku Connect dashboard so existing rows are updated rather than inserted.
- Verify the mapping state is healthy and check for any reported sync errors before go-live.
- Add an external ID field to the Salesforce object and populate it with the legacy identifier.
Correct Answer:- Add an external ID field to the Salesforce object and populate it with the legacy identifier.
- Configure the Heroku Connect mapping to use that external ID as the key for matching existing rows.
- Run the import in the Heroku Connect dashboard so existing rows are updated rather than inserted.
- Verify the mapping state is healthy and check for any reported sync errors before go-live.
ExplanationHeroku Connect needs a stable key to match Heroku rows to Salesforce records, so the external ID must exist on the Salesforce side and be populated first. The mapping must then reference that external ID so Connect can match rows. Only then should the import and matching run, because running it earlier would insert duplicates. Verifying the mapping state and errors is the final check before go-live. Reordering the mapping before the external ID exists would leave Connect nothing to match on.
-
6 Question 6 Multiple choice Data
A gaming company uses Heroku Redis to cache leaderboard data for a real-time game. Session data is stored as Redis keys with a time-to-live, and the operations team wants to avoid data loss during a plan migration while keeping cache lookups fast. Which TWO practices are the most appropriate architecture decisions? (Choose two.)
Correct Answer: A, CExplanationRedis here functions as a cache, so the architecture should tolerate loss by rebuilding entries from the system of record, which is Heroku Postgres. Configuring an appropriate eviction policy protects the instance against memory exhaustion as the data grows. Storing authoritative purchase data in Redis is inappropriate because cache plans are not a durable system of record. Assuming keys survive a plan migration is incorrect, and persistence should be selected for specific needs rather than broad reliance, so C is not the strongest recommendation here.
-
7 Question 7 Dropdown Security
A financial services firm requires that its Heroku app reach an on-premises database that is accessible only through the corporate VPN. The app must not traverse the public internet, and the connectivity must be configured in a way that applies to a Private Space. Complete the command by selecting the correct value for each blank. The Private Space should be connected to the corporate network by creating a [1] connection, and the VPN routing options are inspected using the command heroku spaces:[2] your-space.
Choose the correct value for each blank.
The Private Space should be connected to the corporate network by creating a connection, and the VPN routing options are inspected using the command heroku spaces: your-space.Correct Answer:The Private Space should be connected to the corporate network by creating a Private Space Peering connection, and the VPN routing options are inspected using the command heroku spaces:info your-space.
ExplanationPrivate Space Peering creates a private network connection between a Private Space and a corporate VPC, avoiding public internet traversal for the database link. The heroku spaces:info command displays details of a space, including the peering and VPN configuration state. Dataclip is a query-sharing feature, Shield is a compliance tier, and Common Runtime is a shared runtime that cannot be peered. The list subcommand shows spaces in an account rather than the details of one, and config and release are not spaces subcommands used for this purpose.
-
8 Question 8 Single choice Heroku Platform
An online ticketing platform expects sudden traffic spikes of roughly twenty times normal load during ticket releases, which last about fifteen minutes each. The architect wants the app to stay responsive during spikes while keeping monthly spend low between events. Which approach is the MOST cost-effective and performant?
Correct Answer: CExplanationAutoscaling on performance dynos can absorb short bursts and then scale back down, which fits brief, predictable spikes and keeps spend low between events. Separating purchase processing into a worker lets the heavy, asynchronous work scale on its own terms without slowing page responses. Maintaining a large fleet permanently wastes money for fifteen-minute peaks. Keeping dynos scaled up for the whole month is equally costly. The router does not queue requests indefinitely, and long waits result in H12 request timeouts rather than a smooth experience.
-
9 Question 9 Single choice Security
A healthcare provider needs its Heroku application to meet HIPAA requirements. The architect is evaluating whether the app should run in a Private Space or in the Common Runtime. The app has no requirement for dedicated network isolation, and the security team mainly needs assurance that protected health information is handled under the appropriate compliance controls and that the team can review audit activity. Which recommendation BEST fits these needs?
Correct Answer: CExplanationHeroku Shield is the offering that provides the enhanced compliance and data protection controls, including support for HIPAA-regulated workloads, and it is available on the Common Runtime as well as Private Spaces. Because the stated requirement is compliance rather than network isolation, Shield on the Common Runtime meets the need without the extra cost of a Private Space. Heroku Connect is a data sync tool and does not provide encryption guarantees or compliance by itself. Peering addresses network connectivity, not a prerequisite for compliance. Enterprise Teams governs access but does not on its own fulfil regulatory controls.
-
10 Question 10 Single choice Architect Applications
A payments company is building an event-driven platform with several microservices that must react to order events in a consistent order per customer. It plans to use Apache Kafka on Heroku as the orchestration backbone. The architect must design topic partitioning so that events for the same customer are processed in sequence, while still allowing the services to scale out consumers. Which design choice is the BEST?
Correct Answer: CExplanationKafka guarantees ordering only within a partition, so keying messages by customer identifier routes each customer's events to the same partition and preserves per-customer order. Consumer parallelism is bounded by the number of partitions, which is the scaling lever for the services. A single partition preserves global order but eliminates horizontal scaling. Per-microservice topics with random order discard the ordering requirement. Random keys break per-customer ordering, and relying on timestamps for sorting is not a reliable substitute for partition-level ordering.
-
11 Question 11 Drag and drop Integrations
A Heroku app must reach Salesforce data and expose functionality to Lightning users. The team has three integration needs and must choose the appropriate technique for each. Match each requirement to the technique that fits it best.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Keep a Heroku Postgres table continuously synchronised with Salesforce Account records using a declarative mappingLet a Lightning component call a Heroku-hosted service and render its response in the Salesforce UIStream order events from a Heroku app to downstream consumers in near real timeApache Kafka on HerokuHeroku ShieldCallouts from Apex to the Heroku app through a Named CredentialHeroku RedisHeroku ConnectCorrect Answer:- Keep a Heroku Postgres table continuously synchronised with Salesforce Account records using a declarative mapping → Heroku Connect
- Let a Lightning component call a Heroku-hosted service and render its response in the Salesforce UI → Callouts from Apex to the Heroku app through a Named Credential
- Stream order events from a Heroku app to downstream consumers in near real time → Apache Kafka on Heroku
ExplanationHeroku Connect provides declarative, continuous synchronisation between Salesforce objects and Heroku Postgres tables, which matches the mapping requirement. Apex callouts authenticated with a Named Credential let Lightning functionality reach a Heroku service and return results to the UI. Kafka is the appropriate streaming platform for near real-time event distribution between services. Shield is a compliance offering and Redis is a caching and in-memory store, so neither fits any of these integration requirements.
-
12 Question 12 Single choice Heroku Enterprise
A multinational company has five engineering squads that share a Heroku account. Each squad owns separate apps, and an external contractor must be given deploy access to only one squad's apps for a three-month engagement, after which access must be removed without affecting other apps or other squads' permissions. The company wants this managed through the Heroku Enterprise capabilities rather than by sharing credentials. Which configuration is the BEST choice?
Correct Answer: DExplanationEnterprise Teams allow membership and role-based permissions to be scoped to the team's apps, so a contractor receives access to only one squad and can be removed cleanly without changing other squads' permissions. Adding the contractor per app is error prone and easy to forget at expiry. Sharing an API key violates the principle of individual accountability and exposes full account access. Granting account ownership gives far more access than the engagement requires and is the opposite of least privilege.
-
13 Question 13 Single choice Data
A telemetry company stores sensor readings in Heroku Postgres. A reporting team runs heavy aggregation queries against a database follower, but they have started noticing that their dashboards show data that is several seconds behind the primary. The business requires that dashboards reflect the latest committed writes for an operational alert that fires on a threshold. The architect must keep the follower for reporting while ensuring the alert is accurate. Which approach is the BEST?
Correct Answer: AExplanationHeroku Postgres followers replicate asynchronously, so they can trail the primary, and a time-sensitive operational alert should read from the primary to reflect the latest committed writes. Keeping heavy reporting on the follower preserves the performance benefit where staleness is acceptable. A larger follower plan does not eliminate asynchronous lag. A fork is an independent copy that does not stay in sync with the primary. A fixed delay is an unreliable guess, since lag varies with load and cannot be guaranteed to stay under sixty seconds.
These are 13 of the 170 questions in the full Heroku-Architect pack.
Get All 170 QuestionsGet all 170 questions & answers
Full access options for Salesforce Heroku-Architect
Self-study
PDF Version
- 170 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 170 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 170 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Heroku-Architect Exam (Salesforce Certified Heroku Architect) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.