Google Practice Questions, Discussions & Exam Topics by our Authors
You are configuring the cloud network architecture for a newly created project in Google Cloud that will host applications in Compute Engine. Compute Engine virtual machine instances will be created in two different subnets (sub-a and sub-b) within a single region:
=E2=80=A2 Instances in sub-a will have public IP addresses.
=E2=80=A2 Instances in sub-b will have only private IP addresses.
To download upda...
Let's break down each option and assess which is best suited to the given requirements:
Key Requirements:
1. Connectivity from sub-b to the external repository: Instances in sub-b only have private IPs and need a way to access external resources on the public internet (such as a public package repository).
2. Network Isolation: Sub-b should not have direct public IP addresses, which is why instances in sub-b are limited to private IPs.
Option A: Enable Private Google Access on sub-b
- Private Google Access allows instances in a subnet without external IP addresses to access Google services (like Google APIs, Google Cloud Storage, etc.) over the private Google network. However, this does not help with connecting to external repositories outside Google Cloud, as it only enables access to Google Cloud services.
- Rejected: Since the goal is to access an external repository outside Google Cloud, this option is not suitable.
Option B: Configure Cloud NAT and select sub-b in the NAT mapping section
- Cloud NAT (Network Address Translation) is designed for instances that don't have public IP addresses but need to access the internet. By configuring Cloud NAT, you allow private instances in sub-b to access external resources like public repositories, while keeping their private IPs intact.
- Correct Choice: Cloud NAT would enable instances in sub-b to access the internet (and thus external repositories) without requiring them to have public IPs, maintaining the network isolation for sub-b while fulfilling the connectivity requirement. This option directly solves the problem of accessing an external repository.
Optio...
Author: StarlightBear · Last updated May 10, 2026
Your company is planning to migrate their Windows Server 2022 from their on-premises data center to Google Cloud. You need to bring the licenses that are currently in use in on-pr...
To determine the best approach for migrating Windows Server 2022 licenses from an on-premises environment to Google Cloud, let's analyze each option based on your needs. The main goal is to migrate the server while maintaining the licenses already in use on the on-premises virtual machines.
Key Requirements:
- License Portability: The existing licenses on the on-premises virtual machines need to be migrated to the target environment.
- Windows Server 2022: The server is using Windows Server 2022, so the migration must ensure that this OS version is properly utilized in Google Cloud.
- Minimizing Costs and Effort: Ideally, the process should be straightforward and efficient.
Option A: 1. Create an image of the on-premises virtual machines and upload it into Cloud Storage. 2. Import the image as a virtual disk on Compute Engine.
- License Portability: This option involves creating an image of the on-premises virtual machine and uploading it. However, simply creating and uploading an image does not address the licensing concerns, particularly for Windows Server 2022.
- Windows Server 2022 Licensing: Without configuring the proper Windows Server image or ensuring that the licensing model is correctly applied, this option doesn’t fully comply with Google Cloud's licensing requirements for Windows VMs.
- Rejected: The image import method is correct for creating virtual disks but does not ensure proper license handling for Windows Server 2022.
Option B: 1. Create standard instances on Compute Engine. 2. Select as the OS the same Microsoft Windows version that is currently in use in the on-premises environment.
- License Portability: While selecting the correct Windows version is necessary, this method does not directly address the need to bring the on-premises licenses into the Google Cloud environment.
- Licensing and Compliance: Google Cloud offers options like "Bring Your Own License" (BYOL) for Windows Server, but it requires proper setup to match the licensing model of the existing on-premises environment.
- Rejected: This option creates standard instances but does not offer an efficient method for handling the existing on-premises licenses or ensuring that licensing is transferred correctly.
Option C: 1. Create an image of the on-premises virtual machine. 2. Import the image ...
Author: Deepak · Last updated May 10, 2026
You are deploying an application to Google Cloud. The application is part of a system. The application in Google Cloud must communicate over a private network with applications in a non-Google Cloud environment. The expected average throughput is 200 kbps. The business requires:
=E2=80=A2 99.99% system availability
=E2=80=A...
Let's break down the options and assess the most suitable choice for connecting a Google Cloud application to a non-Google Cloud environment while meeting the business requirements of 99.99% system availability and cost optimization.
Key Requirements:
- High Availability: The business needs 99.99% system availability, meaning the solution must be fault-tolerant and have automatic failover in case of connectivity issues.
- Cost Optimization: While availability is important, the solution must also be cost-effective, particularly given the relatively low expected throughput (200 kbps).
Option A: An HA Cloud VPN gateway connected with two tunnels to an on-premises VPN gateway
- High Availability: This option uses a High Availability (HA) Cloud VPN gateway, which provides automatic failover between the two tunnels. This ensures high availability, which aligns with the business need for 99.99% system availability.
- Cost: This option offers a high level of redundancy and availability but comes at a higher cost than simpler solutions.
- Throughput: A Cloud VPN gateway with two tunnels can easily handle the 200 kbps throughput.
- Best Fit: This option is a good balance between availability and redundancy for the given throughput, but it is on the pricier side, though it may still be acceptable for this business requirement.
Option B: A Classic Cloud VPN gateway connected with two tunnels to an on-premises VPN gateway
- High Availability: Classic Cloud VPN does not offer the same level of fault tolerance as HA Cloud VPN. While two tunnels are set up, Classic VPN lacks automatic failover, which could affect availability if one tunnel fails.
- Cost: Classic Cloud VPN is cheaper than HA Cloud VPN, so it is more cost-effective. However, the tradeoff is reduced availability.
- Throughput: Classic Cloud VPN can easily handle the 200 kbps throughput.
- Rejected: While this option is cost-effective, it doesn't meet the 99.99% availability requirement due to its lack of automatic failover. This makes it unsuitable for the given business need.
...
Author: Madison · Last updated May 10, 2026
Your company wants to migrate their 10-TB on-premises database export into Cloud Storage. You want to minimize the time it takes to complete this activity and the overall cost. The bandwidth between the on-premises environment...
To migrate a 10-TB on-premises database export into Google Cloud Storage while minimizing time and cost, let's evaluate each option and identify the most appropriate one based on Google-recommended practices.
Option A: Develop a Dataflow job to read data directly from the database and write it into Cloud Storage.
- Pros:
- Dataflow is a fully managed service that can handle large-scale data processing tasks.
- It allows for direct streaming of data, which can potentially minimize the time to upload data.
- Supports transformation and filtering of data as needed.
- Cons:
- In this case, you only want to upload a large export of data with no transformation, so using Dataflow for this task would be overcomplicating it.
- Requires custom development and setup.
- Might be slower than offline methods due to network bandwidth limitations, as it will still require transferring the data in real time through the available 1 Gbps connection.
Option B: Use the Data Transfer appliance to perform an offline migration.
- Pros:
- The Transfer Appliance is designed for large-scale data migration where bandwidth limitations are a concern.
- It works offline, meaning the transfer happens without relying on the network’s 1 Gbps speed, which can be much slower compared to direct network transfers.
- You can physically ship the appliance to Google Cloud, which is much faster and avoids the overhead of a network transfer.
- Cons:
- While it bypasses the 1 Gbps network bottleneck, it comes with a shipping time and the logistics of managing the appliance, which could add additional time to the migration process.
- You may need to wait for the appliance to be delivered and set up.
Option C: Use a commercial partner ETL solution to extract the data from the on-premises database and upload it into Cloud Storage.
- Pros:
- Some ETL solutions are optimized for handling large data sets, so they might streamline the process of extracting data and uploading it to Cloud Storage.
- They may provide additional features like scheduling, monitoring, and transform...
Author: Chloe · Last updated May 10, 2026
You are working at a financial institution that stores mortgage loan approval documents on Cloud Storage. Any change to these approval documents must be uploaded as a separate approval file. You need to ensure tha...
To ensure that the mortgage loan approval documents stored in Cloud Storage cannot be deleted or overwritten for the next 5 years, let's evaluate each option:
Option A: Create a retention policy on the bucket for the duration of 5 years. Create a lock on the retention policy.
- Pros:
- This option directly addresses the requirement of preventing document deletion or modification for a fixed period.
- Retention policies are designed to prevent objects from being deleted or overwritten within the defined retention period.
- The lock feature ensures that the retention policy cannot be modified during the retention period, making it tamper-proof.
- Google Cloud Storage offers a straightforward and reliable mechanism for enforcing this type of immutability.
- Cons:
- There is no immediate downside; this is the most straightforward and Google-recommended approach for achieving the objective of immutability for 5 years.
Option B: Create a retention policy organizational constraint constraints/storage.retentionPolicySeconds at the organization level. Set the duration to 5 years.
- Pros:
- This option is useful for enforcing a retention policy across all projects within the organization.
- It can ensure that all buckets within the organization have a consistent retention policy applied.
- Cons:
- The policy is enforced at the organization level, meaning it would apply to all projects within the organization, which may not be necessary or desired in all cases.
- This level of granularity may not be suitable if only certain buckets need to be protected. You may not want all buckets in the organization to have the same retention policy.
- Lack of lock: Organizational retention policies do not provide the option to lock the retention period in place, so there could still be a risk of policy modification during the retention period.
Option C: Use a customer-managed key for the encryption of the bucket. Rotate the key after 5 years.
- Pros:
- Using a customer-managed key (CMK) provides control over encryption and key rotation.
- Key rotation after 5 years is a good practice for security, but it doesn't prevent object deletion or modification.
- Cons:
- This approach only ...
Author: Elizabeth · Last updated May 10, 2026
Your company has decided to make a major revision of their API in order to create better experiences for their developers. They need to keep the old version of the API available and deployable, while allowing new customers and testers to try out the ...
To address the requirement of keeping the old API available while allowing new customers and testers to try the new API—using the same SSL and DNS records—let’s evaluate each option:
Option A: Configure a new load balancer for the new version of the API.
- Pros:
- This approach could technically separate traffic for both versions of the API.
- The new load balancer could be dedicated to the new API, isolating it from the old one.
- Cons:
- DNS and SSL records would need to be updated or duplicated to handle both APIs on different load balancers. This goes against the requirement of keeping the same DNS and SSL records.
- It introduces unnecessary complexity in managing two load balancers when one can handle both versions with proper routing.
Option B: Reconfigure old clients to use a new endpoint for the new API.
- Pros:
- It is a straightforward approach, with a clear separation between the old and new APIs.
- The old clients would continue to use the existing API, and new clients can be pointed to a new endpoint.
- Cons:
- This does not meet the requirement to keep both versions accessible on the same DNS and SSL records.
- The main issue is that this approach assumes old clients will update their endpoints, which may not be feasible in all cases, especially when maintaining backwards compatibility for legacy users.
Option C: Have the old API forward traffic to the new API based on the path.
- Pros:
- This approach allows for an internal redirection of traffic, where the old API can handle legacy requests while forwarding others to the new API based on the path.
- However, this option might add extra complexity and may lead to performance issues due to additional redirects.
- Cons:
...
Author: Ahmed · Last updated May 10, 2026
You have a Compute Engine application that you want to autoscale when total memory usage exceeds 80%. You have installed the Cloud Monitoring agent and configured the autoscaling policy as follows:
You observe tha...
To address the issue where the application does not autoscale when total memory usage exceeds 80%, let's evaluate each option in detail:
Option A: Change the Target type to DELTA_PER_MINUTE.
- Pros:
- DELTA_PER_MINUTE can measure the rate of change of memory usage over time, which might help in triggering autoscaling based on memory consumption trends.
- Cons:
- Changing the target type to DELTA_PER_MINUTE will cause the autoscaler to react to changes in memory usage rather than an absolute threshold (like 80% memory utilization).
- It is not directly related to memory usage itself, but rather the rate of change, and might cause unnecessary scaling actions if memory usage fluctuates quickly.
- The core issue here is that the autoscaler is not reacting to high memory usage, which is better addressed by focusing on metric selection or threshold settings rather than rate changes.
Option B: Change the Metric identifier to agent.googleapis.com/memory/bytes_used.
- Pros:
- `agent.googleapis.com/memory/bytes_used` directly measures the used memory on the instance, which is a more accurate metric to base scaling decisions on than the default memory usage metric.
- This metric helps in tracking the actual memory usage that could trigger scaling when it exceeds the 80% threshold.
- Cons:
- Without this change, if the autoscaling is based on a wrong metric or is not measuring the actual usage correctly, it might not react to high memory loads. Changing the metric identifier directly addresses this issue.
- This is the most likely solution to the problem since the autoscaling policy might not be using the correct memory metric to trigger scaling.
Option C: Change the filter to metric.label.state = ‘used’.
- Pros:
- This option ensures that the metric focuses on the used memory state rather than the...
Author: SolarFalcon11 · Last updated May 10, 2026
The JencoMart security team requires that all Google Cloud Platform infrastructure is deployed using a least privilege model with separation of duties for administration between production and de...
To ensure a least privilege model with separation of duties between production and development resources on Google Cloud, we need to design the domain and project structure to meet these requirements efficiently. Let's evaluate each option:
Option A: Create two G Suite accounts to manage users: one for development/test/staging and one for production. Each account should contain one project for every application.
- Pros:
- This option provides some level of separation of duties by having different accounts for development and production.
- Each account can have fine-grained access controls, making it possible to apply least privilege principles for both environments.
- Cons:
- Multiple accounts for users may add complexity in managing IAM roles and policies.
- Maintaining separate accounts for every application can be cumbersome, especially as the number of applications grows. The scaling of this setup could become hard to manage in larger environments.
- Cross-account access may require additional configuration to ensure that developers can access the correct resources in each account, potentially violating the least privilege principle.
Option B: Create two G Suite accounts to manage users: one with a single project for all development applications and one with a single project for all production applications.
- Pros:
- This option still provides a clear separation between production and development environments.
- Easier to manage IAM roles since each account has fewer projects to handle.
- Cons:
- This setup doesn’t allow for granular control of individual applications or resources within each environment.
- There could be more exposure to unnecessary permissions within a single project, as all development applications are in one project and all production applications in another.
- Lack of flexibility in isolating specific applications or teams at a more granular level, leading to potential over-provisioned permissions.
Option C: Create a single G Suite account to manage users with each stage of each application in its own project.
- Pros:
- Granular control of IAM permissions at the individual project level for each stage of each application, which is great for implementing the least privilege principle.
- This approach provides the flexibility to assign roles to users with more specific access to particular application stages (e.g., development, test, staging, and production envi...
Author: Akash · Last updated May 10, 2026
A few days after JencoMart migrates the user credentials database to Google Cloud Platform and shuts down the old server, the new database server stops responding to SSH connections. It is still serving database requests to the appli...
To diagnose the problem effectively, we need to focus on resolving the SSH connection issue without affecting the database functionality or causing unnecessary destruction of data. Let's assess the different options:
A) Delete the virtual machine (VM) and disks and create a new one:
- Rejected: Deleting the VM and disks will result in the loss of data and might be unnecessary. Since the database is still serving requests, it's not an issue with the disk or database functionality, but rather with SSH access. Deleting the VM without diagnosing the root cause first is a drastic and inefficient step.
B) Delete the instance, attach the disk to a new VM, and investigate:
- Rejected: While this option could provide a method to troubleshoot, it still involves deleting the instance. Attaching the disk to another VM could be useful, but deleting the instance first is not needed unless you've thoroughly ruled out other potential causes for the SSH issue.
C) Take a snapshot of the disk and connect to a new machine to investigate:
- Rejected: Taking a snapshot of the disk can be helpful for backup purposes but does not directly address the issue of the machine not responding to SSH. This option might help in the long term but isn’t the most immediate approach to diagnosing why the server isn’t responding to SSH requests.
D) Check inbound firewall rules for the network the machine is connected to:
- Selected: Since the database server is still serving database requests, the issue likely lies with the SSH access configuration or firewall settings. Checking inbound firewall rules is a direc...
Author: IceDragon2023 · Last updated May 10, 2026
JencoMart has decided to migrate user profile storage to Google Cloud Datastore and the application servers to Google Compute Engine (GCE). During the migration, the existing infrastructure will need access to Data...
When migrating user profile storage to Google Cloud Datastore and requiring access to Datastore from both on-premises infrastructure and Google Compute Engine (GCE) virtual machines (VMs), it’s important to carefully select a service account key-management strategy to ensure secure, manageable, and appropriate access. Let’s analyze each option:
A) Provision service account keys for the on-premises infrastructure and for the GCE virtual machines (VMs):
- Selected: This option provides a straightforward solution by creating service account keys for both on-premises infrastructure and the GCE VMs. These keys are then used for authentication when accessing Google Cloud Datastore. This approach works well in scenarios where you need explicit control over authentication across different environments, making sure both the on-premises systems and cloud VMs can authenticate properly.
- This option is ideal because it ensures that both types of infrastructure (on-premises and GCE VMs) can securely authenticate without unnecessary complexity.
B) Authenticate the on-premises infrastructure with a user account and provision service account keys for the VMs:
- Rejected: While using a user account to authenticate on-premises systems is possible, it is not recommended because user accounts are typically less secure and harder to manage for programmatic access. Service accounts are the preferred method for managing automated, system-to-system authentication, especially when accessing cloud resources like Datastore. Mixing user-based authentication with service accounts would introduce unnecessary complexity and potential security risks.
C) ...
Author: Noah · Last updated May 10, 2026
JencoMart has built a version of their application on Google Cloud Platform that serves traffic to Asia. You want to measure success against their...
To measure the success of JencoMart’s application serving traffic to Asia, it is important to track metrics that directly reflect the user experience, application performance, and the business impact. Let's evaluate each option:
A) Error rates for requests from Asia:
- Rejected: While error rates are important for diagnosing issues with the application, tracking only error rates doesn’t provide a complete picture. Success should be measured in terms of both application performance (e.g., latency) and business metrics (e.g., traffic). Error rates alone won't reveal insights into the overall user experience or how well the application is performing in Asia.
B) Latency difference between US and Asia:
- Rejected: This option focuses on comparing the performance between two regions (US and Asia), which could be useful for infrastructure decisions but doesn't fully track the business or technical goals in Asia specifically. JencoMart’s focus is on traffic from Asia, not a comparison between regions. The business goal here is to serve users in Asia well, not just to compare performance with the US.
C) Total visits, error rates, and latency from Asia:
- Selected: This is the most comprehensive option, as it covers key metrics:
1. Total visits: This reflects user engagement and business impact (how much traffic is coming from Asia).
2. Error rates: Essential for tracking the health of the application and ensuring a s...
Author: VioletCheetah55 · Last updated May 10, 2026
The migration of JencoMart's application to Google Cloud Platform (GCP) is progressing too slowly. The infrastructure is shown in the diagram. You want to maximi...
Author: Ava · Last updated May 10, 2026
JencoMart wants to move their User Profiles database to Google Cloud Platform.
Which Google Databas...
When deciding which Google database to use for JencoMart’s User Profiles database on Google Cloud Platform, the database choice should align with the application’s specific requirements such as scalability, consistency, and structure of the data. Let's evaluate each option:
A) Cloud Spanner:
- Rejected: Cloud Spanner is a highly scalable, globally distributed relational database that offers strong consistency and high availability. However, it is typically used for applications requiring horizontal scaling across multiple regions with a high throughput of transactions. Since User Profiles are often relatively simple in structure and don’t necessarily require multi-region consistency and massive scalability, Cloud Spanner may be overkill for this use case. It is more suitable for enterprise applications that need both relational and NoSQL features at scale, and it might be too complex and expensive for JencoMart's needs.
B) Google BigQuery:
- Rejected: Google BigQuery is a fully-managed, serverless data warehouse designed for performing large-scale analytics on structured data. It is not ideal for serving transactional workloads like a User Profiles database, which needs fast, real-time querying and frequent updates. BigQuery is more suited for analytical purposes rather than managing live application data like user profiles. It is not built for operational use cases that involve frequent writes and transactional consistency.
C) Google Cloud SQL:
- Rejected: Google Cloud SQL is a fully-managed relational database that supports MySQL, PostgreSQL, and SQL Server. It’s suitable for app...
Author: Lucas · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. Your team is in charge of creating a payment card data vault for card numbers used to bill tens of thousands of viewers, merchandise consumers, and season ticket holders. You need to implement a custom card tokenization service that meets the following requirements:
* It must provide low latency at minimal cost.
* It must be able to identify...
When selecting an approach for your custom card tokenization service, we need to evaluate the trade-offs in terms of low latency, minimal cost, security, and the specific requirements such as handling duplicate cards and key rotation. Let’s look at each option:
A) Store the card data in Secret Manager after running a query to identify duplicates.
- Pros: Secret Manager is designed for storing sensitive data securely, and it offers automatic encryption.
- Cons: This option does not meet the low-latency requirement effectively, as Secret Manager is not designed for high-throughput access, and querying for duplicates could introduce delays. The cost of storing large volumes of card data in Secret Manager could also become high compared to other options. Secret Manager is also not intended to handle large-scale data that needs to be queried frequently.
- Why it's not suitable: While Secret Manager is secure, it is not optimal for a high-performance tokenization service that requires fast access, frequent updates, and low latency.
B) Encrypt the card data with a deterministic algorithm stored in Firestore using Datastore mode.
- Pros: Firestore is scalable and provides low-latency read and write operations. It also supports high-throughput and can scale to handle large numbers of records.
- Cons: Firestore doesn't provide strong support for complex queries, and while you can encrypt the data deterministically, managing key rotation or preventing plaintext exposure could be more challenging compared to other options. Additionally, Firestore can be more expensive compared to other storage systems for large-scale data due to the way it charges based on document reads and writes.
- Why it's not suitable: Although Firestore provides low latency and scalability, it may not meet the cost and key rotation requirements as efficiently as other options designed specifically for handling encryption and key management.
C) Encrypt the card data with a deterministic algorithm and shard it across multiple Memorystore instances.
- Pros: Memorystore is an in-memor...
Author: Noah · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. Recently HRL started a new regional racing league in Cape Town, South Africa. In an effort to give customers in Cape Town a better user experience, HRL has partnered with the Content Delivery Network provider, Fastly. HRL needs to allow traffic coming from all of the Fastly IP address ranges into their Virtual Private Cloud network (VPC network). You are a membe...
Author: Joseph · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. The HRL development team releases a new version of their predictive capability application every Tuesday evening at 3 a.m. UTC to a repository. The security team at HRL has developed an in-house penetration test Cloud Function called
Airwolf. The security team wants to run Airwolf against the p...
To automate the process of running the Airwolf penetration test on the predictive capability application every Tuesday at 3 a.m. UTC when a new version is released, we need a solution that efficiently triggers a Cloud Function on a recurring schedule and ensures that it can start once the new version is available. Let's evaluate each option:
A) Set up Cloud Tasks and a Cloud Storage bucket that triggers a Cloud Function.
- Pros: Cloud Tasks can handle deferred or scheduled tasks, and a Cloud Storage bucket trigger could be set up to call a Cloud Function whenever new files are uploaded to the bucket. However, Cloud Tasks is not necessary for the recurring scheduling aspect, and a Cloud Storage trigger may not be appropriate for the use case, since the release process might not always involve file uploads to a bucket.
- Cons: Cloud Tasks would be redundant if we only need to run the function on a specific schedule. Also, Cloud Storage triggers would not be the most appropriate choice if the predictive capability application doesn't involve storing files in a bucket, and this could introduce unnecessary complexity.
B) Set up a Cloud Logging sink and a Cloud Storage bucket that triggers a Cloud Function.
- Pros: Cloud Logging sinks can capture logs from various services, but this setup is more commonly used for logging and monitoring, not for triggering actions like running a Cloud Function on a scheduled cadence.
- Cons: Using a Cloud Storage bucket trigger here would again require the presence of files in a bucket, which may not align with the requirements of this scenario. Cloud Logging sinks are not specifically designed to trigger actions on a regular schedule or in direct response to deployment events.
- Why it's not suitable: This approach focuses on logging rather than on scheduling or direct triggering of actions, making it an over-complicated and less relevant choice for this use case.
C) Configure the deployment job to notify a Pub/Sub queue that triggers a Cloud Function.
- Pros: Pub/Sub is an excellent choice for event-driven architectures, and configuring the deployment job to publish a...
Author: Aditya · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. HRL wants better prediction accuracy from their ML prediction models. They want you to use Google's AI Pla...
To enhance prediction accuracy and ensure that HRL can understand and interpret the predictions from their machine learning (ML) models, we need to focus on a solution that not only improves the predictions but also allows for interpretability and transparency in the decision-making process. Let's evaluate each option:
A) Use Explainable AI.
- Pros: Explainable AI (XAI) is designed specifically to improve the interpretability of machine learning models, allowing HRL to understand how predictions are being made. This is crucial when working with ML models where black-box predictions might not be easy to explain. Google’s AI Platform provides tools like AI Explanations which can help users interpret model predictions and understand which features are influencing outcomes.
- Cons: It doesn't directly improve prediction accuracy but provides interpretability. However, it is crucial for situations where stakeholders need to trust and understand model decisions.
- Why it's suitable: Since HRL specifically wants to understand and interpret the predictions, Explainable AI directly addresses this need by providing insights into how the model arrived at its conclusions, making it the best option.
B) Use Vision AI.
- Pros: Vision AI is a tool specifically designed for computer vision tasks, such as analyzing images or videos. If HRL's predictions involve image-based data (like race track images or camera footage), then this could be a useful tool for building ML models. It provides pre-built models for object detection, image classification, etc.
- Cons: Vision AI is focused on image and video analysis, which may not be relevant to HRL if their predictive models are based on non-visual data (e.g., race performance, betting odds, historical performance metrics). It doesn’t directly address model interpretability.
- Why it's not suitable: This option is only relevant if HRL is specifically working with visual data. Since HRL’s focus is on prediction accuracy and interpretability, Vision AI is not directly aligned with the needs described.
C) Use Google Cloud's operations suite.
- P...
Author: Noah · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. HRL is looking for a cost-effective approach for storing their race data such as telemetry. They want to keep all historical records, train models using only the previous season's data, and plan for data growth in terms of volume and information colle...
To address HRL's business requirements, we need to focus on a solution that is cost-effective, scalable, flexible for data growth, and can handle race telemetry data efficiently while also meeting the need to train models using only the previous season's data. Let's evaluate each option:
A) Use Firestore for its scalable and flexible document-based database. Use collections to aggregate race data by season and event.
- Pros: Firestore is a NoSQL, document-based database that offers scalability and flexibility. It can handle dynamic data models well and allows for efficient querying and retrieval of data. It's also cost-effective for smaller to medium-scale applications with variable data structures.
- Cons: Firestore is not ideal for handling large volumes of structured data like telemetry that might require complex analytical queries. While it's flexible, managing large datasets with precise analytical queries over multiple seasons might become complex and inefficient. It is not optimized for running advanced analytics or data training workflows that require historical and large datasets.
- Why it's not suitable: Although scalable and flexible, Firestore is more suited for unstructured or semi-structured data rather than structured time-series data like telemetry. It lacks the advanced querying and analytics features needed for handling race data at a large scale.
B) Use Cloud Spanner for its scalability and ability to version schemas with zero downtime. Split race data using season as a primary key.
- Pros: Cloud Spanner is a globally distributed, relational database service that provides strong consistency, high availability, and scalability. It is well-suited for applications with high throughput and large datasets, such as HRL’s growing telemetry data. Cloud Spanner also supports schema changes with zero downtime, which is useful as the data model evolves over time.
- Cons: While Cloud Spanner is excellent for high-scale applications, it is a more complex and expensive solution compared to other options like BigQuery or Cloud SQL. It might not be cost-effective unless HRL has an extremely large dataset with very high performance and availability requirements.
- Why it's not suitable: While scalable, Cloud Spanner’s complexity and cost might be overkill for HRL's needs, particularly when they are only storing historical data and training models based on previous seasons. A simpler, cost-effective solution may be more appropriate.
C) Use BigQuery for its scalability and ability to add columns to a schema. Partition race data based on season.
- Pros: BigQuery is a serverless, highly scalable data warehouse th...
Author: Zara1234 · Last updated May 10, 2026
For this question, refer to the Helicopter Racing League (HRL) case study. A recent finance audit of cloud infrastructure noted an exceptionally high number of
Compute Engine instances are allocated to do video encoding and transcoding. You suspect that these Virtual Machines are zombie machines that w...
To quickly identify idle VM instances in your cloud infrastructure, you need to focus on options that allow for rapid identification of unused or underutilized resources without manually checking each machine or relying on manual labels.
Option A: Log into each Compute Engine instance and collect disk, CPU, memory, and network usage statistics for analysis.
- This approach would be time-consuming and inefficient. Logging into each instance and collecting statistics manually is not feasible for scaling up operations and quickly identifying idle VMs. It is also labor-intensive and doesn’t give a centralized view of the infrastructure.
Option B: Use the gcloud compute instances list to list the virtual machine instances that have the idle: true label set.
- While labels like `idle: true` can be useful if they were previously set, they are not automatically applied by Google Cloud. This method is highly dependent on your previous tagging strategy. If the labels were not set for idle VMs, this option wouldn’t be useful for your situation.
Option C: Use the gcloud recommender command to list the idle virtual machine instances.
- This is an effective approach. Google Cloud’s recommender service provides idle VM recommendations based on usage patterns. It takes into account the actual utilization of resources and can identify VMs that are underutilized,...
Author: MoonlitPantherX · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. You are responsible for ensuring that EHR's use of Google Cloud will pass an upcomi...
To ensure EHR's use of Google Cloud will pass an upcoming privacy compliance audit, you need to focus on options that directly relate to compliance requirements, data protection, and maintaining privacy standards in the healthcare sector.
Option A: Verify EHR's product usage against the list of compliant products on the Google Cloud compliance page.
- Reasoning: This is a critical step in ensuring that the services and products used by EHR comply with relevant privacy and regulatory standards (e.g., HIPAA, GDPR). Google Cloud provides a list of products that are compliant with different privacy and security regulations. Checking whether EHR is using compliant services is essential for passing the audit.
- Why selected: Compliance audits require the verification that the technology used adheres to legal and regulatory frameworks. By verifying this, you ensure that EHR's infrastructure meets the required standards for privacy and security.
- Scenario for use: This is a fundamental step in preparing for any privacy compliance audit.
Option B: Advise EHR to execute a Business Associate Agreement (BAA) with Google Cloud.
- Reasoning: A BAA is required for healthcare entities to ensure that their cloud provider (Google Cloud in this case) is compliant with HIPAA and other healthcare privacy regulations. This agreement outlines the responsibilities of both parties in protecting patient data. Without a BAA, EHR cannot legally store or process Protected Health Information (PHI) in Google Cloud.
- Why selected: A BAA is a necessary legal document for compliance in healthcare environments where PHI is involved. It ensures that Google Cloud adheres to necessary privacy regulations and has the appropriate safeguards in place.
- Scenario for use: EHR must sign a BAA with Google Cloud if they are dealing with PHI, which is required for the audit.
Option C: Use Firebase Authentication for EHR's user-facing applications.
- Reasoning: While Firebase Authentication is a useful service for managing user identities and authentication, it does not directly address privacy compliance, especially in healthcare contexts where sensitive data like PHI is involved. Firebase Authentication may be compliant with general data security standards but does not specifically address the healthcare compliance requirements (e.g., HIPAA).
- Why rejected: While Firebase Authentication can be part of a secure infrastructure, it doesn't directly en...
Author: Sam · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. You need to define the technical architecture for securely deploying workloads to Google Cloud. You also need to ensure that only verified ...
To securely deploy workloads to Google Cloud while ensuring that only verified containers are deployed, you need to prioritize options that establish secure deployment pipelines and enforce trust in container images. Let’s examine each option in detail:
Option A: Enable Binary Authorization on GKE, and sign containers as part of a CI/CD pipeline.
- Reasoning: Binary Authorization is a Google Cloud service that ensures only trusted containers are deployed to GKE (Google Kubernetes Engine). By using a cryptographic signature (signing the containers as part of the CI/CD pipeline), you can ensure that only verified containers—those that meet your security criteria—are deployed to your cluster. This prevents unauthorized or malicious containers from being deployed.
- Why selected: This option directly addresses the need to ensure that only verified containers are deployed. It leverages Binary Authorization to enforce policy that only containers signed with a trusted signature are allowed to run. This is an ideal choice for securing the deployment process and protecting production workloads.
- Scenario for use: This is the primary method for controlling and verifying which containers can be deployed to production on GKE.
Option B: Configure Jenkins to utilize Kritis to cryptographically sign a container as part of a CI/CD pipeline.
- Reasoning: Kritis is an open-source project that integrates with Binary Authorization and can cryptographically sign containers in a CI/CD pipeline. While this option provides a method to sign containers, the key difference from Option A is that it is more of a complementary tool, whereas Binary Authorization itself enforces policies on GKE. Kritis can help in the signing process, but it doesn’t enforce deployment policies.
- Why rejected: While Kritis can be helpful in signing containers, Binary Authorization (Option A) directly provides a more comprehensive solution to enforce the deployment of only verified containers, including policies for deployment. Therefore, Option A is a more complete and direct answer to the question of securing deployments.
Option C: Configure Container Registry to only allow trusted service accounts to create and deploy containers from the registry.
- Reasoning: This option restricts access to the Container Registry by requiring only trusted service accounts to create and deploy containers. While thi...
Author: Suresh · Last updated May 10, 2026
You need to upgrade the EHR connection to comply with their requirements. The new connection design must support business-critical needs and meet the s...
To upgrade the EHR connection to meet business-critical needs while ensuring compliance with network and security policy requirements, we need to carefully evaluate the options based on their ability to provide a secure, high-performance, and scalable connection.
Option A: Add a new Dedicated Interconnect connection.
- Reasoning: A Dedicated Interconnect provides a direct, private connection between on-premises infrastructure and Google Cloud, offering high availability and low latency. It is ideal for business-critical workloads as it ensures high performance, security, and compliance with network and security policies. This option would meet the requirement of upgrading the connection while maintaining security and meeting business needs.
- Why selected: Dedicated Interconnect ensures reliable, secure, and high-throughput connections. It is the best fit for connecting to Google Cloud with minimal latency and maximum security, aligning well with the requirements for business-critical needs. It also meets compliance standards for sensitive healthcare data like PHI (Protected Health Information).
- Scenario for use: This is the ideal solution when high availability, low latency, and compliance with security policies are essential for business-critical applications, such as EHR systems.
Option B: Upgrade the bandwidth on the Dedicated Interconnect connection to 100 G.
- Reasoning: Upgrading the bandwidth of an existing Dedicated Interconnect connection to 100 G provides more throughput, which could be beneficial if the current bandwidth is insufficient for the growing needs of the business. However, it doesn’t address the need for adding a new connection that might be required for redundancy, failover, or expansion.
- Why rejected: While this would improve performance, it does not provide additional redundancy or improve connectivity to meet the specific needs of business-critical workloads. Adding a new Dedicated Interconnect (Option A) provides more scalability and redundancy, which is important for high availability and ensuring the connection is resilient and reliable.
- Scenario for use: This would be useful if the existing Dedicated Interconnect is nearing its capacity or is not meeting performance needs, but it does not add redundancy or expansion as effectively as adding a new connection.
Option C: Add three new Cloud VPN connections.
- Reasoning: Cloud VPN off...
Author: Henry · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. You need to define the technical architecture for hybrid connectivity between EHR's on-premises systems and Google Cloud. You want to follow Google's recommended practices for production-l...
To define the technical architecture for hybrid connectivity between EHR's on-premises systems and Google Cloud, we need to focus on options that follow Google's recommended practices for high availability, redundancy, and secure connectivity for production-level applications.
Option A: Configure two Partner Interconnect connections in one metro (City), and make sure the Interconnect connections are placed in different metro zones.
- Reasoning: Partner Interconnect allows you to connect to Google Cloud via a third-party telecommunications provider. Configuring two connections in different metro zones within the same city would provide redundancy and fault tolerance. However, if the city itself experiences a significant disruption, this could still leave the connection vulnerable. While this option provides a level of redundancy, it doesn't maximize geographical diversity, which is a key best practice for production-level applications.
- Why rejected: This setup provides redundancy in terms of availability within one metro, but geographical diversity (across different cities or metros) is crucial to ensure higher availability and minimize the impact of regional failures. For business-critical systems like EHR, diversifying connectivity across different regions or metro areas is recommended for added resilience.
Option B: Configure two VPN connections from on-premises to Google Cloud, and make sure the VPN devices on-premises are in separate racks.
- Reasoning: Using Cloud VPN for hybrid connectivity is a valid solution, but it may not be sufficient for production-level applications that require high throughput and low latency. VPN connections, which rely on public internet infrastructure, are more prone to performance fluctuations and potential security risks compared to direct private connections like Dedicated Interconnect or Partner Interconnect.
- Why rejected: While this option provides redundancy through separate racks, VPN connections are typically not suited for business-critical workloads that require a stable, low-latency, and high-performance connection, such as those in a healthcare environment handling sensitive data. VPN is more suitable for smaller-scale or less performance-sensitive workloads.
Option C: Configure Direct Peering between EHR Healthcare and Google Cloud, and make sure you are peering at least two Google locations.
- Reasoning: Direct Peering enables a direct connection to Google Cloud via physical peering points, which can offer low-latency and high-throughput connectivity. However...
Author: Aditya · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. You are a developer on the EHR customer portal team. Your team recently migrated the customer portal application to Google Cloud. The load has increased on the application servers, and now the application is logging many timeout errors. You recently incorporated Pub/Sub into the appl...
In this scenario, the goal is to improve publishing latency and address the issue of increased load on the application servers due to timeouts. Let's analyze each option:
A) Increase the Pub/Sub Total Timeout retry value.
- Reasoning: Increasing the retry value is generally used to handle situations where network failures or temporary issues occur. While this can ensure that the messages are eventually delivered, it does not address the core issue of latency and increased load. It could lead to delays in processing messages, as it only affects the retry logic and not the underlying speed of publishing.
- When to use: This would be suitable in scenarios where temporary failures or transient issues are causing message publishing to fail, but it won't reduce latency or optimize throughput in the case of increased load.
- Why rejected: This does not help in improving publishing latency, which is the primary concern in this case.
B) Move from a Pub/Sub subscriber pull model to a push model.
- Reasoning: In the pull model, subscribers periodically poll for messages, which can increase latency as the server waits for messages to be pulled. A push model, on the other hand, allows messages to be pushed immediately to the subscriber. This can reduce latency by avoiding unnecessary polling and allowing for quicker processing of messages.
- When to use: This is ideal for scenarios where you need to reduce latency and improve the speed at which messages are consumed by subscribers.
- Why rejected: Although this option helps with message consumption, it does not directly address the publishing latency. This might help in reducing consumer-side delays but doesn’t optimize the publishing...
Author: Amira · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. In the past, configuration errors put public IP addresses on backend servers that should not have been accessible from the Internet. You need to ensure that no one can put external IP addresses on backend Compute Engine i...
Analyzing the Options:
The objective is to ensure that no one can assign external IP addresses to backend Compute Engine instances, while only frontend instances should be able to have external IP addresses. Let's evaluate the options:
A) Create an Organizational Policy with a constraint to allow external IP addresses only on the frontend Compute Engine instances.
- Reasoning: This is the best solution for enforcing organization-wide policies regarding external IP assignments. By creating an organizational policy with constraints, you can enforce the rule that only frontend Compute Engine instances can have external IPs, preventing the configuration of external IPs on backend instances. Organizational policies allow you to enforce consistent rules across your environment, which is ideal for ensuring security compliance and controlling resources.
- When to use: This should be used when you need a robust, centralized solution that ensures no one can inadvertently assign external IP addresses to backend instances.
- Why selected: This is the most effective way to prevent configuration errors and enforce rules organization-wide. It ensures consistency, security, and compliance.
B) Revoke the compute.networkAdmin role from all users in the project with frontend instances.
- Reasoning: Revoking the `compute.networkAdmin` role would limit users' ability to manage networking resources, including the assignment of external IPs. However, this does not guarantee that external IP addresses will only be assigned to frontend instances, as it might block all users from configuring any external IPs. This could cause unnecessary restrictions and limit the flexibility needed for valid use cases where frontend instances require external IPs.
- When to use: This option could be considered if you want to restrict the ability to assign external IP addresses across the board, but it is too broad and could hinder normal operations.
- Why rejected: It is overly restrictive and would prevent legitimate actions on frontend instances.
C) Create an Identity and Access Management (IAM) policy that maps the IT staf...
Author: ShadowWolf101 · Last updated May 10, 2026
For this question, refer to the EHR Healthcare case study. You are responsible for designing the Google Cloud network architecture for Google Kubernetes
Engine. You want to follow Google best practices. Considering the EHR ...
To reduce the attack surface for Google Kubernetes Engine (GKE) in the context of the EHR Healthcare case, we need to ensure that the infrastructure is secured from unauthorized access and follows best practices for a secure network setup. Let's evaluate the options:
A) Use a private cluster with a private endpoint with master authorized networks configured.
- Reasoning: A private cluster with a private endpoint ensures that the GKE control plane (master node) is not accessible from the public internet. The master is only accessible from within your Virtual Private Cloud (VPC) and the access is further restricted using master authorized networks. This setup significantly reduces the attack surface because:
- The control plane is not exposed to the internet, which reduces the potential for external attacks.
- Master authorized networks allow you to define a whitelist of IP addresses that are permitted to access the master node, adding an additional layer of security.
- When to use: This is ideal when the goal is to minimize exposure of the control plane and reduce the attack surface. This aligns with Google best practices for high security, particularly in sensitive environments like healthcare applications.
- Why selected: This setup provides the highest level of security by ensuring that the master endpoint is not publicly accessible, making it suitable for EHR Healthcare’s business and technical requirements.
B) Use a public cluster with firewall rules and Virtual Private Cloud (VPC) routes.
- Reasoning: A public cluster with a public endpoint exposes the GKE control plane to the internet. While you can use firewall rules and VPC routes to restrict access, the fact that the control plane is publicly accessible by default increases the attack surface significantly. This option is less secure compared to a private cluster setup, as it makes the control plane potentially vulnerable to internet-based attacks, even with firewall configurations.
- When to use: This is suitable for situations where access to the control plane is required from outside of the private network, but it's not ideal in scenarios where security and reducing attack surfaces are a priority.
- Why rejected: A public cluster with exposed control plane access is not optimal for reducing the at...
Author: StarryEagle42 · Last updated May 10, 2026
Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from t...
To design a new testing strategy for Mountkirk Games on Google Cloud, the test coverage must adapt to the nature of the platform and the changes in architecture compared to existing backends on other platforms. Let's evaluate each option based on the specific goals of scalable, secure, and reliable testing on GCP:
A) Tests should scale well beyond the prior approaches.
- Reasoning: As the new system is being designed on Google Cloud, it’s important to ensure that the testing strategy scales with the increased complexity and potential for higher traffic and resource usage. On GCP, there are numerous services that may need to be integrated, such as Compute Engine, Kubernetes Engine, Pub/Sub, and BigQuery, which require tests that scale appropriately. This means that Mountkirk Games must design their tests to handle these advanced infrastructure setups and higher traffic volumes, allowing them to simulate a variety of production conditions in a scalable way.
- When to use: This is ideal in cloud environments where the platform is scalable, and tests need to scale accordingly. It is crucial when transitioning to a cloud platform like GCP to test applications under conditions that mimic real-world usage.
- Why selected: This ensures that the tests are aligned with cloud-native architectures and can handle the scale that GCP offers. It also addresses future-proofing the testing strategy as the application grows.
B) Unit tests are no longer required, only end-to-end tests.
- Reasoning: While end-to-end tests are essential for verifying system-wide interactions, unit tests remain a core component of software testing, especially when building systems in the cloud. Unit tests validate that individual components are working correctly and can catch bugs early in the development process. Relying solely on end-to-end tests would be inefficient and increase the chances of bugs slipping through undetected at earlier stages.
- When to use: This option could be relevant in certain cases if the focus is solely on integration or acceptance testing, but it does not align well with best practices for overall software development.
- Why rejected: Unit tests are still necessary, especially in complex systems, and they should be included alongside other types of tests (integration, system, etc.) to ensure early detection of issues.
...
Author: BlazingPhoenix22 · Last updated May 10, 2026
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 ...
To design an effective testing process for Mountkirk Games' new backend on Google Cloud Platform (GCP), it's essential to consider cost-effectiveness, scalability, and realistic simulation of production loads. Let's evaluate each option:
A) Create a scalable environment in GCP for simulating production load:
- Selected: This option provides a flexible and scalable approach to testing. By creating a scalable testing environment, you can dynamically adjust the load to simulate various real-world conditions, such as high traffic, spikes, or other scenarios. This approach allows for realistic load testing and can scale according to the needs of the test, making it both economical and efficient. You can provision resources on-demand, optimizing costs based on the scale required for each test. This approach allows you to test under production-like conditions while being able to scale up or down based on the required intensity of the test, making it a great fit for Mountkirk Games.
B) Use the existing infrastructure to test the GCP-based backend at scale:
- Rejected: This option involves using the existing infrastructure to test the backend, which might be on-premises or using non-cloud resources. It doesn't leverage the scalability of GCP and may result in inaccurate testing because the environment and traffic simulation will not closely match the GCP infrastructure. Additionally, the infrastructure might not be capable of simulating real production-like loads at scale, leading to poor performance insights and inaccurate results.
C) Build stress tests into each component of your application using resources internal to GCP to simulate load:
- ...
Author: RadiantJaguar56 · Last updated May 10, 2026
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 inte...
To determine the best set of products for Mountkirk Games' continuous delivery pipeline, we need to look at their requirements and evaluate the options based on them:
Requirements:
1. Services deployed redundantly across multiple regions: This means that services should be available in more than one region for high availability and reliability.
2. Only frontend services exposed to the public internet: This implies that there is a need to keep backend services private while making the frontend services publicly accessible.
3. Single frontend IP for the fleet: The solution should allow services to be accessed under a single IP address, which is crucial for simplifying traffic management and routing.
4. Immutable deployment artifacts: Once a deployment artifact is created, it should not change. This suggests using containerized deployments or other immutable artifact solutions.
---
Evaluation of Options:
A) Google Cloud Storage, Google Cloud Dataflow, Google Compute Engine:
- Google Cloud Storage: It can store deployment artifacts but is not sufficient for deploying and managing the services themselves.
- Google Cloud Dataflow: Primarily used for stream and batch data processing; it is not relevant for hosting and deploying services.
- Google Compute Engine: While you can deploy services on Compute Engine, it requires manual management of the services and doesn't natively support easy scaling or redundancy across regions.
Why rejected: The combination of Dataflow and Compute Engine is not well-suited for building a continuous delivery pipeline. It lacks the seamless management, orchestration, and scaling needed for the architecture described.
B) Google Cloud Storage, Google App Engine, Google Network Load Balancer:
- Google Cloud Storage: Useful for storing artifacts but does not handle deployments.
- Google App Engine: A platform for app hosting, but it is typically used for simple, monolithic applications. It may not be ideal for deploying many small, independent services (microservices architecture).
- Google Network Load Balancer: Suitable for routing traffic across services but doesn't integrate as well with modern containerized deployments.
Why rejected: Google App Engine is not the best choice for managing a fleet of microservices with a continuous delivery pipeline. It is better sui...
Author: Liam · Last updated May 10, 2026
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...
To address the issue of slow response times and 503 errors, Mountkirk Games should focus on identifying the root cause of the service disruption. Let’s evaluate each option based on the information provided.
Key Symptoms:
- 503 errors: This typically means the service is unavailable, which can occur if the backend is overwhelmed or if the infrastructure cannot handle the load.
- Slow response times: This suggests a performance issue, which could be due to resource constraints, inefficient code, or service misconfigurations.
---
Evaluation of Options:
A) Verify that the database is online:
- If the database were down, it would likely cause 503 errors and slow response times, especially if the service depends on database queries to serve users. However, this could be a secondary issue, as the database might still be online, but overwhelmed by the increased load. While checking the database status is important, it does not directly address the root cause, which seems related to scaling and load handling.
Why rejected: It’s worth verifying, but the symptoms (503 errors and slow responses) seem to point to a scaling issue or infrastructure bottleneck rather than just a database downtime issue.
B) Verify that the project quota hasn't been exceeded:
- Google Cloud has various service quotas (e.g., for networking, compute resources, etc.). If these quotas are exceeded, the services could fail to scale, potentially causing the 503 errors and poor performance. However, the problem described seems more related to the application's ability to scale under load rather than resource limits being hit.
Why rejected: Quota limits are a possibility,...
Author: Nia · Last updated May 10, 2026
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 ac...
To meet the requirements of isolating the development and testing environments from staging and production while allowing controlled access to resources, let's evaluate the options and determine the best solution based on the context.
Key Requirements:
1. Isolated development environments: Developers and testers should be isolated from production and staging but need to be able to access each other's environments.
2. Access between staging and production: The staging environment should have access to some services from the production environment, but production should be protected.
3. Repeatable and configurable mechanism: The deployment mechanism should be easily reproducible for each environment and allow configuration to suit the needs of each environment.
---
Evaluation of Options:
A) Create a project for development and test and another for staging and production:
- Projects in Google Cloud are the top-level containers and are typically used to separate resources and control access through Identity and Access Management (IAM) roles. Having separate projects for development/test and staging/production allows strong isolation at the project level, especially in terms of access control.
- This solution ensures strict isolation between development/test environments and staging/production environments, as access to resources in one project can be tightly controlled and monitored.
- Staging can access production resources via specific network rules, IAM roles, and service account configurations, but production resources will be isolated from both development and test environments.
Why selected: This option provides clear isolation of environments using projects and allows for manageable access between staging and production resources, which is exactly what is needed. It also supports repeatability and configurability because environments can be easily replicated in separate projects. It uses IAM effectively to control access and maintain security boundaries.
B) Create a network for development and test and another for staging and production:
- Creating separate networks for development/test and staging/production would give some level of isolation, but networks are not as strong of a boundary as projects. While this option could control access at the network level, it doesn't provide the same level of isolation in terms of resource management, IAM, and cost separation as separate projects would.
- This approach may still leave gaps in security and access control, as different environments within the same project could still be able to communicate over the network unless strict firewall rules and private networking are configured.
Why rejected: While creating sepa...
Author: Carlos Garcia · Last updated May 10, 2026
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 Goog...
To design a migration plan for Mountkirk Games' move from their current analytics and statistics reporting model to a more scalable and efficient solution on Google Cloud Platform (GCP), we need to focus on key aspects such as data processing, performance optimization, and scalability. Let’s evaluate each option and select the appropriate steps to take.
Key Considerations:
- Migration of data processing: The current system likely involves batch processing of analytics data. A cloud-based solution should leverage scalable tools for handling large data volumes.
- Optimization: The new solution should ensure performance at scale, especially for large datasets, and should optimize the way data is stored and queried.
- Database and infrastructure transition: There may be a shift from on-premise or other cloud-based services to more cloud-native solutions like BigQuery.
---
Evaluation of Options:
A) Evaluate the impact of migrating their current batch ETL code to Cloud Dataflow:
- Cloud Dataflow is a fully managed service for processing batch and stream data, which is highly suitable for ETL (Extract, Transform, Load) workflows. Mountkirk Games would likely need to move their ETL code to a more scalable and managed solution on Google Cloud, and Cloud Dataflow is the ideal service for this. Migrating the ETL pipelines to Cloud Dataflow will help them scale data processing seamlessly while maintaining flexibility in handling large datasets.
Why selected: This is an essential step for migrating from an on-premise or legacy ETL system to a cloud-native, managed service like Cloud Dataflow. It directly impacts their ability to process data efficiently and scale as their needs grow.
B) Write a schema migration plan to denormalize data for better performance in BigQuery:
- BigQuery is a powerful data warehouse solution on Google Cloud, optimized for running SQL queries on large datasets. Denormalization in BigQuery is common to optimize performance for analytics queries. While this may be a part of the overall migration process, it is more of a database optimization step rather than an immediate migration step.
- Writing a schema migration plan ensures that data is structured optimally for BigQuery, but it is more of a fine-tuning task after the migration has been planned and executed.
Why selected: Denormalization is often needed to improve performance for large datasets, especially in BigQuery. It will likely be part of the migration plan after initial data migration to the cloud. However, it is secondary to setting up the initial m...
Author: Ethan · Last updated May 10, 2026
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. Conside...
To determine the best technical architecture for Mountkirk Games' compute workloads, we need to focus on the business and technical requirements, such as scalability, cost-effectiveness, availability, and the need for rapid scaling to meet sudden surges in demand (such as in gaming environments). Let's evaluate each option based on these criteria.
Key Considerations:
- Global scaling: Mountkirk Games operates with a large user base, potentially across multiple regions, and will need to handle varying traffic loads efficiently.
- High availability: The architecture should ensure that gaming services are available at all times to users, which means the solution must be resilient to failure.
- Cost efficiency: Preemptible instances offer cost savings, but they are suitable only for workloads that can tolerate interruptions.
- Autoscaling: The solution must handle spikes in demand automatically, which suggests the need for managed instance groups and autoscaling.
---
Evaluation of Options:
A) Create network load balancers. Use preemptible Compute Engine instances:
- Network Load Balancers: These can route traffic to resources across regions and are suitable for scenarios where low-latency and fault tolerance are important.
- Preemptible Compute Engine instances: Preemptible instances are much cheaper than regular instances, but they can be terminated by Google Cloud at any time if the system needs to free up resources. This makes them suitable only for non-critical, stateless workloads where interruption is acceptable.
- For Mountkirk Games' gaming services, preemptible instances might not be ideal because user sessions or game servers need to be highly available. If the instance is preempted, the gaming experience could be disrupted.
Why rejected: While cost-effective, preemptible instances introduce potential disruptions that are not ideal for a gaming service where consistent availability is key.
B) Create network load balancers. Use non-preemptible Compute Engine instances:
- Non-preemptible instances: These are regular Compute Engine instances that ensure long-term availability without the risk of being preempted, which makes them suitable for applications where uptime is critical, such as in gaming.
- Network Load Balancers are still effective for distributing traffic, but this option doesn't leverage the benefits of autoscaling and managed instance groups, which are important for handling the dynamic nature of gaming traffic that can fluctuate rapidly.
Why rejected: While non-preemptible instances ensure availability, this option lacks autoscaling an...
Author: Ethan Smith · Last updated May 10, 2026
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 improvem...
For Mountkirk Games, the goal is to design their solution for future scalability and to leverage cloud and technology improvements. Let's analyze each option:
A) Store as much analytics and game activity data as feasible today so it can be used to train machine learning models to predict user behavior in the future.
- Rejected: While this could be useful for future predictions, storing too much data in advance may lead to inefficiency, additional storage costs, and complexity. It’s important to strike a balance. Also, collecting unnecessary data before it's needed may not be the most optimal approach. Instead, Mountkirk could focus on establishing systems that allow them to collect and process relevant data as required. This would ensure they remain agile and adaptable to future cloud and technology improvements.
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.
- Selected: This is an excellent choice because Kubernetes allows Mountkirk Games to scale their infrastructure dynamically based on demand. As game activity fluctuates, scaling infrastructure efficiently ensures optimal performance without over-provisioning resources. It also aligns with cloud-native practices and future-proofing by taking advantage of containerization and orchestration technologies. Kubernetes will provide flexibility and the ability to scale quickly as the game’s user base grows or fluctuates. Containerization is a key element in cloud-native architecture, supporting both future improvements and agility in the game’s backend.
C) Set up a CI/CD pipeline using Jenkins and Spinnaker to automate canary deployments and improve development velocity.
- Rejected: While CI/CD pipelines are valuable for increasing development velocity and improving release processes, this option does not directly address future scalab...
Author: Oliver · Last updated May 10, 2026
For this question, refer to the Mountkirk Games case study. Mountkirk Games wants you to design a way to test the analytics platform's resilie...
To test the analytics platform's resilience to changes in mobile network latency, the solution should simulate realistic network conditions and allow the platform to be evaluated under varying latency scenarios. Let's evaluate each option:
Option A: Deploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic.
- Reasoning for selection: This option directly targets the goal of testing the platform's resilience by simulating additional latency in the mobile client traffic. By using failure injection software, you can introduce network delays, packet loss, and other issues without altering the mobile clients themselves. This is a controlled way of testing how the analytics platform behaves when mobile network latency fluctuates, which is essential for resilience testing. It also allows for automated and repeatable tests of various latency conditions.
Option 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.
- Reasoning for rejection: While this option involves creating realistic traffic, running multiple emulators across regions may not accurately simulate the real-world variability of mobile network latency. Emulators might not replicate the full complexity of mobile device networks, such as varying signal quality, carrier-specific behaviors, and user movement. This test scenario could also lack the real-world unpredictability that mobile devices often experience. It might not be as effective for assessing the platform's real-world resilience u...
Author: Lina Zhang · Last updated May 10, 2026
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 Gam...
To determine the most suitable technical architecture for the database workloads at Mountkirk Games, we need to assess the types of data being processed (e.g., time series, transactional, historical) and the business requirements (such as scalability, consistency, and performance).
Let's break down each option:
Option A: Use Cloud SQL for time series data, and use Cloud Bigtable for historical data queries.
- Reasoning for rejection: Cloud SQL is designed for relational data, and while it can handle time series data in certain scenarios, it’s not the best fit for handling high throughput and scalability demands typical of time series workloads. Cloud Bigtable, on the other hand, is a NoSQL database optimized for time series data and real-time analytics. However, using Bigtable for historical data queries is not ideal, as Bigtable is more optimized for high-performance, low-latency access to time series data rather than complex historical data queries, which require more sophisticated analytics capabilities. Therefore, this combination isn't the best choice for balancing performance and analytical needs.
Option B: Use Cloud SQL to replace MySQL, and use Cloud Spanner for historical data queries.
- Reasoning for rejection: While Cloud SQL can replace MySQL and provide reliable relational database management, it's not designed for horizontal scalability at the level needed for high-performance or highly distributed applications (like large-scale gaming platforms). Cloud Spanner is designed for scalability, but it's more suited for transactional data rather than being specialized for historical queries. Using Cloud Spanner for historical data queries doesn't align well with its strengths, which lie in providing strong consistency and horizontal scaling for transactional workloads.
Option C: Use Cloud Bigtable to replace MySQL, and use BigQuery for h...
Author: Ava · Last updated May 10, 2026
For this question, refer to the Mountkirk Games case study. Which managed storage option meets Mountkirk's technical requirement for...
To select the best managed storage option for storing game activity in a time series database service, we need to assess the requirements for time series data, such as high write throughput, low-latency read access, and scalability. Let's evaluate each option:
Option A: Cloud Bigtable
- Reasoning for selection: Cloud Bigtable is designed specifically for time series data and high-volume workloads, making it the best option for Mountkirk Games' use case. It is highly scalable and can handle large amounts of data efficiently, with low-latency reads and writes, which are crucial for game activity tracking. Bigtable is optimized for handling time series data due to its ability to store data in a sorted key-value format, making it ideal for use cases that require fast reads and writes over time-stamped data.
Option B: Cloud Spanner
- Reasoning for rejection: Cloud Spanner is a horizontally scalable relational database, suitable for transactional workloads that require strong consistency and global distribution. While it could technically store time series data, it's not the best fit for high-throughput time series workloads because it's more optimized for transactional and relational data. Its complex consistency model and focus on relational data structures make it less efficient than Bigtable for time series workloads, where fast writes and time-based data access are...
Author: Siddharth · Last updated May 10, 2026
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...
To design the backend for Mountkirk Games' new Game Backend Platform, we need to consider key factors like scalability, availability, performance, and following Google-recommended practices for cloud infrastructure. The game communicates with the backend over a REST API, which implies that traffic management, scaling, and fault tolerance are crucial.
Let’s evaluate each option:
Option 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.
- Reasoning for rejection: While deploying the backend on a multi-zone managed instance group improves availability and fault tolerance across multiple zones in a region, using an L4 load balancer is not ideal for REST APIs. L4 load balancers operate at the transport layer (TCP/UDP), and although they can distribute traffic, they don’t have the advanced capabilities necessary for handling HTTP/HTTPS traffic efficiently. For REST API traffic, an L7 load balancer (which operates at the application layer) would provide better capabilities, such as path-based routing, SSL termination, and content-based routing.
Option 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.
- Reasoning for rejection: Deploying in a single-zone managed instance group creates a single point of failure, which compromises availability and fault tolerance. If the zone goes down, the backend becomes unavailable. While L4 load balancers could technically distribute traffic, this approach is less optimal for managing REST API traffic effectively and doesn't provide sufficient fault tolerance, making it unsuitable for scalable, high-...
Author: Liam · Last updated May 10, 2026
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 Stora...
When optimizing batch file transfers to Cloud Storage for Mountkirk Games' Google Cloud solution, the goal is to efficiently move game statistics while ensuring minimal delay and resource usage. Here's a breakdown of the options and their applicability:
Option A: Use gsutil to batch move files in sequence.
- Reasoning: Moving files in sequence means the system transfers one file at a time. While this may work for small datasets, it would be highly inefficient for large volumes of game statistics files. The transfer time would be significantly longer, leading to slow performance, especially if multiple files need to be processed by the ETL tool later.
- Rejected: Sequential transfers can bottleneck the performance, which isn't ideal for a cloud storage solution that needs to handle large datasets efficiently.
Option B: Use gsutil to batch copy the files in parallel.
- Reasoning: Parallel transfers make use of multiple threads to transfer several files simultaneously. This significantly increases the speed of the batch file upload to Cloud Storage. Given that the goal is to transfer a large batch of files containing game statistics, using parallel copying ensures that the process scales well and finishes quicker. Google Cloud Storage is designed to handle parallel uploads efficiently, reducing the overall latency and making the transfer more optimized.
- Selected: This is the best option because it maximizes throug...
Author: Kai · Last updated May 10, 2026
You are implementing Firestore for Mountkirk Games. Mountkirk Games wants to give a new game programmatic access to a legacy game's Firestore database....
When implementing Firestore access for a new game to access a legacy game's Firestore database, the primary goal is to provide the new game programmatic access in the most secure and restricted way possible, adhering to the principle of least privilege. Let's evaluate each option:
Option 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.
- Reasoning: The Organization Admin role provides broad access across all resources within the Google Cloud organization, including the ability to modify IAM settings and manage resources across projects. This is an excessive permission for accessing Firestore data and should be avoided, as it grants unnecessary privileges. This violates the principle of least privilege.
- Rejected: Granting such broad roles to service accounts is insecure, as it opens the door to misuse or unintended access to other resources.
Option 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.
- Reasoning: This option also assigns the Organization Admin role, which again provides excessive permissions. Additionally, the Firebase Admin role grants permissions that are too broad, potentially allowing full access to modify and manage Firebase-related resources, which is unnecessary for simply accessing Firestore data.
- Rejected: The use of the Organization Admin role is too permissive, and Firebase Admin may grant more permissions than required for just Firestore access.
Option 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.
- Reasoning: Similar to Option B, the Firebase Admin role g...
Author: Oliver · Last updated May 10, 2026
Mountkirk Games wants to limit the physical location of resources to their operating Google Cloud re...
When limiting the physical location of resources to specific Google Cloud regions, the goal is to prevent resources from being deployed outside the operating regions, ensuring that all resources are confined to a controlled geographic area. Let's evaluate the options:
Option A: Configure an organizational policy which constrains where resources can be deployed.
- Reasoning: Google Cloud provides the ability to enforce location constraints on resource deployments through organizational policies. Using the `constraints/gcp.resourceLocations` policy, you can specify which regions or multi-regions are allowed for resource deployment. This is the most effective and direct way to control the physical locations where resources can be provisioned.
- Selected: This is the best option because it allows you to set clear and enforceable rules that limit the regions where resources can be created, directly addressing the requirement to limit physical locations.
Option B: Configure IAM conditions to limit what resources can be configured.
- Reasoning: IAM conditions are primarily used to control who can perform actions under certain conditions, such as based on time or resource attributes, but they don’t directly restrict the geographic location of resource deployment. IAM conditions are useful for access control but are not suited for restricting resource regions.
- Rejected: This option does not address the core need, which is limiting where resources are deployed geographically.
Option C: Configure the quot...
Author: Sophia · Last updated May 10, 2026
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 instan...
To meet the business and technical requirements for Mountkirk Games, where the goal is to have regional game instances across multiple Google Cloud regions, we need to focus on ensuring high availability, scalability, and flexibility across multiple regions. Let's analyze each option in detail:
Option A: Configure a global load balancer connected to a managed instance group running Compute Engine instances.
- Reasoning: A global load balancer can distribute traffic across multiple Google Cloud regions, and managed instance groups (MIGs) ensure scalability by automatically managing instance pools. However, this option is more suited to traditional Compute Engine instances, which might not be ideal for modern cloud-native applications like Kubernetes-based deployments (which is likely the use case for Mountkirk Games). Additionally, using Compute Engine for running game instances may not offer the flexibility and scalability that a containerized approach (like Google Kubernetes Engine) would.
- Rejected: While this approach can work, it is less suitable for a containerized environment, which is often the preferred architecture for modern games requiring dynamic scaling and flexibility.
Option B: Configure kubemci with a global load balancer and Google Kubernetes Engine.
- Reasoning: Kubernetes Multi-Cluster Ingress (kubemci) is a solution that works with Google Kubernetes Engine (GKE) to provide global load balancing across multiple GKE clusters deployed in different regions. This would work well for running containers across multiple regions with seamless traffic distribution. However, kubemci is still evolving and can sometimes have more complexity compared to other fully supported solutions, especially for specific ingress needs.
- Selected: This is a valid and modern approach, particularly if Mountkirk Games is leveraging Google Kubernetes Engine (GKE) for their game instances. It allows for easy scaling, container orchestration, and traf...
Author: Elijah · Last updated May 10, 2026
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 qu...
To effectively evaluate the quality of new game versions from the user's perspective, service level indicators (SLIs) should be focused on metrics that directly impact user experience and the overall functionality of the game. Let's evaluate each option based on this goal:
Option A: Create CPU Utilization and Request Latency as service level indicators.
- Reasoning: CPU Utilization can be important for understanding the resource consumption of the game instance, but it may not directly correlate to the user experience unless there are performance degradation issues. Request Latency, on the other hand, is crucial because it measures how long it takes for a user request to be processed by the game. This metric directly affects user experience.
- Rejected: While request latency is valuable, CPU utilization alone does not offer a direct measure of user experience quality, especially in terms of how users interact with the game. The user’s experience is more impacted by the speed and correctness of responses rather than just resource usage.
Option B: Create GKE CPU Utilization and Memory Utilization as service level indicators.
- Reasoning: Similar to Option A, CPU Utilization and Memory Utilization are related to the infrastructure and resource usage. These metrics can give insights into the efficiency of the game instances running on GKE, but they do not directly measure user experience. In fact, high resource usage may occur even when the user experience is unaffected (for example, during complex computations or game processes).
- Rejected: These metrics focus too much on internal resource usage and not on the user's interaction with the game, making them less suitable for SLIs from the user's perspective.
Option C: Create Re...
Author: Manish · Last updated May 10, 2026
Mountkirk Games wants you to secure the connectivity from the new gaming application platform to Google Cloud. You want to streamline the proces...
To secure the connectivity from the new gaming application platform to Google Cloud, the primary goal is to follow Google-recommended practices to ensure secure identity management, secret management, and encryption of sensitive data. Let's analyze each option:
A) Configure Workload Identity and service accounts to be used by the application platform.
- Explanation: Workload Identity is the Google-recommended practice for enabling Google Cloud services to authenticate using Google Cloud service accounts. Workload Identity is a better fit when you want to authenticate workloads without directly managing service account keys. It integrates seamlessly with Google Kubernetes Engine (GKE) and provides secure identity management with minimal configuration.
- Why rejected: This option is focused on managing identity rather than secrets, and does not cover how secrets (like credentials or other sensitive information) are securely stored or managed within the application platform.
B) Use Kubernetes Secrets, which are obfuscated by default. Configure these Secrets to be used by the application platform.
- Explanation: Kubernetes Secrets can be used to store sensitive data such as API keys, passwords, and certificates. However, the default "obfuscation" is just base64 encoding, which is not a secure encryption method. Kubernetes Secrets are not encrypted at rest unless configured properly (e.g., enabling encryption at rest in the Kubernetes cluster).
- Why rejected: While Kubernetes Secrets can be used for storing sensitive data, relying on base64 encoding is not sufficient for security purposes in production environments. Without strong encryption mechanisms, this solution is not considered secure by Google Cloud standards.
C) Configure Kubernetes Secrets to store the secret, enable Application-Layer Secrets Encryption, and use Cloud Key Mana...
Author: Siddharth · Last updated May 10, 2026
TerramEarth's CTO wants to use the raw data from connected vehicles to help identify approximately when a vehicle in the field will have a catastrophic failure.
You want to allow analys...
Author: Ella · Last updated May 10, 2026
The TerramEarth development team wants to create an API to meet the company's business requirements. You want the development team to focus their development effort on busine...
When the TerramEarth development team wants to create an API while focusing on business value, the key consideration is minimizing the effort spent on developing a custom framework. The goal should be to use a fully managed solution with minimal overhead that provides out-of-the-box tools and integration capabilities. Let's analyze the available options:
A) Use Google App Engine with Google Cloud Endpoints. Focus on an API for dealers and partners.
- Explanation: Google Cloud Endpoints is a fully managed service that helps you create, deploy, and manage APIs. By using App Engine with Cloud Endpoints, the development team can focus on writing business logic instead of managing infrastructure or frameworks. This is an excellent option for creating APIs for dealers and partners with minimal setup and good scalability.
- Why selected: Google App Engine with Cloud Endpoints is a fully managed solution that allows the development team to focus entirely on the business logic and API functionality. Cloud Endpoints provides built-in API management features such as monitoring, authorization, and rate limiting, which saves time and effort. This is the most straightforward and efficient solution for the given use case.
B) Use Google App Engine with a JAX-RS Jersey Java-based framework. Focus on an API for the public.
- Explanation: While JAX-RS (Java API for RESTful Web Services) and Jersey are powerful for building REST APIs in Java, they require more setup and custom development compared to Google Cloud Endpoints. The development team would need to configure the API framework, manage the routing, error handling, and more. This adds complexity without significant advantages over a managed solution like Cloud Endpoints.
- Why rejected: Using JAX-RS Jersey requires the team to focus on creating a custom API framework. This defeats the purpose of minimizing development effort to focus on business value, especially when a fully managed solution like Cloud Endpoints is available.
C) Use Google App Engine with the Swagger (Open API Specification) framework. Focus on an API for the public.
- Explanation: Swagger (OpenAPI Specification) is a powerful tool for defining APIs in a standardized format, but it still requires the development team to ha...
Author: Zain · Last updated May 10, 2026
Your development team has created a structured API to retrieve vehicle data. They want to allow third parties to develop tools for dealerships that use this vehicle event data. You w...
To allow third parties to develop tools for dealerships that use vehicle event data while supporting delegated authorization, the key requirement is to ensure that external parties (like third-party developers) can securely access the data on behalf of the vehicle owners or dealerships without compromising the security of the system. Let's evaluate each option:
A) Build or leverage an OAuth-compatible access control system
- Explanation: OAuth is a widely used framework for delegated authorization. With OAuth, you can allow third-party developers to access specific resources on behalf of users (in this case, dealerships or vehicle owners) by providing them with limited, time-bound access tokens. OAuth allows you to implement fine-grained access control, ensuring that third parties only access the data they are authorized to access.
- Why selected: OAuth is the best fit for delegated authorization because it is a standard protocol designed specifically for this purpose. It allows users (dealerships) to grant third-party developers access to their data without exposing their credentials. This solution is secure, scalable, and widely adopted in the industry for similar use cases.
B) Build SAML 2.0 SSO compatibility into your authentication system
- Explanation: SAML 2.0 is a protocol primarily used for Single Sign-On (SSO) and is often used in enterprise settings. It allows users to authenticate once and gain access to multiple systems. While it is useful for authenticating users within an organization, it is not designed for delegated authorization or allowing third parties to access specific data on behalf of users.
- Why rejected: SAML is not typically used for delegated access to APIs or data. It’s more focused on authentication across different systems rather than giving third-party applications temporary access to specific resources. OAuth is the more appropriate...
Author: Ava · Last updated May 10, 2026
TerramEarth plans to connect all 20 million vehicles in the field to the cloud. This increases the volume to 20 million 600 byte records a secon...
Designing the data ingestion for TerramEarth’s 20 million connected vehicles requires handling large volumes of data with high throughput while ensuring scalability, reliability, and minimal latency. Let’s evaluate the options:
A) Vehicles write data directly to Google Cloud Storage (GCS)
- Explanation: Google Cloud Storage (GCS) is a reliable and scalable storage solution for unstructured data. Writing vehicle data directly to GCS would allow easy storage of raw data. However, managing direct ingestion from 20 million vehicles is not ideal for real-time or high-frequency use cases like this. It would also require additional processing and transformation layers (e.g., using Dataflow or Dataproc) to analyze the data or move it to a more query-friendly storage solution.
- Why rejected: Directly writing to GCS does not support the real-time or near-real-time processing of data, which is critical for dealing with large-scale event-driven data like vehicle telemetry. This approach lacks real-time stream processing and integration with analytics systems such as BigQuery.
B) Vehicles write data directly to Google Cloud Pub/Sub
- Explanation: Google Cloud Pub/Sub is designed for real-time event streaming and can handle high throughput. It provides a message-oriented middleware that allows vehicles to stream their telemetry data in real time to the cloud. Pub/Sub can buffer messages and ensure reliable message delivery even at high scale. From Pub/Sub, the data can be ingested into downstream systems like BigQuery, Cloud Storage, or other processing pipelines.
- Why selected: Pub/Sub is designed for scenarios like this where high-frequency, large-volume data needs to be ingested and processed in real time. It decouples the data producers (vehicles) from the data consumers (processing systems), allowing for flexible and scalable ingestion of telemetry data. It also integrates seamlessly with ot...
Author: Madison · Last updated May 10, 2026
You analyzed TerramEarth's business requirement to reduce downtime, and found that they can achieve a majority of time saving by reducing customer's wait time for parts. You decided to focus on reduction of the 3 weeks ...
To reduce the 3-week aggregate reporting time, we need to prioritize the options that directly impact the speed and accuracy of data transmission, processing, and decision-making.
Option A: Migrate from CSV to binary format, migrate from FTP to SFTP transport, and develop machine learning analysis of metrics
- Migrate from CSV to binary format: While binary format can be more efficient in terms of storage and transfer speed, the impact on reducing downtime may not be significant in this context, since data format alone doesn't necessarily address reporting time directly.
- Migrate from FTP to SFTP transport: SFTP can improve security but doesn't offer significant improvements in speed over FTP. This change alone won't drastically impact the 3-week reporting time.
- Develop machine learning analysis of metrics: Machine learning could offer predictive insights, but it’s a longer-term solution. While beneficial for decision-making, it doesn’t immediately reduce reporting time.
Option B: Migrate from FTP to streaming transport, migrate from CSV to binary format, and develop machine learning analysis of metrics
- Migrate from FTP to streaming transport: Streaming would allow real-time data transmission, greatly reducing delays in reporting. This change has the potential to significantly impact the speed of data availability, which is critical for reducing downtime.
- Migrate from CSV to binary format: The efficiency gained by binary data formats could aid in faster transmission but, like in Option A, may not be enough to drastically change reporting times on its own.
- Develop machine learning analysis of metrics: As noted in Option A, machine learning analysis is useful but doesn’t directly address the immediate problem of reporting time.
Option C: Increase fleet cellular connectivity to 80%, migrate from FTP to streaming transport, and d...
Author: Zain · Last updated May 10, 2026
Which of TerramEarth's legacy enterprise processes will experience significant change as a result of...
To evaluate which legacy enterprise processes will experience significant change due to increased Google Cloud Platform (GCP) adoption, we need to consider the effects of cloud migration on operational processes, financial management, and infrastructure planning.
Option A: Opex/capex allocation, LAN changes, capacity planning
- Opex/capex allocation: Cloud adoption shifts many costs from capital expenditures (CapEx) to operational expenditures (OpEx) because cloud services are typically billed based on usage. This will likely be one of the most significant changes for the company.
- LAN changes: While there may be network adjustments to support cloud connectivity, LAN changes are typically less impactful compared to broader enterprise processes like capacity planning or cost management. The focus will be more on how cloud services interact with the broader network and less on the internal LAN.
- Capacity planning: Cloud adoption reduces the need for traditional capacity planning associated with physical infrastructure (e.g., servers, data centers), as cloud resources can scale on demand. This is a significant change that will affect how the company plans for infrastructure needs.
Option B: Capacity planning, TCO calculations, opex/capex allocation
- Capacity planning: As noted, the transition to the cloud eliminates the need for traditional capacity planning because resources can be scaled dynamically. This will significantly impact the company’s planning processes.
- TCO calculations (Total Cost of Ownership): TCO calculations will be directly impacted by cloud adoption because the cloud’s pricing model is different from on-premises infrastructure. The company will need to calculate cloud costs in a new way, which may involve new processes for evaluating long-term costs versus the flexibility and scalability cloud offers.
- Opex/capex allocation: As mentioned, cloud adoption will move expenses from CapEx to OpEx, which requires changes in how the company handles financial allocatio...