Topic 5 Flashcards

Mountkirk Games case study

1
Q

Question #: 1
Topic #: 5

Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from their existing backends on the other platforms?

A. Tests should scale well beyond the prior approaches
B. Unit tests are no longer required, only end-to-end tests
C. Tests should be applied after the release is in the production environment
D. Tests should include directly testing the Google Cloud Platform (GCP) infrastructure

https://www.examtopics.com/discussions/google/view/10722-exam-professional-cloud-architect-topic-5-question-1/

A

A. Tests should scale well beyond the prior approaches

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

Question #: 2
Topic #: 5

Mountkirk Games has deployed their new backend on Google Cloud Platform (GCP). You want to create a through testing process for new versions of the backend before they are released to the public. You want the testing environment to scale in an economical way. How should you design the process?

A. Create a scalable environment in GCP for simulating production load
B. Use the existing infrastructure to test the GCP-based backend at scale
C. Build stress tests into each component of your application using resources internal to GCP to simulate load
D. Create a set of static environments in GCP to test different levels of load ג€" for example, high, medium, and low

https://www.examtopics.com/discussions/google/view/9190-exam-professional-cloud-architect-topic-5-question-2/

A

A. Create a scalable environment in GCP for simulating production load

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

Question #: 3
Topic #: 5

Mountkirk Games wants to set up a continuous delivery pipeline. Their architecture includes many small services that they want to be able to update and roll back quickly. Mountkirk Games has the following requirements:
✑ Services are deployed redundantly across multiple regions in the US and Europe
✑ Only frontend services are exposed on the public internet
✑ They can provide a single frontend IP for their fleet of services
✑ Deployment artifacts are immutable
Which set of products should they use?

A. Google Cloud Storage, Google Cloud Dataflow, Google Compute Engine
B. Google Cloud Storage, Google App Engine, Google Network Load Balancer
C. Google Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer
D. Google Cloud Functions, Google Cloud Pub/Sub, Google Cloud Deployment Manager

https://www.examtopics.com/discussions/google/view/6549-exam-professional-cloud-architect-topic-5-question-3/

A

C. Google Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer

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

Question #: 4
Topic #: 5

Mountkirk Games’ gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which suddenly became very popular. A record number of users are trying to use the service, but many of them are getting 503 errors and very slow response times. What should they investigate first?

A. Verify that the database is online
B. Verify that the project quota hasn't been exceeded
C. Verify that the new feature code did not introduce any performance bugs
D. Verify that the load-testing team is not running their tool against production

https://www.examtopics.com/discussions/google/view/9253-exam-professional-cloud-architect-topic-5-question-4/

A

B. Verify that the project quota hasn’t been exceeded

C. Verify that the new feature code did not introduce any performance bugs

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

Question #: 5
Topic #: 5

Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application environments. Developers and testers can access each other’s environments and resources, but they cannot access staging or production resources. The staging environment needs access to some services from production.
What should you do to isolate development environments from staging and production?

A. Create a project for development and test and another for staging and production
B. Create a network for development and test and another for staging and production
C. Create one subnetwork for development and another for staging and production
D. Create one project for development, a second for staging and a third for production

https://www.examtopics.com/discussions/google/view/9191-exam-professional-cloud-architect-topic-5-question-5/

A

A. Create a project for development and test and another for staging and production

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

Question #: 6
Topic #: 5

Mountkirk Games wants to set up a real-time analytics platform for their new game. The new platform must meet their technical requirements.
Which combination of Google technologies will meet all of their requirements?

A. Kubernetes Engine, Cloud Pub/Sub, and Cloud SQL
B. Cloud Dataflow, Cloud Storage, Cloud Pub/Sub, and BigQuery
C. Cloud SQL, Cloud Storage, Cloud Pub/Sub, and Cloud Dataflow
D. Cloud Dataproc, Cloud Pub/Sub, Cloud SQL, and Cloud Dataflow
E. Cloud Pub/Sub, Compute Engine, Cloud Storage, and Cloud Dataproc

https://www.examtopics.com/discussions/google/view/11831-exam-professional-cloud-architect-topic-5-question-6/

A

B. Cloud Dataflow, Cloud Storage, Cloud Pub/Sub, and BigQuery

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

