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.
The current Dress4win system architecture has high latency to some customers because it is located in one
data center.
As of a future evaluation and optimizing for performance in the cloud, Dresss4win wants to distribute it's
system
architecture to multiple locations when Google cloud platform.
Which approach should they use?
A.
Use regional managed instance groups and a global load balancer to increase performance because the
regional managed instance group can grow instances in each region separately based on traffic.
B.
Use a global load balancer with a set of virtual machines that forward the requests to a closer group of
virtual machines managed by your operations team.
C.
Use regional managed instance groups and a global load balancer to increase reliability by providing
automatic failover between zones in different regions.
D.
Use a global load balancer with a set of virtual machines that forward the requests to a closer group of
virtual machines as part of a separate managed instance groups
Use a global load balancer with a set of virtual machines that forward the requests to a closer group of
virtual machines as part of a separate managed instance groups
For this question, refer to the Dress4Win case study.
Dress4Win has configured a new uptime check with Google Stackdriver for several of their legacy services.
The Stackdriver dashboard is not reporting the services as healthy. What should they do?
A.
Install the Stackdriver agent on all of the legacy web servers.
B.
In the Cloud Platform Console download the list of the uptime servers' IP addresses and create an
inbound firewall rule
C.
Configure their load balancer to pass through the User-Agent HTTP header when the value matches
GoogleStackdriverMonitoring-UptimeChecks (https://cloud.google.com/monitoring)
D.
Configure their legacy web servers to allow requests that contain user-Agent HTTP header when the
value matches GoogleStackdriverMonitoring— UptimeChecks (https://cloud.google.com/monitoring)
Configure their legacy web servers to allow requests that contain user-Agent HTTP header when the
value matches GoogleStackdriverMonitoring— UptimeChecks (https://cloud.google.com/monitoring)
For this question, refer to the Dress4Win case study.
As part of their new application experience, Dress4Wm allows customers to upload images of themselves. The
customer has exclusive control over who may view these images. Customers should be able to upload images
with minimal latency and also be shown their images quickly on the main application page when they log in.
Which configuration should Dress4Win use?
A.
Store image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata
that maps each customer's ID and their image files.
B.
Store image files in a Google Cloud Storage bucket. Add custom metadata to the uploaded images in
Cloud Storage that contains the customer's unique ID.
C.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent
disks and/or nodes. Assign each customer a unique ID, which sets each file's owner attribute, ensuring
privacy of images.
D.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent
disks and/or nodes. Use a Google Cloud SQL database to maintain metadata that maps each customer's
ID to their image files
Store image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata
that maps each customer's ID and their image files.
Dress4win has end to end tests covering 100% of their endpoints.
They want to ensure that the move of cloud does not introduce any new bugs.
Which additional testing methods should the developers employ to prevent an outage?
A.
They should run the end to end tests in the cloud staging environment to determine if the code is
working as intended.
B.
They should enable google stack driver debugger on the application code to show errors in the code
C.
They should add additional unit tests and production scale load tests on their cloud staging environment.
D.
They should add canary tests so developers can measure how much of an impact the new release causes
to latency
They should enable google stack driver debugger on the application code to show errors in the code
For this question, refer to the Dress4Win case study.
As part of Dress4Win's plans to migrate to the cloud, they want to be able to set up a managed logging and
monitoring system so they can handle spikes in their traffic load. They want to ensure that:
• The infrastructure can be notified when it needs to scale up and down to handle the ebb and flow of usage
throughout the day
• Their administrators are notified automatically when their application reports errors.
• They can filter their aggregated logs down in order to debug one piece of the application across many hosts
Which Google StackDriver features should they use?
A.
Logging, Alerts, Insights, Debug
B.
Monitoring, Trace, Debug, Logging
C.
Monitoring, Logging, Alerts, Error Reporting
D.
Monitoring, Logging, Debug, Error Report
Monitoring, Trace, Debug, Logging
Page 6 out of 51 Pages |
Previous |