ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 101 - Certified Heroku Architecture Designer discussion

Report
Export

A client currently runs a Ruby script in a one-off dyno each time they deploy their Go application to Heroku. The development team wants the script to be executed before the application is deployed because it performs necessary database migrations. Which approach should an Architect recommend?

A.
Modify the Go buildpacK to install Ruby, and run the script from the _profile
Answers
A.
Modify the Go buildpacK to install Ruby, and run the script from the _profile
B.
Convert the Ruby release script to Go and execute it on application startup
Answers
B.
Convert the Ruby release script to Go and execute it on application startup
C.
Use both Go and Ruby language buildpacks, and run the Ruby script with release phase
Answers
C.
Use both Go and Ruby language buildpacks, and run the Ruby script with release phase
D.
Define different process types for the Ruby script and the Go application in the app's Profile.
Answers
D.
Define different process types for the Ruby script and the Go application in the app's Profile.
Suggested answer: C

Explanation:

- There are many scenarios in which a single buildpack is not sufficient when building an application.

This includes cases when you need to: Run a buildpack for each language your app uses For example, run a JavaScript buildpack for assets and a Ruby buildpack for your application Run a daemon process such as pgbouncer with your application. Pull in system dependencies with apt. You can check the following for more information: https://devcenter heroku com/articles/using-multiple-buildpacksfor- an-app

asked 23/09/2024
dion alken
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first