Topic 4, Dress4Win case study
Company Overview
Dress4win is a web-based company that helps their users organize and manage their personal wardrobe using a
website and mobile application. The company also cultivates an active social network that connects their users
with designers and retailers. They monetize their services through advertising, e-commerce, referrals, and a
freemium app model.
Company Background
Dress4win’s application has grown from a few servers in the founder’s garage to several hundred servers and
appliances in a colocated data center. However, the capacity of their infrastructure is now insufficient for the
application’s rapid growth. Because of this growth and the company’s desire to innovate faster, Dress4win is
committing to a full migration to a public cloud.
Solution Concept
For the first phase of their migration to the cloud, Dress4win is considering moving their development and test
environments. They are also considering building a disaster recovery site, because their current infrastructure
is at a single location. They are not sure which components of their architecture they can migrate as is and
which components they need to change before migrating them.
Existing Technical Environment
The Dress4win application is served out of a single data center location.
Databases:
MySQL - user data, inventory, static data
Redis - metadata, social graph, caching
Application servers:
Tomcat - Java micro-services
Nginx - static content
Apache Beam - Batch processing
Storage appliances:
iSCSI for VM hosts
Fiber channel SAN - MySQL databases
NAS - image storage, logs, backups
Apache Hadoop/Spark servers:
Data analysis
Real-time trending calculations
MQ servers:
Messaging
Social notifications
Events
Miscellaneous servers:
Jenkins, monitoring, bastion hosts, security scanners
Business Requirements
Build a reliable and reproducible environment with scaled parity of production.
Improve security by defining and adhering to a set of security and Identity and Access Management
(IAM) best practices for cloud.
Improve business agility and speed of innovation through rapid provisioning of new resources.
Analyze and optimize architecture for performance in the cloud.
Migrate fully to the cloud if all other requirements are met.
Technical Requirements
Evaluate and choose an automation framework for provisioning resources in cloud.
Support failover of the production environment to cloud during an emergency.
Identify production services that can migrate to cloud to save capacity.
Use managed services whenever possible.
Encrypt data on the wire and at rest.
Support multiple VPN connections between the production data center and cloud environment.
CEO Statement
Our investors are concerned about our ability to scale and contain costs with our current infrastructure. They
are also concerned that a new competitor could use a public cloud platform to offset their up-front investment
and freeing them to focus on developing better features.
CTO Statement
We have invested heavily in the current infrastructure, but much of the equipment is approaching the end of its
useful life. We are consistently waiting weeks for new gear to be racked before we can start new projects. Our
traffic patterns are highest in the mornings and weekend evenings; during other times, 80% of our capacity is
sitting idle.
CFO Statement
Our capital expenditure is now exceeding our quarterly projections. Migrating to the cloud will likely cause an
initial increase in spending, but we expect to fully transition before our next hardware refresh cycle. Our total
cost of ownership (TCO) analysis over the next 5 years puts a cloud strategy between 30 to 50% lower than
our current model.
For this question, refer to the Dress4Win case study.
At Dress4Win, an operations engineer wants to create a tow-cost solution to remotely archive copies of
database backup files. The database files are compressed tar files stored in their current data center. How
should he proceed?
A.
Create a cron script using gsutil to copy the files to a Coldline Storage bucket.
B.
Create a cron script using gsutil to copy the files to a Regional Storage bucket.
C.
Create a Cloud Storage Transfer Service Job to copy the files to a Coldline Storage bucket.
D.
Create a Cloud Storage Transfer Service job to copy the files to a Regional Storage bucket.
Create a cron script using gsutil to copy the files to a Coldline Storage bucket.
Follow these rules of thumb when deciding whether to use gsutil or Storage Transfer Service:
When transferring data from an on-premises location, use gsutil.
When transferring data from another cloud storage provider, use Storage Transfer Service.
Otherwise, evaluate both tools with respect to your specific scenario.
Use this guidance as a starting point. The specific details of your transfer scenario will also help you determine
which tool is more appropriate
For this question, refer to the Dress4Win case study.
Dress4Win has asked you to recommend machine types they should deploy their application servers to. How
should you proceed?
A.
Perform a mapping of the on-premises physical hardware cores and RAM to the nearest machine types
in the cloud.
B.
Recommend that Dress4Win deploy application servers to machine types that offer the highest RAM to
CPU ratio available.
C.
Recommend that Dress4Win deploy into production with the smallest instances available, monitor them
over time, and scale the machine type up until the desired performance is reached.
D.
Identify the number of virtual cores and RAM associated with the application server virtual machines
align them to a custom machine type in the cloud, monitor performance, and scale the machine types up
until the desired performance is reached.
Perform a mapping of the on-premises physical hardware cores and RAM to the nearest machine types
in the cloud.
For this question, refer to the Dress4Win case study.
You want to ensure Dress4Win's sales and tax records remain available for infrequent viewing by auditors for at least 10 years. Cost optimization is your top priority. Which cloud services should you choose?
A.
Google Cloud Storage Coldline to store the data, and gsutil to access the data.
B.
Google Cloud Storage Nearline to store the data, and gsutil to access the data.
C.
Google Bigtabte with US or EU as location to store the data, and gcloud to access the data.
D.
BigQuery to store the data, and a web server cluster in a managed instance group to access the data.
Google Cloud SQL mirrored across two distinct regions to store the data, and a Redis cluster in a
managed instance group to access the data.
Google Cloud Storage Coldline to store the data, and gsutil to access the data.
References: https://cloud.google.com/storage/docs/storage-classes
For this question, refer to the Dress4Win case study.
Dress4Win has end-to-end tests covering 100% of their endpoints. They want to ensure that the move to the cloud does not introduce any new bugs. Which additional testing methods should the developers employ to prevent an outage?
A.
They should enable Google Stackdriver Debugger on the application code to show errors in the code.
B.
They should add additional unit tests and production scale load tests on their cloud staging environment.
C.
They should run the end-to-end tests in the cloud staging environment to determine if the code is
working as intended.
D.
They should add canary tests so developers can measure how much of an impact the new release causes
to latency.
They should add additional unit tests and production scale load tests on their cloud staging environment.
For this question, refer to the Dress4Win case study.
Dress4Win would like to become familiar with deploying applications to the cloud by successfully deploying some applications quickly, as is. They have asked for your recommendation. What should you advise?
A.
Identify self-contained applications with external dependencies as a first move to the cloud.
B.
Identify enterprise applications with internal dependencies and recommend these as a first move to the
cloud.
C.
Suggest moving their in-house databases to the cloud and continue serving requests to on-premise
applications.
D.
Recommend moving their message queuing servers to the cloud and continue handling requests to
on-premise applications.
Suggest moving their in-house databases to the cloud and continue serving requests to on-premise
applications.
You need to reduce the number of unplanned rollbacks of erroneous production deployments in your
company's web hosting platform. Improvement to the QA/Test processes accomplished an 80% reduction. Which additional two approaches can you take to further reduce the rollbacks? Choose 2 answers
A.
Introduce a green-blue deployment model.
B.
Replace the QA environment with canary releases.
C.
Fragment the monolithic platform into microservices.
D.
Reduce the platform's dependency on relational database systems.
E.
Replace the platform's relational database systems with a NoSQL database
Introduce a green-blue deployment model.
Fragment the monolithic platform into microservices.
You deploy your custom Java application to Google App Engine. It fails to deploy and gives you the following stack trace.
What should you do?
A.
Upload missing JAR files and redeploy your application.
B.
Digitally sign all of your JAR files and redeploy your application
Digitally sign all of your JAR files and redeploy your application
A lead software engineer tells you that his new application design uses websockets and HTTP sessions that are not distributed across the web servers. You want to help him ensure his application will run property on Google Cloud Platform. What should you do?
A.
Help the engineer to convert his websocket code to use HTTP streaming.
B.
Review the encryption requirements for websocket connections with the security team.
C.
Meet with the cloud operations team and the engineer to discuss load balancer options.
D.
Help the engineer redesign the application to use a distributed user session service that does not rely on
websockets and HTTP sessions.
Meet with the cloud operations team and the engineer to discuss load balancer options.
You are designing a large distributed application with 30 microservices. Each of your distributed
microservices needs to connect to a database back-end. You want to store the credentials securely. Where should you store the credentials?
A.
In the source code
B.
In an environment variable
C.
In a secret management system
D.
In a config file that has restricted access through ACLs
In a secret management system
Your company just finished a rapid lift and shift to Google Compute Engine for your compute needs. You
have another 9 months to design and deploy a more cloud-native solution. Specifically, you want a system that is no-ops and auto-scaling. Which two compute products should you choose? Choose 2 answers
A.
Compute Engine with containers
B.
Google Container Engine with containers
C.
Google App Engine Standard Environment
D.
Compute Engine with custom instance types
E.
Compute Engine with managed instance groups
Google App Engine Standard Environment
Compute Engine with managed instance groups
Page 4 out of 26 Pages |
Previous |