Questions for the PROFESSIONAL CLOUD ARCHITECT were updated on : Nov 14 ,2024
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 development resources.
What Google domain and project structure should you recommend?
D
Explanation:
Note: The principle of least privilege and separation of duties are concepts that, although semantically different, are
intrinsically related from the standpoint of security. The intent behind both is to prevent people from having higher privilege
levels than they actually need
Principle of Least Privilege: Users should only have the least amount of privileges required to perform their job and no
more. This reduces authorization exploitation by limiting access to resources such as targets, jobs, or monitoring templates
for which they are not authorized.
Separation of Duties: Beyond limiting user privilege level, you also limit user duties, or the specific jobs they can perform.
No user should be given responsibility for more than one related function. This limits the ability of a user to perform a
malicious action and then cover up that action. Reference: https://cloud.google.com/kms/docs/separation-of-duties
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 application servers
correctly.
What three steps should you take to diagnose the problem? (Choose three.)
C D F
Explanation:
D: Handling "Unable to connect on port 22" error message Possible causes include:
There is no firewall rule allowing SSH access on the port. SSH access on port 22 is enabled on all Compute Engine
instances by default. If you have disabled access, SSH from the Browser will not work. If you run sshd on a port other than
22, you need to enable the access to that port with a custom firewall rule.
The firewall rule allowing SSH access is enabled, but is not configured to allow connections from GCP Console services.
Source IP addresses for browser-based SSH sessions are dynamically allocated by GCP Console and can vary from
session to session.
F: Handling "Could not connect, retrying..." error
You can verify that the daemon is running by navigating to the serial console output page and looking for output lines
prefixed with the accounts-from-metadata: string. If you are using a standard image but you do not see these output prefixes
in the serial console output, the daemon might be stopped. Reboot the instance to restart the daemon.
Reference: https://cloud.google.com/compute/docs/ssh-in-browser https://cloud.google.com/compute/docs/ssh-in-browser
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 Datastore to upload the data.
What service account key-management strategy should you recommend?
C
Explanation:
Migrating data to Google Cloud Platform
Lets say that you have some data processing that happens on another cloud provider and you want to transfer the
processed data to Google Cloud Platform. You can use a service account from the virtual machines on the external cloud to
push the data to Google Cloud Platform. To do this, you must create and download a service account key when you create
the service account and then use that key from the external process to call the Cloud Platform APIs.
Reference: https://cloud.google.com/iam/docs/understanding-service-accounts#migrating_data_to_google_cloud_platform
JencoMart has built a version of their application on Google Cloud Platform that serves traffic to Asia. You want to measure
success against their business and technical goals.
Which metrics should you track?
D
Explanation:
From scenario:
Business Requirements include: Expand services into Asia
Technical Requirements include: Decrease latency in Asia
The migration of JencoMarts application to Google Cloud Platform (GCP) is progressing too slowly. The infrastructure is
shown in the diagram. You want to maximize throughput.
What are three potential bottlenecks? (Choose three.)
A C E
JencoMart wants to move their User Profiles database to Google Cloud Platform.
Which Google Database should they use?
D
Explanation:
Common workloads for Google Cloud Datastore:
User profiles
Product catalogs
Game state
Reference: https://cloud.google.com/storage-options/ https://cloud.google.com/datastore/docs/concepts/overview
Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from their existing
backends on the other platforms?
A
Explanation:
From Scenario:
A few of their games were more popular than expected, and they had problems scaling their application servers, MySQL
databases, and analytics tools.
Requirements for Game Analytics Platform include: Dynamically scale up or down based on game activity
Mountkirk Games has deployed their new backend on Google Cloud Platform (GCP). You want to create a through testing
process for new versions of the backend before they are released to the public. You want the testing environment to scale in
an economical way. How should you design the process?
A
Explanation:
From scenario: Requirements for Game Backend Platform
1. Dynamically scale up or down based on game activity
2. Connect to a managed NoSQL database service
3. Run customize Linux distro
Mountkirk Games wants to set up a continuous delivery pipeline. Their architecture includes many small services that they
want to be able to update and roll back quickly. Mountkirk Games has the following requirements:
Services are deployed redundantly across multiple regions in the US and Europe
Only frontend services are exposed on the public internet
They can provide a single frontend IP for their fleet of services
Deployment artifacts are immutable
Which set of products should they use?
C
Mountkirk Games gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which
suddenly became very popular. A record number of users are trying to use the service, but many of them are getting 503
errors and very slow response times. What should they investigate first?
B
Explanation:
503 is service unavailable error. If the database was online everyone would get the 503 error.
Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application
environments. Developers and testers can access each others environments and resources, but they cannot access staging
or production resources. The staging environment needs access to some services from production.
What should you do to isolate development environments from staging and production?
D
Mountkirk Games wants to set up a real-time analytics platform for their new game. The new platform must meet their
technical requirements.
Which combination of Google technologies will meet all of their requirements?
B
Explanation:
Ingest millions of streaming events per second from anywhere in the world with Cloud Pub/Sub, powered by Google's
unique, high-speed private network. Process the streams with Cloud Dataflow to ensure reliable, exactly-once, low-latency
data transformation. Stream the transformed data into BigQuery, the cloud-native data warehousing service, for immediate
analysis via SQL or popular visualization tools.
From scenario: They plan to deploy the games backend on Google Compute Engine so they can capture streaming metrics,
run intensive analytics.
Requirements for Game Analytics Platform
1. Dynamically scale up or down based on game activity
2. Process incoming data on the fly directly from the game servers
3. Process data that arrives late because of slow mobile networks
4. Allow SQL queries to access at least 10 TB of historical data
5. Process files that are regularly uploaded by users mobile devices
6. Use only fully managed services
Reference: https://cloud.google.com/solutions/big-data/stream-analytics/
Company Overview
Mountkirk Games makes online, session-based, multiplayer games for mobile platforms. They build all of their games using
some server-side integration. Historically, they have used cloud providers to lease physical servers.
Due to the unexpected popularity of some of their games, they have had problems scaling their global audience, application
servers, MySQL databases, and analytics tools.
Their current model is to write game statistics to files and send them through an ETL tool that loads them into a centralized
MySQL database for reporting.
Solution Concept
Mountkirk Games is building a new game, which they expect to be very popular. They plan to deploy the games backend on
Google Compute Engine so they can capture streaming metrics, run intensive analytics, and take advantage of its
autoscaling server environment and integrate with a managed NoSQL database.
Business Requirements
Increase to a global footprint
Improve uptime downtime is loss of players
Increase efficiency of the cloud resources we use
Reduce latency to all customers
Technical Requirements
Requirements for Game Backend Platform
Dynamically scale up or down based on game activity
Connect to a transactional database service to manage user profiles and game state
Store game activity in a timeseries database service for future analysis
As the system scales, ensure that data is not lost due to processing backlogs Run hardened Linux distro
Requirements for Game Analytics Platform
Dynamically scale up or down based on game activity
Process incoming data on the fly directly from the game servers
Process data that arrives late because of slow mobile networks
Allow queries to access at least 10 TB of historical data
Process files that are regularly uploaded by users mobile devices
Executive Statement
Our last successful game did not scale well with our previous cloud provider, resulting in lower user adoption and affecting
the games reputation. Our investors want more key performance indicators (KPIs) to evaluate the speed and stability of the
game, as well as other metrics that provide deeper insight into usage patterns so we can adapt the game to target users.
Additionally, our current technology stack cannot provide the scale we need, so we want to replace MySQL and move to an
environment that provides autoscaling, low latency load balancing, and frees us up from managing physical servers.
For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to migrate from their current analytics
and statistics reporting model to one that meets their technical requirements on Google Cloud Platform.
Which two steps should be part of their migration plan? (Choose two.)
A B
For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the
compute workloads for your company, Mountkirk Games. Considering the Mountkirk Games business and technical
requirements, what should you do?
D
For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to design their solution for the future in
order to take advantage of cloud and technology improvements as they become available. Which two steps should they
take? (Choose two.)
C E