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 theTwelve-Factor methodology, which changes should an Architect recommend?
Show answerHide answer
Correct answer: BPersist code dependencies in the application's production database. Use the same type of database locally to ensure that the dependencies are accessible.
Question 52Choose 1
A client wants to migrate their on-premise application to Heroku. The application maintains a local, in-memory cache for its datastore to improve performance.
What should an Architect advise the client about running the application on Heroku?
Show answerHide answer
Correct answer: AThe application should declare itsin-memory cache as a separate process type to preserve it across deploys.
Question 53Choose 2
Universal Containers would like to avoid H12 ("request timeout") and H22 ("connection limit reached") errors when running an e-commerce retail site that mustprocess millions of inbound requests during their one-day semi-annual sale. Which two solution measures should an Architect recommend to prepare for the semi-annual sale?
Show answerHide answer
Correct answer: B, CEngage with Heroku Support to implement load testingEnable and load test autoscaling
Question 54Choose 1
Universal Containers has a microservices architecture on Heroku. Onemicroservice. named the Metrics Microservice. periodically fetches metrics from a fleet of loT sensors. Then, the Metrics Microservice is required to send relevant metrics to each of the other microservices using REST. When a new microservice is added to the architecture, the Metrics Microservice must send metrics to that new microservice too. As a result, adding microservices to the architecture causes performance issues. How should an Architect recommend changing this architecture to improve its scalability?
Show answerHide answer
Correct answer: DUse Apache Kafka on Heroku to publish metrics to a topic that the other microservices can consume.
Question 55Choose 1
Universal Containerswould like to provide Field Service Technicians the ability to capture details and customer approval on completed work so that the details can be compiled and sent to the customer electronically
What should a Consultant recommend to meet this requirement?
Show answerHide answer
Correct answer: DUse the standard Service Report
That's the last free question
You've seen the free 30% (55 of 184 questions). Full access unlocks every question and full-length Heroku-Architect mock exams (60 questions, 105 minutes), a different mock on every attempt.
Full-length mocks with the same number of questions and the same time limit as the real Heroku-Architect exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.