ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 24 - Certified Heroku Architecture Designer discussion

Report
Export

At Universal Containers (UC), a developer named Yuichiro wrote a PHP application that, in production, uses a MySQL database. Yuichiro is onboarding Mary, a new UC developer, who is setting up her development environment. Yuichiro asks Mary to:

1) install the related PHP libraries manually so the application will run; 2) use MongoDB, instead of MySQL, in the development environment.

According to the Twelve-Factor methodology, which changes should an Architect recommend?

A.
Explicitly declare code dependencies in the application's environment variables and use the same type of database in both development and production.
Answers
A.
Explicitly declare code dependencies in the application's environment variables and use the same type of database in both development and production.
B.
Persist code dependencies in the application's production database. Use the same type of database locally to ensure that the dependencies are accessible.
Answers
B.
Persist code dependencies in the application's production database. Use the same type of database locally to ensure that the dependencies are accessible.
C.
Recursively determine code dependencies on application startup and maintain separate Git branches for the MongoDB- and MySQL- compatible versions of the application.
Answers
C.
Recursively determine code dependencies on application startup and maintain separate Git branches for the MongoDB- and MySQL- compatible versions of the application.
D.
Explicitly declare code dependencies in the application's source and use the same type of database in both development and production.
Answers
D.
Explicitly declare code dependencies in the application's source and use the same type of database in both development and production.
Suggested answer: B
asked 23/09/2024
Hamid Assimi
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first