Heroku-Architect Practice Test Questions

184 Questions


A client wants to create a scalable set of microservices that communicate with each other, where multiple microservices have a public REST API. Which architecture strategy allows this on Heroku?


A. Each microservice is a separate Heroku app. The microservices communicate byusing Apache Kafka as a message bus.


B. Each microservice is a separate process type in a single Heroku app. The microservices communicate by using Redis as a message bus.


C. Each microservice is a separate private space. The microservices communicate byusing DNS Service Discovery.


D. Each microservice is a separate process in a single Heroku app. The microservices communicate by using shared memory.





C.
  Each microservice is a separate private space. The microservices communicate byusing DNS Service Discovery.

Explanation:

- httDs://devcenterheroku.com/artJcles/event-driven-microservices-with-aDache-kafka

A client has an existing Heroku Connect integration. They would like to extend the integration to ad Attachments (which are related binary files) from a mapped Salesforce object. What advice should an Architect provide?


A. A file storage system needs to be added to the Heroku Connect mapping to sync binary files.


B. Heroku Connect does not support binary files: therefore migration must be done using another method


C. A column oftype Binary String must be added manually to the Heroku Postgres table and amend Attachments before binary transfer can be enabled.


D. An additional object mapping must be added for the Attachments table in Heroku Connect.





B.
  Heroku Connect does not support binary files: therefore migration must be done using another method

Explanation: https://devcenter.heroku.com/articles/using-sso-servi ces-with-heroku#prerequisites-for-sso-with-heroku

A customer's IT department will not allow VPN access through their on-premise gateway. Users need to be able to access trusted Heroku applications only when they are in the office. These applications are deployed to a Heroku Private Space. Which two Private Spaces features should an Architect recommend to enable on-premise users to gain the access they need? (Choosetwo.)


A. Stable outbound IP addresses


B. VPC peering


C. Internal routing


D. Trusted IP ranges





A.
  Stable outbound IP addresses

D.
  Trusted IP ranges

A client wants to create a secure network connection between Heroku applications running in a Private Space and an AWS VPC. Which Heroku feature should an Architect recommend to create the connection?


A. Internal Routing


B. Private Space Peering


C. Private Space VPNconnections


D. Heroku Connect





C.
  Private Space VPNconnections

Explanation:

- https://devcenterheroku.corn/articles/event-driven-microservices-with-apache-kafka

Which two features of the Heroku platform require Private Spaces? Choose 2 answers.


A. Automated Certificate Management


B. Apache Kafka on Heroku


C. Internal Routing


D. Trusted IP ranges





B.
  Apache Kafka on Heroku

D.
  Trusted IP ranges

Explanation: - https://devcenter.heroku.eom/articles/private-spaces#trusted-ip-ranges

Which three items are required to successfully set up Single Sign-on (SSO) services with Heroku? (Choose three.)


A. An identity provider with built-in support for Heroku


B. A Heroku Enterprise Team


C. An existing Heroku account for each user


D. At leastone valid SSO certificate


E. Administrative permissions on the selected identity provider





A.
  An identity provider with built-in support for Heroku

B.
  A Heroku Enterprise Team

E.
  Administrative permissions on the selected identity provider

Explanation:

- https://devcenter.heroku.com/articles/using-sso-services-with-heroku#prerequisites- for-sso-with-heroku

Universal Containers wants to set up communication between multiple public-facing Heroku web applications hosted on the Common Runtime. Which solution should an Architect recommend?


A. Movethe application to a Private Space, and enable Internal Routing for them


B. Bind all of the Heroku applications to the same port


C. Configure a worker process type for each application that listens for incoming remote procedure calls.


D. Send requests to each application's URL using HTTP/HTTPS.





A.
  Movethe application to a Private Space, and enable Internal Routing for them

Explanation:

-https://www.heroku.com/tech-sessions/get-started-with-apache-kafka

Universal Containers utilizes two contractors, Contractor 1 and Contractor 2, to perform repair work Contractor 1 has provided service longer for UniversalContainers and is considered to have more repair work expertise than Contractor 2. How should a Consultant configure this expertise for Contractor 1 versus Contractor 2?


A. Assign Contractor 2 as an Excluded Resource


B. Assign Contractor 1 and 2 different Skill Levels for repair Work Type.


C. Assign Contractor 1 as a Preferred Resource.


D. Assign Contractor 1 and 2 different capacities for repairwork





B.
  Assign Contractor 1 and 2 different Skill Levels for repair Work Type.

Universal Containers (UC) has an app that allows a costumer to schedule a compute-intensive job. It allows the costumer to schedule the job on an ad-hoc basis. UC has decided to break up the app into the following services: - Website: an Interface for their costumers; -Billing: generates monthly invoices based on usage metrics; - Traffic Cop: manages the job queue, job definitions and job schedule; - Job Runner; runs jobs that Traffic Cop queues up. It Is responsible for self-introspection and self-scaling. UC also wants to createa data lake for analytics. What foundational technology and design should an Architect use to manage communication between these services?


A. Apache Kafka on Heroku as a bus between all services Create topics for billing, jobs, and website clicks Create an additional service, which will subscribe for all topics, and dump every message into a data lake


B. Heroku Redis, create a large Redis store. Allow each service to place messages with an agreed-upon format into a single queue, backed by the Redis storeServices listen for messages addressed to them and take action on them. Redis will serve as the data lake.


C. Heroku Connect and Salesforce Sync all relevant data into Salesforce and allow it to flow into each service Create custom objects for each serviceand alow them to post to each others' objects as needed. Push data from Salesforce into Heroku Postgres for a data lake.


D. Apache Kafka on Heroku Create a Kafka queue for each service. Create a central routing service that connects to all of the Kafka queues and routes data. The central router is attached to a data lake, and pushes every message into It.





A.
  Apache Kafka on Heroku as a bus between all services Create topics for billing, jobs, and website clicks Create an additional service, which will subscribe for all topics, and dump every message into a data lake

Explanation:

- https //devcenterheroku.com/articles/private-spaces#lruslecl-ip-ranges

Universal Containers intends to build an app which will accept card payments. The app also needs to store, process, and transmit cardholder data. Which Heroku architecture should an Architect recommend?


A. Common Runtime with secure, isolated containers for running theapp's code.


B. A Private Space restricted to a set of trusted IP ranges.


C. A Shield Private Space with a Shield Postgres add-on.


D. A Private Space with Internal Routing enabled on the app.





C.
  A Shield Private Space with a Shield Postgres add-on.

A web application on Heroku wants to surface Salesforce data.All users of the web application will:

1) Authenticate using SSO with Salesforce.
2) Have user records in Salesforce.

What architectureshould be recommended in order to maintain the Salesforce security model already in place?


A. Use Heroku Connect to sync the Salesforce data and Salesforce security model to Heroku Postgres.


B. Have the application query Salesforce data and the securitymodel directly using a cached admin credential.


C. Use Heroku Connect, with a per-user authentication model, to sync theSalesforce data to Heroku Postgres.


D. Have the application query Salesforce data directly through the Salesforce APIs as the running user.





A.
  Use Heroku Connect to sync the Salesforce data and Salesforce security model to Heroku Postgres.

An app uses a queue of worker dynos to perform complex image processing, but the worker dynos are occasionally running out of memory when performing the processing.All of their dynos are currently standard-1x dynos.

What should an Architect recommend in this scenario?


A. Add additional worker dynos.


B. Break up the image processing across multiple dynos.


C. Move the app to a Private Space.


D. Change the type of dynos to standard-2x.





D.
  Change the type of dynos to standard-2x.


Page 4 out of 16 Pages
Previous