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.
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.
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
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.
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
Universal Containers would like to report on the volume of products installed within a specific timeframe. What solution will help meet the customer's requirement?
A. Utilize a custom"Installation Date" field on Asset
B. Utilize the standard "Installation Date" field on Asset.
C. Utilize a Work Order related list on Asset
D. Utilize Field History Tracking on Asset.
A client has a Heroku Postgres database add-on attached to a production application. The client now wants to access the database from another application that they use to perform administrative tasks. What should an Architect recommend in this scenario?
A. Copy the database's connection URL and add it to the administrative application as a config var.
B. Attach the database toan application that acts as a database proxy
C. Create a fork of the database and attach it to the administrative application.
D. Attach the same Heroku Postgres add-on to the administrative application
Canvas appscan authenticate a user with:
A. OAuth
B. Signed request
C. Usemane and password
D. Either OAuth or signed request
According to the Twelve-Factor methodology, which best practice helps minimizethe gap between development and production?
A. Using the same backing services in all of an application's environments.
B. Configuring application logging to write stdout.
C. Executing long-running tasks as background processes.
D. Writing processes that are fast to start up and gracefully shut down
A client is building a system that will sync data from multiple Salesforce orgs to a singleHeroku Postgres database. This system also needs to push the synced data to an external data warehousefor analytics processing. Which solution meets all of the requirements in this scenario?
A. Use Heroku Connect to synchronize data between the Salesforceorgs, the Heroku Postgres database and the external data warehouse
B. Use Salesforce Connect to synchronize data between the Salesforce orgs and the Heroku Postgres database Use Heroku Connect to sync data between the Heroku Postgres database and the external data warehouse.
C. Use Heroku External Objects to synchronize data between the Salesforce orgs andthe Heroku Postgres database Use an ETL tool to push data from the Salesforce orgs to the external data warehouse.
D. Use Heroku Connect to synchronizedata between the Salesforce orgs and the Heroku Postgres database Use an ETL tool to push data from the Salesforce orgs to the external data warehouse.
Page 6 out of 19 Pages |
Previous |