exam questions

Exam Certified Heroku Architecture Designer All Questions

View all questions & answers for the Certified Heroku Architecture Designer exam

Exam Certified Heroku Architecture Designer topic 1 question 84 discussion

Actual exam question from Salesforce's Certified Heroku Architecture Designer
Question #: 84
Topic #: 1
[All Certified Heroku Architecture Designer Questions]

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.
  • 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.
  • D. Explicitly declare code dependencies in the application's source and use the same type of database in both development and production.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JWGrace
1 month, 3 weeks ago
Clearly it should be D.
upvoted 2 times
...
jcferreira10000
1 month, 3 weeks ago
it is D
upvoted 2 times
...
Ohoboho12
8 months, 3 weeks ago
it is D
upvoted 4 times
...
acresposot
10 months, 2 weeks ago
why not D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago