



















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Google cloud architect practice test n answers
Typology: Exams
1 / 59
This page cannot be seen from the preview
Don't miss anything!
Number
: GoogleCloudArchitect
Passing Score
Time Limit
: 120 min
https://www.gratisexam.com/
Google Certified Professional – Cloud Architect (English)
Testlet 1Company Overview JencoMart is a global retailer with over 10,000 stores in 16 countries. The stores carry a range of goods, such as groceries, tires, and jewelry. One of the company’score values is excellent customer service. In addition, they recently introduced an environmental policy to reduce their carbon output by 50% over the next 5 years. Company Background JencoMart started as a general store in 1931, and has grown into one of the world’s leading brands, known for great value and customer service. Over time, thecompany transitioned from only physical stores to a stores and online hybrid model, with 25% of sales online. Currently, JencoMart has little presence in Asia, butconsiders that market key for future growth. Solution Concept JencoMart wants to migrate several critical applications to the cloud but has not completed a technical review to determine their suitability for the cloud and theengineering required for migration. They currently host all of these applications on infrastructure that is at its end of life and is no longer supported. Existing Technical Environment JencoMart hosts all of its applications in 4 data centers: 3 in North American and 1 in Europe; most applications are dual-homed.JencoMart understands the dependencies and resource usage metrics of their on-premises architecture.Application: Customer loyalty portalLAMP (Linux, Apache, MySQL and PHP) application served from the two JencoMart-owned U.S. data centers.Database
Oracle Database stores user profiles
Compute
Since its founding, JencoMart has invested heavily in our data services infrastructure. However, because of changing market trends, we need to outsource ourinfrastructure to ensure our long-term success. This model will allow us to respond to increasing customer demand during peak periods and reduce costs. QUESTION 1 A few days after JencoMart migrates the user credentials database to Google Cloud Platform and shuts down the old server, the new database server stopsresponding 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 3 answers. A.
Delete the virtual machine (VM) and disks and create a new one B.
Delete the instance, attach the disk to a new VM, and investigate C. Take a snapshot of the disk and connect to a new machine to investigate D. Check inbound firewall rules for the network the machine is connected to E.
Connect the machine to another network with very simple firewall rules and investigate F.
Print the Serial Console output for the instance for troubleshooting, activate the interactive console, and investigate Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:D: Handling "Unable to connect on port 22" error messagePossible 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 disabledaccess, 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..." errorYou 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 torestart the daemon.References: https://cloud.google.com/compute/docs/ssh-in-browser https://cloud.google.com/compute/docs/ssh-in-browser
QUESTION 2 JencoMart has decided to migrate user profile storage to Google Cloud Datastore and the application servers to Google Compute Engine (GCE). During themigration, the existing infrastructure will need access to Datastore to upload the data.What service account key-management strategy should you recommend? A.
Provision service account keys for the on-premises infrastructure and for the GCE virtual machines (VMs) B.
Authenticate the on-premises infrastructure with a user account and provision service account keys for the VMs C. Provision service account keys for the on-premises infrastructure and use Google Cloud Platform (GCP) managed keys for the VMs D. Deploy a custom authentication service on GCE/Google Kubernetes Engine (GKE) for the on-premises infrastructure and use GCP managed keys for the VMs Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Migrating data to Google Cloud PlatformLet’s 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. Youcan 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 aservice account key when you create the service account and then use that key from the external process to call the Cloud Platform APIs.References: https://cloud.google.com/iam/docs/understanding-service-accounts#migrating_data_to_google_cloud_platform QUESTION 3 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 andtechnical goals.
https://www.gratisexam.com/
Which metrics should you track?
References:
https://cloud.google.com/storage-options/
https://cloud.google.com/datastore/docs/concepts/overview
Testlet 1Company Overview Mountkirk Games makes online, session-based, multiplayer games for the most popular mobile platforms. Company Background Mountkirk Games builds all of their games with some server-side integration, and has historically used cloud providers to lease physical servers. A few of theirgames were more popular than expected, and they had problems scaling their application servers, MySQL databases, and analytics tools.Mountkirk’s 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 Gamesis building a new game, which they expect to be very popular. They plan to deploy the game’s backend on Google Compute Engine so they cancapture streaming metrics, run intensive analytics, and take advantage of its autoscaling server environment and integrate with a managed NoSQL database. Technical Requirements Requirements for Game Backend Platform1.
Dynamically scale up or down based on game activity
Connect to a managed NoSQL database service
Run customize Linux distro Requirements for Game Analytics Platform1.
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 SQL queries to access at least 10 TB of historical data
Process files that are regularly uploaded by users’ mobile devices
Use only fully managed services CEO Statement Our last successful game did not scale well with our previous cloud provider, resulting in lower user adoption and affecting the game’s reputation. Our investorswant more key performance indicators (KPIs) to evaluate the speed and stability of the game, as well as other metrics that provide deeper insight into usagepatterns so we can adapt the game to target users. CTO Statement 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 latencyload balancing, and frees us up from managing physical servers.
Google Cloud Storage, Google App Engine, Google Network Load Balancer C. Google Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer D. Google Cloud Functions, Google Cloud Pub/Sub, Google Cloud Deployment Manager Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Google Cloud Functions is a serverless environment to build and connect cloud services.Google Cloud Pub/Sub brings the scalability, flexibility, and reliability of enterprise message-oriented middleware to the cloud. By providing many-to-many,asynchronous messaging that decouples senders and receivers, it allows for secure and highly available communication between independently writtenapplications. Google Cloud Pub/Sub delivers low-latency, durable messaging that helps developers quickly integrate systems hosted on the Google Cloud Platformand externally.Incorrect Answers:A: Cloud Dataflow is a fully-managed service for transforming and enriching data in stream (real time) and batch (historical) modes.C: Store your private Docker container images on Cloud Platform for fast, scalable retrieval and deployment. Container Registry is a private Docker repository thatworks with popular continuous delivery systems. It runs on Cloud Platform to provide consistent uptime on an infrastructure protected by Google's security. You payonly for storage and internet egress you use, there is no per-image fee.Reference:
https://cloud.google.com/load-balancing/
https://cloud.google.com/solutions/ansible-with-spinnaker-tutorial http://blog.armory.io/what-is-immutable-infrastructure/ https://cloud.google.com/compute/docs/load-balancing/http/ QUESTION 3 Mountkirk Games’ gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which suddenly became very popular. A recordnumber of users are trying to use the service, but many of them are getting 503 errors and very slow response times. What should they investigate first? A.
Verify that the database is online B.
Verify that the project quota hasn’t been exceeded C.
Verify that the new feature code did not introduce any performance bugs D.
Verify that the load-testing team is not running their tool against production Correct Answer:
Section: [none]
ExplanationExplanation/Reference: Explanation: 503 is service unavailable error. If the database was online everyone would get the 503 error. QUESTION 4 Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application environments. Developers and testers can accesseach other’s environments and resources, but they cannot access staging or production resources. The staging environment needs access to some services fromproduction.What should you do to isolate development environments from staging and production? A.
Create a project for development and test and another for staging and production B.
Create a network for development and test and another for staging and production C. Create one subnetwork for development and another for staging and production D. Create one project for development, a second for staging and a third for production Correct Answer:
Section: [none]ExplanationExplanation/Reference: References:
https://cloud.google.com/appengine/docs/standard/go/creating-separate-dev-environments
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 andmove to an environment that provides autoscaling, low latency load balancing, and frees us up from managing physical servers. QUESTION 1 For this question, refer to the Mountkirk Games case study. Mountkirk Games wants you to design a way to test the analytics platform’s resilience to changes inmobile network latency. What should you do? A.
Deploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic. B.
Build a test client that can be run from a mobile phone emulator on a Compute Engine virtual machine, and run multiple copies in Google Cloud Platform regionsall over the world to generate realistic traffic. C. Add the ability to introduce a random amount of delay before beginning to process analytics files uploaded from mobile devices. D. Create an opt-in beta of the game that runs on players’ mobile devices and collects response times from analytics endpoints running in Google Cloud Platform
regions all over the world. Correct Answer:
Section: [none]ExplanationExplanation/Reference:QUESTION 2 For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the database workloads for your company,Mountkirk Games. Considering the business and technical requirements, what should you do? A.
Use Cloud SQL for time series data, and use Cloud Bigtable for historical data queries. B.
Use Cloud SQL to replace MySQL, and use Cloud Spanner for historical data queries. C. Use Cloud Bigtable to replace MySQL, and use BigQuery for historical data queries. D. Use Cloud Bigtable for time series data, use Cloud Spanner for transactional data, and use BigQuery for historical data queries. Correct Answer:
Section: [none]ExplanationExplanation/Reference:QUESTION 3 For this question, refer to the Mountkirk Games case study. Which managed storage option meets Mountkirk’s technical requirement for storing game activity in atime series database service?
https://www.gratisexam.com/ https://www.gratisexam.com/
Cloud Bigtable B.
Cloud Spanner C. BigQuery D. Cloud Datastore Correct Answer:
Section: [none]ExplanationExplanation/Reference:QUESTION 4 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,Mounkirk Games. Considering the Mountkirk games business and technical requirements, what should you do? A.
Create network load balancers. Use preemptible Compute Engine instances. B.
Create network load balancers. Use non-preemptible Compute Engine instances. C. Create a global load balancer with managed instance groups and autoscaling policies. Use preemptible Compute Engine instances. D. Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instance. Correct Answer:
Section: [none]ExplanationExplanation/Reference:
TerramEarth’s existing architecture is composed of Linux-based systems that reside in a data center. These systems gzip CSV files from the field and upload viaFTP, transform and aggregate them, and place the data in their data warehouse. Because this process takes time, aggregated reports are based on data that is 3weeks old.With this data, TerramEarth has been able to preemptively stock replacement parts and reduce unplanned downtime of their vehicles by 60%. However, becausethe data is stale, some customers are without their vehicles for up to 4 weeks while they wait for replacement parts. Business Requirements
Decrease unplanned vehicle downtime to less than 1 week, without increasing the cost of carrying surplus inventory Support the dealer network with more data on how their customers use their equipment to better position new products and services Have the ability to partner with different companies – especially with seed and fertilizer suppliers in the fast-growing agricultural business – to create compellingjoint offerings for their customers. CEO Statement We have been successful in capitalizing on the trend toward larger vehicles to increase the productivity of our customers. Technological change is occurring rapidly,and TerramEarth has taken advantage of connected devices technology to provide our customers with better services, such as our intelligent farming equipment.With this technology, we have been able to increase farmers’ yields by 25%, by using past trends to adjust how our vehicles operate. These advances have led tothe rapid growth of our agricultural product line, which we expect will generate 50% of our revenues by 2020. CTO Statement Our competitive advantage has always been in the manufacturing process, with our ability to build better vehicles for lower cost than our competitors. However, newproducts with different approaches are constantly being developed, and I’m concerned that we lack the skills to undergo the next wave of transformations in ourindustry. Unfortunately, our CEO doesn’t take technology obsolescence seriously and he considers the many new companies in our industry to be niche players. Mygoals are to build our skills while addressing immediate market needs through incremental innovations. QUESTION 1 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 vehicleevent data. You want to support delegated authorization against this data.What should you do? A.
Build or leverage an OAuth-compatible access control system B.
Build SAML 2.0 SSO compatibility into your authentication system C. Restrict data access based on the source IP address of the partner systems D. Create secondary credentials for each dealer that can be given to the trusted third party
Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Delegate application authorization with OAuth2Cloud Platform APIs support OAuth 2.0, and scopes provide granular authorization over the methods that are supported. Cloud Platform supports both service-account and user-account OAuth, also called three-legged OAuth.References:
https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#delegate_application_authorization_with_oauth
https://cloud.google.com/appengine/docs/flexible/go/authorizing-apps QUESTION 2 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 second for 40 TB an hour.How should you design the data ingestion? A.
Vehicles write data directly to GCS B.
Vehicles write data directly to Google Cloud Pub/Sub C.
Vehicles stream data directly to Google BigQuery D.
Vehicles continue to write data using the existing system (FTP) Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Streamed data is available for real-time analysis within a few seconds of the first streaming insertion into a table.Instead of using a job to load data into BigQuery, you can choose to stream your data into BigQuery one record at a time by using the tabledata().insertAll() method.This approach enables querying data without the delay of running a load job.References:
https://cloud.google.com/bigquery/streaming-data-into-bigquery
QUESTION 3 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 timefor parts. You decided to focus on reduction of the 3 weeks aggregate reporting time.
Section: [none]ExplanationExplanation/Reference: Explanation:From scenario: They currently have over 500 dealers and service centers in 100 countries.Multi-Regional Storage is appropriate for storing data that is frequently accessed ("hot" objects), such as serving website content, interactive workloads, or datasupporting mobile and gaming applications. Multi-Regional Storage data has the most availability compared to other storage classes.Multi-Regional Storage is geo-redundant, which means Cloud Storage stores your data redundantly in at least two geographic places separated by at least 100miles within the multi-regional location of the bucket. Geo-redundancy occurs asynchronously, but Multi-Regional Storage data is redundant within at least onegeographic place as soon as you upload it. Like all Cloud Storage data, it is also immediately accessible worldwide.References:
https://cloud.google.com/storage/docs/storage-classes#multi-regional
QUESTION 5 TerramEarth’s 20 million vehicles are scattered around the world. Based on the vehicle’s location, its telemetry data is stored in a Google Cloud Storage (GCS)regional bucket (US, Europe, or Asia). The CTO has asked you to run a report on the raw telemetry data to determine why vehicles are breaking down after 100 Kmiles. You want to run this job on all the data.What is the most cost-effective way to run this job? A.
Move all the data into 1 zone, then launch a Cloud Dataproc cluster to run the job B.
Move all the data into 1 region, then launch a Google Cloud Dataproc cluster to run the job C. Launch a cluster in each region to preprocess and compress the raw data, then move the data into a multi-region bucket and use a Dataproc cluster to finish the
job D. Launch a cluster in each region to preprocess and compress the raw data, then move the data into a region bucket and use a Cloud Dataproc cluster to finish
the job Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Storageguarantees 2 replicates which are geo diverse (100 miles apart) which can get better remote latency and availability.More importantly, is that multiregional heavily leverages Edge caching and CDNs to provide the content to the end users.All this redundancy and caching means that Multiregional comes with overhead to sync and ensure consistency between geo-diverse areas. As such, it’s much
better for write-once-read-many scenarios. This means frequently accessed (e.g. “hot” objects) around the world, such as website content, streaming videos,gaming or mobile applications.References:
https://medium.com/google-cloud/google-cloud-storage-what-bucket-class-for-the-best-performance-5c847ac8f9f
QUESTION 6 TerramEarth has equipped all connected trucks with servers and sensors to collect telemetry data. Next year they want to use the data to train machine learningmodels. They want to store this data in the cloud while reducing costs.What should they do? A.
Have the vehicle’s computer compress the data in hourly snapshots, and store it in a Google Cloud Storage (GCS) Nearline bucket B.
Push the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Google BigQuery C. Push the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Cloud Bigtable D. Have the vehicle’s computer compress the data in hourly snapshots, and store it in a GCS Coldline bucket Correct Answer:
Section: [none]ExplanationExplanation/Reference: Explanation:Storage is the best choice for data that you plan to access at most once a year, due to its slightly lower availability, 90-day minimum storage duration, costs for dataaccess, and higher per-operation costs. For example:Cold Data Storage - Infrequently accessed data, such as data stored for legal or regulatory reasons, can be stored at low cost as Coldline Storage, and be availablewhen you need it.Disaster recovery - In the event of a disaster recovery event, recovery time is key. Cloud Storage provides low latency access to data stored as Coldline Storage.References:
https://cloud.google.com/storage/docs/storage-classes