Salesforce Certified Heroku Architecture Designer — Question 23
Which two conventions of the Heroku platform reflect the Twelve-Factor methodology's recommendation to "execute the app as one or more stateless processes?" (Choose two.)
Answer options
- A. Log messages from each of an app's dynos are kept separate from each other.
- B. Heroku apps define process types in a Procfile.
- C. A Heroku app's config vars are deleted on deploys and app restarts.
- D. Dynos have an ephemeral filesystem.
Correct answer: B, C
Explanation
The correct answers are B and C because defining process types in a Procfile allows for the management of stateless processes, while deleting config vars on deploys ensures that each instance of the app does not rely on previous states. Option A is incorrect because while log messages are separate, this does not directly relate to the stateless process concept, and option D, while true, pertains more to the ephemeral nature of storage rather than the execution of stateless processes.