Discount Offer
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99



Pass exam with Dumps4free or we will provide you with three additional months of access for FREE.

Heroku-Architect Practice Test


Page 11 out of 37 Pages

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?


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.





B.
  Persist code dependencies in the application's production database. Use the same type of database locally to ensure that the dependencies are accessible.

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?


A. The application should declare itsin-memory cache as a separate process type to preserve it across deploys.


B. All of the application'sweb dynos will share a single in-memory cache.


C. The application should replicate its in-memory cache to a local disk to preserve it across deploys.


D. The application's in-memory cache might be cleared at any time.





A.
  The application should declare itsin-memory cache as a separate process type to preserve it across deploys.

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?


A. Implement load balancing using Kafka


B. Engage with Heroku Support to implement load testing


C. Enable and load test autoscaling


D. Perform load test using 10% sample size





B.
  Engage with Heroku Support to implement load testing

C.
  Enable and load test autoscaling

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?


A. Configure each microservices to directly fetch the sensor metrics that are relevant to it.


B. Use Private Space DNS Service Discovery to reduce the a mountof time required for the Metrics Microservice to obtain each other microservice's IP address


C. Configure the other microservices to pull the Metrics Microservice for updates every five seconds


D. Use Apache Kafka on Heroku to publish metrics to a topic that the other microservices can consume.





D.
  Use Apache Kafka on Heroku to publish metrics to a topic that the other microservices can consume.

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?


A. Create a custom report.


B. Create a Process Builderto generate a report.


C. Use the standard Work Order email template.


D. Use the standard Service Report





D.
  Use the standard Service Report


Page 11 out of 37 Pages
Previous