Question #: 1
Topic #: 6

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to migrate from their current analytics and statistics reporting model to one that meets their technical requirements on Google Cloud Platform.
Which two steps should be part of their migration plan? (Choose two.)

A. Evaluate the impact of migrating their current batch ETL code to Cloud Dataflow.
B. Write a schema migration plan to denormalize data for better performance in BigQuery.
C. Draw an architecture diagram that shows how to move from a single MySQL database to a MySQL cluster.
D. Load 10 TB of analytics data from a previous game into a Cloud SQL instance, and run test queries against the full dataset to confirm that they complete successfully.
E. Integrate Cloud Armor to defend against possible SQL injection attacks in analytics files uploaded to Cloud Storage.

https://www.examtopics.com/discussions/google/view/11888-exam-professional-cloud-architect-topic-6-question-1/

A

A. Evaluate the impact of migrating their current batch ETL code to Cloud Dataflow.

B. Write a schema migration plan to denormalize data for better performance in BigQuery.

Stream processing (ETL) Dataflow and Reference https://cloud.google.com/bigquery/docs/loading-data#loading_denormalized_nested_and_repeated_data

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

Question #: 2
Topic #: 6

For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the compute workloads for your company, Mountkirk Games. Considering the Mountkirk Games business and technical requirements, what should you do?

A. Create network load balancers. Use preemptible Compute Engine instances.
B. Create network load balancers. Use non-preemptible Compute Engine instances.
C. Create a global load balancer with managed instance groups and autoscaling policies. Use preemptible Compute Engine instances.
D. Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances.

https://www.examtopics.com/discussions/google/view/8500-exam-professional-cloud-architect-topic-6-question-2/

A

D. Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances

Based on the provided requirements, the recommended solution is to use Google Compute Engine for the game backend platform and game analytics platform. The backend platform needs to dynamically scale up or down based on game activity and connect to a transactional database service to manage user profiles and game state. The platform also needs to store game activity in a timeseries database service for future analysis and ensure that data is not lost due to processing backlogs. The platform should run on a hardened Linux distro. On the other hand, the analytics platform needs to dynamically scale up or down based on game activity and process incoming data on the fly directly from the game servers. It should also process data that arrives late because of slow mobile networks and allow queries to access at least 10 TB of historical data. Additionally, the analytics platform should process files that are regularly uploaded by users’ mobile devices.

Given these requirements, the recommended solution is to create a global load balancer with managed instance groups and autoscaling policies. This solution provides high availability and allows the game backend and analytics platforms to dynamically scale up or down based on game activity. Managed instance groups allow for easy scaling of instances and autoscaling policies ensure that there are enough instances to handle the load. The global load balancer ensures that the game is available to players worldwide and reduces latency.

There are two options for the type of instances to use: preemptible or non-preemptible Compute Engine instances. Preemptible instances are cheaper, but Google can terminate them at any time with a 30-second notice. Non-preemptible instances are more expensive, but they are not terminated until the user stops them or deletes them.

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

Question #: 3
Topic #: 6

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to design their solution for the future in order to take advantage of cloud and technology improvements as they become available. Which two steps should they take? (Choose two.)

A. Store as much analytics and game activity data as financially feasible today so it can be used to train machine learning models to predict user behavior in the future.
B. Begin packaging their game backend artifacts in container images and running them on Google Kubernetes Engine to improve the ability to scale up or down based on game activity.
C. Set up a CI/CD pipeline using Jenkins and Spinnaker to automate canary deployments and improve development velocity.
D. Adopt a schema versioning tool to reduce downtime when adding new game features that require storing additional player data in the database.
E. Implement a weekly rolling maintenance process for the Linux virtual machines so they can apply critical kernel patches and package updates and reduce the risk of 0-day vulnerabilities.

https://www.examtopics.com/discussions/google/view/8501-exam-professional-cloud-architect-topic-6-question-3/

A

A. Store as much analytics and game activity data as financially feasible today so it can be used to train machine learning models to predict user behavior in the future.

B. Begin packaging their game backend artifacts in container images and running them on Google Kubernetes Engine to improve the ability to scale up or down based on game activity

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

Question #: 4
Topic #: 6

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants you to design a way to test the analytics platform’s resilience to changes in mobile network latency. What should you do?

A. Deploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic.
B. Build a test client that can be run from a mobile phone emulator on a Compute Engine virtual machine, and run multiple copies in Google Cloud Platform regions all over the world to generate realistic traffic.
C. Add the ability to introduce a random amount of delay before beginning to process analytics files uploaded from mobile devices.
D. Create an opt-in beta of the game that runs on players' mobile devices and collects response times from analytics endpoints running in Google Cloud Platform regions all over the world.

https://www.examtopics.com/discussions/google/view/12204-exam-professional-cloud-architect-topic-6-question-4/

A

A. Deploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic.

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

Question #: 5
Topic #: 6

For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the database workloads for your company, Mountkirk Games. Considering the business and technical requirements, what should you do?

A. Use Cloud SQL for time series data, and use Cloud Bigtable for historical data queries.
B. Use Cloud SQL to replace MySQL, and use Cloud Spanner for historical data queries.
C. Use Cloud Bigtable to replace MySQL, and use BigQuery for historical data queries.
D. Use Cloud Bigtable for time series data, use Cloud Spanner for transactional data, and use BigQuery for historical data queries.

https://www.examtopics.com/discussions/google/view/7236-exam-professional-cloud-architect-topic-6-question-5/

A

D. Use Cloud Bigtable for time series data, use Cloud Spanner for transactional data, and use BigQuery for historical data queries.

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

Question #: 6
Topic #: 6

For this question, refer to the Mountkirk Games case study. Which managed storage option meets Mountkirk’s technical requirement for storing game activity in a time series database service?

A. Cloud Bigtable
B. Cloud Spanner
C. BigQuery
D. Cloud Datastore

https://www.examtopics.com/discussions/google/view/7237-exam-professional-cloud-architect-topic-6-question-6/

A

A. Cloud Bigtable

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

Question #: 7
Topic #: 6

For this question, refer to the Mountkirk Games case study. You are in charge of the new Game Backend Platform architecture. The game communicates with the backend over a REST API.
You want to follow Google-recommended practices. How should you design the backend?

A. Create an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L4 load balancer.
B. Create an instance template for the backend. For every region, deploy it on a single-zone managed instance group. Use an L4 load balancer.
C. Create an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L7 load balancer.
D. Create an instance template for the backend. For every region, deploy it on a single-zone managed instance group. Use an L7 load balancer.

https://www.examtopics.com/discussions/google/view/7238-exam-professional-cloud-architect-topic-6-question-7/

A

C. Create an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L7 load balancer.

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

Question #: 1
Topic #: 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.

https://www.examtopics.com/discussions/google/view/56977-exam-professional-cloud-architect-topic-7-question-1/

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
15
Q

Question #: 2
Topic #: 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 IAM 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 IAM 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.

https://www.examtopics.com/discussions/google/view/56978-exam-professional-cloud-architect-topic-7-question-2/

A

C. Create a service account (SA) in the legacy game’s Google Cloud project, add this SA in the new game’s IAM 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
16
Q

Question #: 3
Topic #: 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 IAM 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.

https://www.examtopics.com/discussions/google/view/56732-exam-professional-cloud-architect-topic-7-question-3/

A

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

17
Q

Question #: 4
Topic #: 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.

https://www.examtopics.com/discussions/google/view/56734-exam-professional-cloud-architect-topic-7-question-4/

A

C. Configure a global load balancer with Google Kubernetes Engine.

18
Q

Question #: 5
Topic #: 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.

https://www.examtopics.com/discussions/google/view/56735-exam-professional-cloud-architect-topic-7-question-5/

A

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

Reason is, that we have to take the users perspective (according to the given question and also to understand what the user expects from us).
The question might be whether to choose c) or d). Considering that our requirement is to minimize the latency, we have to choose c) - that means we are striving for no downtime of the service.

19
Q

Question #: 6
Topic #: 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.

https://www.examtopics.com/discussions/google/view/56645-exam-professional-cloud-architect-topic-7-question-6/

A

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

https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
Workload Identity is the recommended way to access Google Cloud services from applications running within GKE due to its improved security properties and manageability. For information about alternative ways to access Google Cloud APIs from GKE, refer to the alternatives section below.

20
Q

Question #: 7
Topic #: 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.

https://www.examtopics.com/discussions/google/view/56798-exam-professional-cloud-architect-topic-7-question-7/