Case Study 1 Flashcards

1
Q

Company overview
Mountkirk Games makes online, session-based, multiplayer games for mobile platforms They have recently started expanding to other platforms after successfully migrating their on-
premises environments to Google Cloud

Their most recent endeavor is to create a retro-style first-person shooter (FPS) game that allows hundreds of simultaneous players to join a geo-specific digital arena from multiple
platforms and locations A real-time digital banner will display a global leaderboard of all the top players across every active arena

Solution concept
Mountkirk Games is building a new multiplayer game that they expect to be very popular They plan to deploy the game’s backend on Google Kubernetes Engine so they can scale
rapidly and use Google’s global load balancer to route players to the closest regional game arenas In order to keep the global leader board in sync, they plan to use a multi-region
Spanner cluster
Existing technical environment
The existing environment was recently migrated to Google Cloud, and five games came across using lift-and-shift virtual machine migrations, with a few minor exceptions Each new
game exists in an isolated Google Cloud project nested below a folder that maintains most of the permissions and network policies Legacy games with low traffic have been
consolidated into a single project There are also separate environments for development and testing

**Business requirements**
• Support multiple gaming platforms
Support multiple regions
• Support rapid iteration of game features
Minimize latency.
Optimize for dynamic scaling
• Use managed services and pooled resources
• Minimize costs.

Technical requirements
• Dynamically scale based on game activity
• Publish scoring data on a near real-time global leaderboard
• Store game activity logs in structured files for future analysis
• Use GPU processing to render graphics server-side for multi-platform support
• Support eventual migration of legacy games to this new platform

Executive statement
Our last game was the first time we used Google Cloud and it was a tremendous success We were able to analyze player behavior and game telemetry in ways that we never could
before This success allowed us to bet on a full migration to the cloud and to start building all-new games using cloud-native design principles Our new game is our most ambitious to
date and will open up doors for us to support more gaming platforms beyond mobile Latency is our top priority, although cost management is the next most important challenge As
with our first cloud-based game, we have

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

1/7
You need to optimize batch file transfers into Cloud Storage for Mountkirk Games’ new Google Cloud solution.The batch files contain game statistics that need to be staged in Cloud Storage and be processed by an extract transform load (ETL) tool. What should you do?

A Use gsutil to batch move files in sequence
B Use gsutil to batch copy the files in parallel
C Use gsutil to extract the files as the first part of ETL
D Use gsutil to load the files as the last part of ETL

A

B Use gsutil to batch copy the files in parallel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

2/7
You are implementing Firestore for Mountkirk Games Mountkirk Games wants to give a new game programmatic access to a legacy game’s Firestore database Access should be as restricted as possible. What should you do?

A Create a service account (SA) in the legacy game’s Google Cloud project, add a second SA in the new game’s 1AM page, and then give the Organization Admin role to both SAs

B Create a service account (SA) in the legacy game’s Google Cloud project, give the SA the Organization Admin role, and then give it the Firebase Admin role in both projects

C. Create a service account (SA) in the legacy game’s Google Cloud project, add this SA in the new game’s 1AM page, and then give it the Firebase Admin role in both projects.

D Create a service account (SA) in the legacy game’s Google Cloud project, give it the Firebase Admin role, and then migrate the new game to the legacy game’
s project

A

C. Create a service account (SA) in the legacy game’s Google Cloud project, add this SA in the new game’s 1AM page, and then give it the Firebase Admin role in both projects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3/7
Mountkirk Games wants to limit the physical location of resources to their operating Google Cloud regions. What should you do?

A Configure an organizational policy which constrains where resources can be deployed

B Configure 1AM conditions to limit what resources can be configured

C. Configure the quotas for resources in the regions not being used to 0.

D Configure a custom alert in Cloud Monitoring so you can disable resources as they are created in other regions

A

A Configure an organizational policy which constrains where resources can be deployed

“You can limit the physical location of a new resource with the Organization Policy Service resource locations constraint. You can use the location property of a resource to identify where it is deployed and maintained by the service. For data-containing resources of some Google Cloud services, this property also reflects the location where data is stored. This constraint allows you to define the allowed Google Cloud locations where the resources for supported services in your hierarchy can be created.

After you define resource locations, this limitation will apply only to newly-created resources. Resources you created before setting the resource locations constraint will continue to exist and perform their function.”

https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations
Show less

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

4/7
You need to implement a network ingress for a new game that meets the defined business and technical requirements. Mountkirk Games wants each regional game instance to be located in multiple Google Cloud regions. What should you do?

A Configure a global load balancer connected to a managed instance group running Compute Engine instances

B Configure kubemci with a global load balancer and Google Kubernetes Engine

C Configure a global load balancer with Google Kubernetes Engine

D Configure Ingress for Anthos with a global load balancer and Google Kubernetes Engine

A

D.
Configure Ingress for Anthos with a global load balancer and Google Kubernetes Engine

“The game fulfills the business requirements as well as the technical requirements - so it is build upon an architecture that is multi regional.”

https://cloud.google.com/kubernetes-engine/docs/concepts/multi-cluster-ingress
Show less

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

5/7
Your development teams release new versions of games running on Google Kubernetes Engine (GKE) daily. You want to create service level indicators (SLIs) to evaluate the quality of the new versions from the user’s perspective. What should you do?

A. Create CPU Utilization and Request Latency as service level indicators.

B Create GKE CPU Utilization and Memory Utilization as service level indicators

C, Create Request Latency and Error Rate as service level indicators.

D Create Server Uptime and Error Rate as service level indicators

A

C, Create Request Latency and Error Rate as service level indicators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

6/7
Mountkirk Games wants you to secure the connectivity from the new gaming application platform to Google Cloud. You want to streamline the process and follow Google-recommended practices What should you do?

A. Configure Workload Identity and service accounts to be used by the application platform.

B. Use Kubernetes Secrets,which are obfuscated by default Configure these Secrets to be used by the application platform

C. Configure Kubernetes Secrets to store the secret, enable Application-Layer Secrets Encryption, and use Cloud Key Management Service (Cloud KMS) to manage the encryption keys. Configure these Secrets to be used by the application platform

D. Configure HashiCorp Vault on Compute Engine, and use customer managed encryption keys and Cloud Key Management Service (Cloud KMS) to manage the encryption
keys Configure these Secrets to be used by the application platform

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

7/7
Your development team has created a mobile game app You want to test the new mobile app on Android and iOS devices with a variety of configurations. You need to ensure that testing is efficient and cost-effective What should you do?

A Upload your mobile app to the Firebase Test Lab. and test the mobile app on Android and iOS devices.

B Create Android and iOS VMs on Google Cloud, install the mobile app on the VMs. and test the mobile app

C. Create Android and iOS containers on Google Kubernetes Engine (GKE), install the mobile app on the containers, and test the mobile app

D Upload your mobile app with different configurations to Firebase Hosting and test each configuration.

A

A Upload your mobile app to the Firebase Test Lab. and test the mobile app on Android and iOS devices.

”- Firebase Test Lab is a cloud-based app testing infrastructure that lets you test your app on a range of devices and configurations, so you can get a better idea of how it’ll perform in the hands of live users.
- Firebase Test Lab Run tests on a wide range of Android and iOS devices hosted by Test Lab.”

https://firebase.google.com/docs/test-lab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly