Quiz
GCP
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (167)
1Does a cloud computing service let you scale your resource use up and down?
- AYes
- BNo
2To get resources from a cloud computing provider, is working with a person at the provider required?
- AYes
- BNo
3Choose the correct completion: Services and APIs are enabled on a per-__________ basis.
- AOrganization
- BFolder
- CProject
- DBilling account
4True or false: Google manages every aspect of Google Cloud Platform customers' security.
- ATrue
- BFalse
5Your company has two GCP projects, and you want them to share policies. What is the less error-prone way to set this up?
- ADuplicate all the policies on one project onto the other.
- BPlace both projects into a folder, and define the policies on the folder.
6Why might a GCP customer use resources in several zones within a region?
- AFor improved fault tolerance
- BFor better performance
7Why might a GCP customer use resources in several regions around the world?
- ATo bring their applications closer to users around the world, and for improved fault tolerance
- BTo improve security
8When would you choose to have an organization node? (Choose all that are correct. Choose 2 responses.)
- AWhen you want to create folders.
- BWhen you want to organize resources into projects.
- CWhen you want to apply organization-wide policies centrally.
- DThere is no choice; organization nodes are mandatory.
9Order these IAM role types from broadest to finest-grained.
- APrimitive roles, predefined roles, custom roles
- BCustom roles, predefined roles, primitive roles
- CPredefined roles, custom roles, primitive roles
10Can IAM policies that are implemented higher in the resource hierarchy take away access that is granted by lower-level policies?
- AYes
- BNo
11True or False: In Google Cloud IAM: if a policy applied at the project level gives you Owner permissions, your access to an individual resource in that project might be restricted to View permission if someone applies a more restrictive policy directly to that resource.
- ATrue
- BFalse
12True or False: All Google Cloud Platform resources are associated with a project.
- ATrue
- BFalse
13Service accounts are used to provide which of the following? (Choose all that are correct. Choose 3 responses.)
- AA way to allow users to act with service account permissions
- BA set of predefined permissions
- CA way to restrict the actions a resource (such as a VM) can perform
- DAuthentication between Google Cloud Platform services
14How do GCP customers and Google Cloud Platform divide responsibility for security?
- AAll aspects of security are Google's responsibility.
- BGoogle takes care of the higher parts of the stack, and customers are responsible for the lower parts.
- CGoogle takes care of the lower parts of the stack, and customers are responsible for the higher parts.
- DAll aspects of security are the customer's responsibility.
15Which of these values is globally unique, permanent, and unchangeable, but chosen by the customer?
- AThe project number
- BThe project ID
- CThe project name
- DThe project's billing credit-card number
16Consider a single hierarchy of GCP resources. Which of these situations is possible? (Choose all that are correct. Choose 3 responses.)
- AThere is no organization node, and there are no folders.
- BThere are two or more organization nodes
- CThere is no organization node, but there is at least one folder.
- DThere is an organization node, and there is at least one folder.
- EThere is an organization node, and there are no folders.
17What is the difference between IAM primitive roles and IAM predefined roles?
- APrimitive roles only allow viewing, creating, and deleting resources. Predefined roles allow any modification.
- BPrimitive roles only apply to the owner of the GCP project. Predefined roles can be associated with any user.
- CPrimitive roles can only be granted to single users. Predefined roles can be associated with a group.
- DPrimitive roles affect all resources in a GCP project. Predefined roles apply to a particular service in a project.
- EPrimitive roles are changeable once assigned. Predefined roles can never be changed.
18Which statement is true about billing for solutions deployed using Cloud Marketplace (formerly known as Cloud Launcher)?
- AYou pay only for the underlying GCP resources you use, with the possible addition of extra fees for commercially licensed software.
- BYou pay only for the underlying GCP resources you use; Google pays the license fees for commercially licensed software.
- CCloud Marketplace solutions are always free.
- DAfter a trial period, each Cloud Marketplace solution assesses a fixed recurring monthly fee.
19True or false? In Google Cloud VPCs, subnets have regional scope.
- ATrue
- BFalse
20True or false: If you increase the size of a subnet in a custom VPC network, the IP addresses of virtual machines already on that subnet might be affected.
- ATrue
- BFalse
21True or false: You can create Compute Engine virtual machines from the command line.
- ATrue
- BFalse
22What is the main reason customers choose Preemptible VMs?
- ATo improve performance.
- BTo reduce cost.
23True or False: Google Cloud Load Balancing allows you to balance HTTP-based traffic across multiple Compute Engine regions.
- ATrue
- BFalse
24Which statement is true about Google VPC networks and subnets?
- ANetworks and subnets are global
- BNetworks are global; subnets are zonal
- CNetworks are regional; subnets are zonal
- DNetworks are global; subnets are regional
25An application running in a Compute Engine virtual machine needs high-performance scratch space. Which type of storage meets this need?
- ALocal standard
- BLocal SSD
- CStandard persistent
- DSSD persistent
26Choose an application that would be suitable for running in a Preemptible VM.
- AAn interactive website
- BA batch job that can be checkpointed and restarted
- CAn online relational database
- DA batch job that cannot be checkpointed and restarted
27How do Compute Engine customers choose between big VMs and many VMs?
- AUse big VMs for fault tolerance and elasticity; use many VMs for in-memory databases and CPU-intensive analytics
- BUse big VMs for in-memory databases and CPU-intensive analytics; use many VMs for fault tolerance and elasticity
28How do VPC routers and firewalls work?
- AThey are managed by Google as a built-in feature.
- BCustomers provision virtual machines and run their routers and firewalls in them.
- CThey are managed by Google in virtual machines, which customers may tune or turn off.
- DThey are managed by Google in virtual machines, which customers may never modify.
29A GCP customer wants to load-balance traffic among the back-end VMs that form part of a multi-tier application. Which load-balancing option should this customer choose?
- AThe regional internal load balancer
- BThe global HTTP(S) load balancer
- CThe regional load balancer
- DThe global SSL proxy
- EThe global TCP proxy
30For which of these interconnect options is a Service Level Agreement available?
- ACarrier Peering
- BDirect Peering
- CVPNs with Cloud Router
- DDedicated Interconnect
31Your Cloud Storage objects live in buckets. Which of these characteristics do you define on a per-bucket basis? Choose all that are correct (3 correct answers).
- AAn encryption-at-rest setting (on or off)
- BA geographic location
- CA default storage class
- DA globally-unique name
- EA default file type for the objects in the bucket
32True or false: Cloud Storage is well suited to providing the root file system of a Linux virtual machine.
- ATrue
- BFalse
33Why would a customer consider the Coldline storage class?
- ATo save money on storing frequently accessed data.
- BTo save money on storing infrequently accessed data.
- CTo use the Coldline Storage API.
- DTo improve security.
34True or false: Each table in NoSQL databases such as Cloud Bigtable has a single schema that is enforced by the database engine itself.
- ATrue
- BFalse
35Some developers think of Cloud Bigtable as a persistent hashtable. What does that mean?
- AEach item in the database consists of exactly the same fields, and can be looked up based on a variety of keys.
- BEach item in the database can be sparsely populated, and is looked up with a single key.
36Which database service can scale to higher database sizes?
- ACloud SQL.
- BCloud Spanner.
37Which database service presents a MySQL or PostgreSQL interface to clients?
- ACloud SQL.
- BCloud Spanner.
38Which database service offers transactional consistency at global scale?
- ACloud SQL.
- BCloud Spanner.
39How are Cloud Datastore and Cloud Bigtable alike? Choose all that are correct (2 correct answers)
- AThey both have a free daily quota.
- BThey are both NoSQL databases.
- CThey both offer SQL-like queries.
- DThey are both highly scalable.
40True or false: Cloud Datastore databases can span App Engine and Compute Engine applications.
- ATrue
- BFalse
41You are developing an application that transcodes large video files. Which storage option is the best choice for your application?
- ACloud Storage
- BGoogle Drive
- CCloud Datastore
- DCloud Spanner
42You manufacture devices with sensors and need to stream huge amounts of data from these devices to a storage option in the cloud. Which Google Cloud Platform storage option is the best choice for your application?
- ACloud Spanner
- BBigQuery
- CCloud Datastore
- DCloud Bigtable
43Which statement is true about objects in Cloud Storage?
- AThey are immutable, and new versions overwrite old unless you turn on versioning.
- BThey can be edited in place.
- CThey are immutable, and versioned by default.
- DThey are immutable unless you turn on versioning.
44You are building a small application. If possible, you'd like this application's data storage to be at no additional charge. Which service has a free daily quota, separate from any free trials?
- ABigtable
- BCloud SQL
- CCloud Datastore
- DCloud Spanner
45How do the Nearline and Coldline storage classes differ from Multi-regional and Regional? Choose all that are correct (2 responses).
- AData in Nearline and Coldline is not retrievable immediately.
- BNearline and Coldline use a differently-architected API.
- CNearline and Coldline assess additional retrieval fees.
- DNearline and Coldline have lower durability.
- ENearline and Coldline assess lower storage fees.
46Your application needs a relational database, and it expects to talk to MySQL. Which storage option is the best choice for your application?
- ABigtable
- BCloud Storage
- CCloud Spanner
- DCloud SQL
47Your application needs to store data with strong transactional consistency, and you want seamless scaling up. Which storage option is the best choice for your application?
- ACloud Storage
- BCloud Spanner
- CCloud Datastore
- DCloud SQL
48Which GCP storage service is often the ingestion point for data being moved into the cloud, and is frequently the long-term storage location for data?
- ALocal SSD
- BCloud Datastore
- CCloud Spanner
- DCloud Storage
49True or false: each container has its own instance of an operating system.
- ATrue
- BFalse
50Containers are loosely coupled to their environments. What does that mean? Choose all the statements that are true. (3 correct answers)
- AContainers package your application into equally sized components.
- BContainers are easy to move around.
- CContainers abstract away unimportant details of their environments.
- DContainers don't require any particular runtime binary.
- EDeploying a containerized application consumes less resources and is less error-prone than deploying an application in virtual machines.
51What is a Kubernetes pod?
- AA group of containers
- BA group of clusters
- CA group of nodes
52What is a Kubernetes cluster?
- AA group of machines where Kubernetes can schedule workloads
- BA group of containers that provide high availability for applications
53Where do the resources used to build Kubernetes Engine clusters come from?
- AApp Engine
- BBare-metal servers
- CCompute Engine
54True or false: Google keeps Kubernetes Engine refreshed with successive versions of Kubernetes.
- ATrue
- BFalse
55Identify two reasons for deploying applications using containers. (Choose 2 responses.)
- ATight coupling between applications and operating systems
- BNo need to allocate resources in which to run containers
- CConsistency across development, testing, production environments
- DSimpler to migrate workloads
56True or False: Kubernetes allows you to manage container clusters in multiple cloud providers.
- ATrue
- BFalse
57True or False: Google Cloud Platform provides a secure, high-speed container image storage service for use with Kubernetes Engine.
- ATrue
- BFalse
58In Kubernetes, what does "pod" refer to?
- AA group of clusters that work together
- BA group of containers that work together
- CA popular logging subsystem
- DA popular management subsystem
59Does Google Cloud Platform offer its own tool for building containers (other than the ordinary docker command)?
- ANo; all customers use the ordinary docker command.
- BYes; the GCP-provided tool is an option, but customers may choose not use it.
- CYes. Kubernetes Engine customers must use the GCP-provided tool.
60Where do your Kubernetes Engine workloads run?
- AIn clusters that are built into GCP, not separately manageable
- BIn clusters built from Compute Engine virtual machines
- CIn clusters implemented using Cloud Functions
- DIn clusters implemented using App Engine
61True or false: App Engine is a better choice for a web application than for long-running batch processing.
- ATrue
- BFalse
62True or false: App Engine just runs applications; it doesn't offer any services to the applications it runs.
- ATrue
- BFalse
63Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application? Choose all that are correct (2 correct responses).
- AAbility to ssh in
- BDaily free usage quota
- CFiner-grained scaling
- DWider range of choices for application language
64True or false: App Engine Flexible Environment applications let their owners control the geographic region where they run.
- ATrue
- BFalse
65Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application? Choose all that are correct (2 correct responses).
- AAbility to ssh in
- BDaily free usage quota
- CFiner-grained scaling
- DWider range of choices for application language
66True or false: App Engine Flexible Environment applications let their owners control the geographic region where they run.
- ATrue
- BFalse
67Which statements are true about App Engine? Choose all that are true (2 correct answers).
- AApp Engine manages the hardware and networking infrastructure required to run your code.
- BApp Engine requires you to supply or code your own application load balancing and logging services.
- CIt is possible for an App Engine application's daily billing to drop to zero.
- DDevelopers who write for App Engine do not need to code their applications in any particular way to use the service.
- EApp Engine charges you based on the resources you pre-allocate rather than based on the resources you use.
68Name 3 advantages of using the App Engine Flexible Environment over App Engine Standard. Choose all that are true (3 correct answers).
- AYou can SSH in to your application
- BYour application can execute code in background threads
- CGoogle provides automatic in-place security patches
- DYour application can write to local disk
- EYou can install third-party binaries
69Name 3 advantages of using the App Engine Standard Environment over App Engine Flexible. Choose all that are true (3 correct answers).
- ABilling can drop to zero if your application is idle
- BYou can choose any programming language
- CScaling is finer-grained
- DYou can install third-party binaries
- EGoogle provides and maintains runtime binaries
70You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?
- AApigee Edge
- BCloud Endpoints
71You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?
- ACloud Endpoints
- BApigee Edge
72You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?
- AApigee Edge
- BCloud Endpoints
73Why would a developer choose to store source code in Cloud Source Repositories? Choose all the answers that are correct (2 correct answers).
- ATo reduce work
- BTo have total control over the hosting infrastructure
- CTo keep code private to a GCP project
74What is the advantage of putting event-driven components of your application into Cloud Functions?
- ACloud Functions handles scaling these components seamlessly.
- BCloud Functions means that processing always happens free of charge.
75Why might a GCP customer choose to use Cloud Source Repositories?
- AThey don't want to host their own git instance, and they want to integrate with IAM permissions.
- BThey don't want to host their own git instance, and they don't want to integrate with IAM permissions.
- CThey want to host and manage their own git instance, and they don't want to integrate with IAM permissions.
- DThey want to host and manage their own git instance, and they want to integrate with IAM permissions.
76Why might a GCP customer choose to use Cloud Functions?
- ACloud Functions is the primary way to run Node.js applications in GCP.
- BTheir application has a legacy monolithic structure that they want to break apart into microservices with little developer effort.
- CCloud Functions is a free service for hosting compute operations.
- DTheir application contains event-driven code that they don't want to have to provision compute resources for.
77Why might a GCP customer choose to use Deployment Manager?
- ADeployment Manager is a version control system for your GCP infrastructure layout.
- BDeployment Manager is an infrastructure management system for Kubernetes pods.
- CDeployment Manager enforces maximum resource utilization and spending limits on your GCP resources.
- DDeployment Manager is an infrastructure management system for GCP resources.
78You want to define alerts on your GCP resources, such as when health checks fail. Which is the best GCP product to use?
- ADeployment Manager
- BCloud Functions
- CStackdriver Monitoring
- DStackdriver Trace
- EStackdriver Debugger
79Which statements are true about Stackdriver Logging? Choose all that are true (2 statements)
- AStackdriver Logging lets you define uptime checks.
- BStackdriver Logging lets you view logs from your applications, and filter and search on them.
- CStackdriver Logging requires the use of a third-party monitoring agent.
- DStackdriver Logging lets you define metrics based on your logs.
- EStackdriver Logging requires that you store your logs in BigQuery or Cloud Storage.
80Name two use cases for Google Cloud Dataproc (Select 2 answers).
- AManage datasets of unpredictable size
- BData mining and analysis in datasets of known size
- CManage data that arrives in realtime
- DMigrate on-premises Hadoop jobs to the cloud
81Name two use cases for Google Cloud Dataflow (Select 2 answers).
- AReserved compute instances
- BManual resource management
- CExtract, Transform, and Load (ETL)
- DOrchestration
82Name three use cases for the Google Cloud Machine Learning Platform (Select 3 answers).
- AFraud detection
- BData preparation
- CSentiment analysis
- DContent personalization
- EQuery architecture
83Which statements are true about BigQuery? Choose all that are true (2 statements).
- ABigQuery is a good choice for online transaction processing.
- BBigQuery is a good choice for data analytics warehousing.
- COnce in BigQuery, data is not accessible from other GCP services.
- DBigQuery lets you run fast SQL queries against large databases.
- EBigQuery requires that you provision database instances ahead of use.
84Name three use cases for Cloud Pub/Sub (Select 3 answers).
- AInternet of Things applications
- BStorage of binary web content
- CDecoupling systems
- DAnalyzing streaming data
- EExecuting ad-hoc SQL queries
85What is TensorFlow?
- AA hardware device designed to accelerate machine learning workloads
- BA managed service for building machine learning models
- CA managed service for building data pipelines
- DAn open-source software library that’s useful for building machine learning applications
86What does the Cloud Natural Language API do?
- AIt analyzes text to reveal its structure and meaning.
- BIt translates arbitrary strings into any supported language.
- CIt performs sentiment analysis on audio and video content.
- DIt extracts text in various languages from images.
87Which compute service lets customers run virtual machines that run on Google's infrastructure?
- ACloud Functions
- BApp Engine
- CCompute Engine
- DKubernetes Engine
88Which compute service lets customers deploy their applications in containers that run in clusters on Google's infrastructure?
- ACloud Functions
- BKubernetes Engine
- CApp Engine
- DCompute Engine
89Which compute service lets customers focus on their applications, leaving most infrastructure and provisioning to Google, while still offering various choices of runtime?
- ACompute Engine
- BApp Engine
- CKubernetes Engine
- DCloud Functions
90Which compute service lets customers supply chunks of code, which get run on-demand in response to events, on infrastructure wholly managed by Google?
- ACloud Functions
- BCompute Engine
- CKubernetes Engine
- DApp Engine
91For what kind of traffic would the regional load balancer be the first choice? Choose all that are correct (2 answers).
- AUDP traffic
- BTCP traffic on arbitrary port numbers
- CTCP/SSL traffic on popular well-known port numbers
- DTCP traffic (non-SSL) on popular well-known port numbers
92Choose a simple way to let a VPN into your Google VPC continue to work in spite of routing changes,
- ADedicated Interconnect
- BCarrier Peering
- CCloud Router
- DDirect Peering
93Which of these storage needs is best addressed by Cloud Datastore?
- AStructured objects, with transactions and SQL-like queries
- BStructured objects, with lookups based on a single key
- CImmutable binary objects
- DA relational database with SQL queries and horizontal scalability
94Which of these storage needs is best addressed by Cloud Spanner?
- AStructured objects, with lookups based on a single key
- BImmutable binary objects
- CStructured objects, with transactions and SQL-like queries
- DA relational database with SQL queries and horizontal scalability
95Which of these storage needs is best addressed by Cloud Bigtable?
- AStructured objects, with lookups based on a single key
- BA relational database with SQL queries and horizontal scalability
- CStructured objects, with transactions and SQL-like queries
- DImmutable binary objects
96Which of these storage needs is best addressed by Cloud Storage?
- AImmutable binary objects
- BStructured objects, with lookups based on a single key
- CA relational database with SQL queries and horizontal scalability
- DStructured objects, with transactions and SQL-like queries
97Review the following permission: bigquery.jobs.create
Which of the following statements about the permission is accurate? Select two.- AIAM members with this permission can create large jobs and queries.
- BThis permission is related to the BigQuery service, "jobs" resource, and "create" action.
- CThis permission is invalid because it does not restrict access to a single project.
- DIAM members with this permission can create new jobs in BigQuery.
98What mechanism should you use to authenticate your applications when invoking Google APIs?
- ACloud IAM role
- BService account
- CGoogle account
- DCloud IAM policy
99Your enterprise has an online expense reporting application. Employees must be able to access the application without having to log into the corporate VPN. How can you enable this type of access?
- AYou can use OAuth 2.0 to access resources on behalf of a user.
- BYou can give employees read permissions to critical resources in the project.
- CYou can use Identity-Aware Proxy to provide application-level access.
- DYou can leverage federated identity management by using Firebase authentication.
100Your photo-sharing application requires user login. You don't want to build a custom user authentication system that stores usernames and passwords. What is the best way to authenticate your users?
- AYou can leverage federated identity management by using Firebase authentication.
- BYou can give employees read permissions to critical resources in the project.
- CYou can use OAuth 2.0 to access resources on behalf of a user.
- DYou can use Identity-Aware Proxy to provide application-level access.
101What is the best way to apply the principle of least privilege when granting access to Google Cloud resources?
- AGrant broad permissions at the top of the resource hierarchy. Then, for some users, deny specific permissions at the individual resource level.
- BGrant restricted permissions at the top of the resource hierarchy. Then, for specific users, grant additional granular permissions as you go down the hierarchy.
- CGranular permissions to access resources are not recommended because of the high maintenance burden.
- DGrant permissions at the organization and folder level only for centralized maintenance.
102How does Cloud Pub/Sub enable you to build scalable and reliable applications? Select two.
- ACloud Pub/Sub enables you to scalably and reliably ingest large volumes of data.
- BCloud Pub/Sub enables you to build highly performant connections between applications.
- CBy using Cloud Pub/Sub, you can perform synchronous invocations with low latency.
- DBy using Cloud Pub/Sub, you can avoid brittle point-to-point connections between applications.
103Review the following diagram. Which of the following statements is accurate? Select three.

- AMultiple instances of the Orders service are publishing unique orders.
- BThe Orders service publishes orders to the Orders topic.
- CThe Inventory service will be overwhelmed by the high rate of incoming order messages because there are more publishers than subscribers.
- DSubscribers can process orders at a reasonable pace because the Orders topic acts as a buffer to hold data that is coming in rapidly.
104Review the following diagram. Which of the following statements is accurate? Select two.

- AEach subscriber can share the workload and process different orders.
- BEach subscriber processes every order in the Orders topic.
- CThe architecture solves the problem of point-to-point connections between applications.
- DThe architecture does not solve the problem of point-to-point connections between applications.
105Sales data is published to a Cloud Pub/Sub topic called SalesTopic. The Finance application subscribes to the topic and begins receiving sales data messages. Later, the Inventory team creates another subscription to the topic to receive the Sales data as well. However, the Inventory team's data does not tally with the Finance team's data. What could the reason be?
- AThe Inventory team's subscriber only receives messages that are published after the subscription was created.
- BThe Inventory team's subscriber might have a misconfigured push endpoint.
- CThe messages lacked identifying attributes to perform idempotent operations.
- DThe Inventory team's subscriber likely missed sending acknowledgements back to the Cloud Pub/Sub service.
106Why is Cloud Pub/Sub used in the architecture of an application that performs real-time data analysis of Twitter data?

- ACloud Pub/Sub is used to fan out messages to Kubernetes pods and BigQuery.
- BCloud Pub/Sub is not really needed. The Twitter-to-Cloud-Pub/Sub-pod can write to BigQuery directly.
- CCloud Pub/Sub is used to buffer the high volume of incoming tweets.
- DCloud Pub/Sub is used to enforce message ordering in a queue.
107When a new employee joins your organization, HR needs to notify the security, facilities, and training teams so that those teams can perform their tasks related to new employees. You need to design an application architecture that notifies all teams promptly and reliably. Select the four steps that create the most effective design for this scenario.
- ACreate an HRPublisher service that publishes messages to the NewEmployee topic.
- BCreate a separate subscription for security, facilities, and training.
- CCreate SecuritySubscriber, FacilitiesSubscriber, and TrainingSubscriber services that subscribe to messages in the NewEmployee topic.
- DCreate a single subscription or security, facilities, and training.
- ECreate a Cloud Datastore entity to keep track of unique notifications.
- FCreate a Cloud Pub/Sub topic called NewEmployee.
108Which of the following statements about the Vision API are accurate? Select two.
- AThe Vision API can categorize objects under labels and perform optical character recognition (OCR).
- BThe Vision API can categorize objects under labels in individual frames of a 15-second video.
- CThe Vision API can detect landmarks, logos, faces, and explicit content.
- DCurrently, the Vision API cannot analyze emotions on people's faces.
109What API would you use to transcribe audio into text?
- ACloud Speech API
- BCloud Natural Language API
- CCloud Video Intelligence API
- DNone of the above
110What API would you use in an Expense Report application to extract text from images of receipts?
- ACloud Video Intelligence API
- BCloud Vision API
- CCloud Natural Language API
- DNone of the above
111Identify two ways to invoke the pre-trained machine learning APIs such as the Vision API or Natural Language API in your application?
- AUse the Google Cloud Platform Console.
- BUse the gcloud command.
- CUse the REST API.
- DUse Cloud Client Libraries when available for production use.
112What pre-trained machine learning APIs would you use in this image processing pipeline?

- ACloud Vision API, Cloud Natural Language API
- BCloud Machine Learning API
- CCloud Vision API, Cloud Speech API, Cloud Video Intelligence API
- DCloud Audio API, Cloud Vision API, Cloud Video Intelligence API
113Your support database contains feedback data from customers. You want to analyze customer sentiment for the last quarter. What property and pre-trained machine learning API can you use to gauge customer sentiment?
- ASentiment score and magnitude from Cloud Natural Language API
- BTranscript and confidence from Cloud Speech API
- CLabel score and description from Cloud Vision API
- DTranscript from Cloud Speech API
114Identify two ways of invoking Cloud Functions.
- AInvoke node.js function like a local function invocation.
- BInvoke synchronously as a web hook.
- CInvoke asynchronously when triggered by an event.
- DInvoke asynchronously at a specific time.
115Cloud Functions is ideal for which of the following use cases?
- ALight-weight, event-driven, serverless, microservices
- BApplications that need point-to-point connections
- CApplications with large and complex codebases
- DMicroservices deployed by using Kubernetes
116You can view the output from your console.log and console.error messages in which of the following services?
- ACloud Monitoring
- BError Reporting
- CCloud Logging
- DCloud Trace
117Identify the events that trigger Cloud Functions in the following architecture. Select two.

- AA web hook is invoked from Cloud Pub/Sub.
- BA message is received in Cloud Pub/Sub.
- CSearch index is updated.
- DMedia asset is uploaded to a Cloud Storage bucket.
118Identify two key aspects of this application's architecture.(Select all 4 correct answers)

- ACloud Functions are invoked synchronously by the Cloud Pub/Sub topic.
- BWhen media content is uploaded to a Cloud Storage bucket, the system generates a Cloud Pub/Sub notification message and sends it to the configured Cloud Pub/Sub topic. This message triggers Cloud Functions.
- CCloud Storage can generate notification messages based on events in a Cloud Storage bucket.
- DCloud Functions save classification information in BigQuery.
- ECloud Functions invoke the Vision API and Cloud Video Intelligence API to classify the uploaded media based on logos, labels, text, and safe search results.
119Which one of the following statements is accurate?
- AYou must set the console.log = true flag to enable logging with Cloud Logging.
- BYou must package all dependencies for Cloud Functions in a package.zip file.
- CYou can deploy Cloud Functions directly from a Google Cloud Source Repository.
- DYou can run Cloud Functions in App Engine flexible environment.
120To create an order, a client application must send requests to create an order entry, update inventory, and send a transaction to a payment gateway. The client must be updated and redeployed each time any of these backend services changes. What is the best way to streamline the client's requests to the backend services?
- ACreate an API gateway called "order" that acts as a facade and handles all the backend API invocations.
- BCreate an API Management layer to update and redeploy client when backend services change.
- CUse a service proxy to handle authentication and authorization of backend requests.
- DMake the backend service calls in parallel to reduce latency.
121You’ve updated your API backend. The changes are not backward compatible and will break consumers of your current API. What approach would best serve your customers?
- ADisable the original version of your API and deploy an update.
- BNotify customers of the loss of backwards compatibility and deploy the updated version of your API.
- CDeploy two versions of your Cloud Endpoints API by creating a separate API configuration for each version.
- DDelay the release of the new API until all customers are ready to adopt the new API.
122A small number of customers are reporting that your API gateway is slow. What data can you view to begin troubleshooting the problem?
- AIn the Cloud Endpoints dashboard, review the number of 4xx and 5xx errors.
- BIn the Stackdriver Latency dashboard, review latency data for each request.
- CIn the Cloud Endpoints dashboard, review the latency for the median, 95th, and 98th percentile of requests.
- DAdd logging statements with timestamp to your code to record how long each step in the API takes.
123You need to design a social application to reach a much broader audience than before. You want to achieve scalability, reliability, and security. Select two best practices that you can implement to build scalable, more secure, and highly available applications?
- AManage your application’s code and environment by using a code repository and a dependency management system.
- BDesign for loose coupling between application components.
- CAvoid caching to minimize the number of services that your application depends on.
- DDevelop a highly secure user management system that you can rely on.
124You have a mission-critical application that is accessed globally. You must make sure that your application is able to serve traffic reliably. What is the best way to check if your application is ready to serve traffic?
- AAsk your testing team to run the system tests every day.
- BWrite a cron job to ping your application's home page every minute.
- CImplement a health-check endpoint for each service.
- DSet up monitoring dashboards that your global support team can look at 24 x 7.
125Which of the following statements is true?
- AYou can review data compliance and sovereignty requirements after you see the source of user traffic at launch.
- BIt is better to re-architect legacy applications in one big release so that engineering teams can focus on new applications.
- CFor transient network errors, applications should implement retry logic with exponential backoff and fail gracefully if the errors persist.
- DWhen rolling out builds to the production environment, consider performing canary testing to catch any Easter eggs (hidden messages and jokes) that developers may have hidden in the code.
126Identify two key aspects of this application's architecture.(Select all 2 correct answers)

- AThe application has a microservices-based architecture because the code is divided into a UI layer, business logic layer, and data access layer.
- BThe application will require longer development and QAcycles as the system grows in features and complexity.
- CThe layers of the application are loosely coupled.
- DThe application is monolithic because all layers need to be deployed as a single unit.
- EThe layers of this application can be scaled independently.
127Identify three key aspects of a sound architecture for a continuous integration and delivery (CI / CD) system.
- ADocker container images are stored in Cloud Storage for easy versioning and retrieval.
- BBuilds are tested in the development environment and canary deployment before promoting to the production deployment.
- CCanary deployments can help catch unexpected issues before they affect a large number of users in production.
- DDevelopers can also build container images on their laptops and deploy to the development environment.
- EWhen a developer commits code into the code repository, a continuous integration tool such as Jenkins builds a container image for the application.
128Which of the following is considered a best practice when developing cloud-native applications?
- AImplement API gateways to make backend functionality available to consumer applications.
- BStore and manage log files alongside the application for quick troubleshooting in case of errors.
- CUsing the Worker pattern, develop workers that share state to reduce data storage costs.
- DStore external dependencies such as JAR files or external packages in your code repository to avoid confusion.
129What are some uses for the API Explorer? Choose all that are correct (3 correct answers).
- AView details about the API request and response.
- BSearch for services and methods.
- CExecute API request in a programming language of your choice.
- DExecute an API method with some test parameter values.
130What tools does the Google Cloud SDK include?
- AGcloud, gsutil, Client Libraries
- BgRPC, gsutil, Client Libraries
- Cbq, gsutil, Client Libraries
- Dbq, gsutil, gcloud
131What is the gcloud command to list compute instances?
- Agcloud list compute instances
- Bgcloud compute instances get
- Cgcloud compute instances list
- Dgcloud view compute instances
132Which of the following statements about Google Cloud Client Libraries are accurate?
- ACloud Client Libraries handle low-level communication, retry logic, and authentication.
- BCloud Client Libraries are available in all programming languages.
- CCloud Client Libraries are helpful because they support a language's natural conventions and styles.
- DCloud Client Libraries are the latest and recommended approach to making requests to the server.
133Your code throws errors because the actual response from a Google Cloud API is not what you expect. You want to quickly find the response values for a set of test parameter values. How can you execute the API with minimal effort to determine the response data?
- AUse the API Explorer to execute a snippet of your code with test parameter values.
- BUse the API Explorer to run the equivalent gcloud command.
- CUse the API Explorer to invoke the API with test parameter values.
- DInvoke the unit test for your code with test parameter values.
134A restaurant in your neighborhood wants to put up a website that displays a menu, restaurant hours, and location on a map. You want to help set up the website. What is the best way to host the website on Google Cloud Platform?
- AServe the website's content from an application server running on a Compute Engine instance.
- BServe the website's content from a Cloud Storage table.
- CServer the website's content from a web server running on a Compute Engine instance.
- DServe the website's content from a Cloud Storage bucket.
135You are building a banking application that is expected to have a very large number of users across the world. When users make a deposit, they want to see the result of this deposit reflected immediately when they view their balance. What data storage option is ideal for storing account balance information for users?
- ACloud Firestore for Firebase is ideal because it enables you to develop a mobile app later.
- BCloud SQL is ideal because it is a relational database that supports transactions.
- CCloud Spanner is ideal because it supports strongly consistency reads in addition to horizontal scalability, low latency, and high throughput.
- DCloud Bigtable is ideal because it supports low-latency read/write access.
136You have a very large database that you are primarily using for queries in a business intelligence application. You want to move the data to a fully-managed solution. Which data storage option is ideal for such use cases?
- ACloud Bigtable
- BBigQuery
- CCloud Datastore
- DCloud Storage
137What best practices can you apply when creating a Cloud Datastore entity with a numeric key? Choose all that are correct (3 correct answers) .
- ALet Cloud Datastore automatically assign the numeric ID for the key.
- BAlways create keys with string IDs.
- CAvoid sequential numbering of keys.
- DWhen creating keys manually, get a block of IDs using the allocateIds() method.
- EAvoid built-in indexes because they create hotspots.
138Which one of the following statements about Cloud Datastore is accurate?
- ACloud Datastore supports referential integrity.
- BCloud Datastore supports analytics queries.
- CCloud Datastore supports atomic transactions.
- DCloud Datastore supports complex joins with multiple inequality filters.
139You receive the following error code from a Cloud Datastore request: INTERNAL. What action should you take?
- ARetry only if the problem is fixed.
- BRetry using exponential backoff.
- CRetry the request until it succeeds.
- DRetry only once.
140Which of the following statements about Cloud Datastore entities are accurate?
- AEntity keys can have manually generated numeric ids.
- BEntities can specify foreign key relationships.
- CEntities of the same kind can have different properties.
- DEntities of the same kind must have the same properties.
141Your expense report application allows users to submit multiple expenses in a single report. You want to add each expense as a separate entity in Cloud Datastore. How can you reduce latency when adding expenses to Cloud Datastore?
- AUse composite indexes to store and index multiple entities.
- BUse a batch operation to add multiple entities in one request.
- CAvoid built-in indexes for fast inserts.
- DUse automatically generated keys with numeric IDs.
142An employee can have multiple expense exports and each expense report can have multiple expenses. You need to store expense report information in Cloud Datastore. What is the best way to structure the data?
- ACreate entities with the following ancestor relationship:
- Root entity is Employee: Key = John Doe
- Child entity of Employee is ExpenseReport: Key = 2018_06
- Child entity of ExpenseReport is Expense: Key = 11111 - BCreate entities with the following ancestor key relationship:
- Root entity is Employee: Key = John Doe
- Child entity of Employee is ExpenseReport: Key = 2018_06
- Child entity of Employee is Expense: Key = 11111 - CCreate entities with the following foreign key relationship:
- Employee table with primary key EmployeeName = John Doe
- ExpenseReport table with foreign key Employee.EmployeeName
- Expense table with foreign key ExpenseReport.ExpenseId - DYou can structure data without any entity relationship because Cloud Datastore supports automatic built-in indexes.
- ACreate entities with the following ancestor relationship:
143Which of the following bucket names are valid?
(Select all 2 correct answers)- AMyFavoriteBucket
- Bsurprise!
- Cvanilla-bucket
- Dbucket_for_my_web_app
144What are the advantages of hosting static websites on Google Cloud Storage?
(Select all 2 correct answers)- AYou get automatic scaling with no additional effort.
- BYou don't need to set up and run a Compute Engine instance.
- CCloud Storage automatically authenticates users.
- DCloud Storage supports cross-origin resource sharing (CORS).
145Review the following gsutil command. What is the result when the command is executed?
gsutil mb -c regional -l us-central1 gs://parent-bucket- AThe command creates a bucket called "regional" in the "us-central1" location under an existing bucket called "parent-bucket".
- BThe command creates a bucket called "parent-bucket" in the "us-central1" location with "regional" storage class.
- CThe command modifies a bucket called "parent-bucket" and changes properties to "us-central1" location and "regional" storage class.
- DThe command modifies a bucket called "parent-bucket" or creates the bucket if it does not already exist.
146You are tasked with designing a disaster recovery system in your organization. You need to make sure that all applications recover and become available as quickly as possible. What storage class is ideal for storing backups of your data if the data is to be stored for two years and is unlikely to be accessed?
- AColdline
- BArchive
- CStandard
- DNearline
147Identify two key aspects of this build system's architecture.

- AAs the build artifacts get older, they move through various storage classes to limit their retention cost.
- BJenkins can also be used to store build artifacts long term.
- CIt is best to set up gsutil scripts to transition objects to Nearline and Coldline storage classes.
- DThe build system stores build artifacts in Cloud Storage.
148Review the following gsutil command. What is the result when the command is executed?
gsutil mb -c regional -l us-central1 gs://parent-bucket- AThe command modifies a bucket called "parent-bucket" and changes properties to "us-central1" location and "regional" storage class.
- BThe command creates a bucket called "parent-bucket" in the "us-central1" location with "regional" storage class.
- CThe command creates a bucket called "regional" in the "us-central1" location under an existing bucket called "parent-bucket".
- DThe command modifies a bucket called "parent-bucket" or creates it if it does not already exist.
149Before transferring data to you, a third-party breaks up each large data file into 15 small chunks because of network bandwidth issues. You want to use Google BigQuery to directly query Cloud Storage data. What is the best way to combine the chunks into a single file?
- AAsk third-party to use truncated exponential backoff to failed upload of a large file.
- BUse strongly consistent reads and writes to ensure accuracy of file transfer.
- CUse the "gsutil -m" command to perform a multi-threaded/multi-processing to transfer chunks as a single unit.
- DUse the "gsutil compose" command to build a composite object from smaller chunks.
150Which of the following statements about continuous integration and delivery are accurate? Select two.
- AContinuous integration is a developer workflow in which developers frequently pull from the master and commit their changes into a feature branch in a source code repository.
- BTo benefit from continuous integration and delivery developers must use GitHub.
- CContinuous delivery is a workflow that is triggered when changes are pushed to the master repository.
- DIf all tests pass, builds generated from continuous integration in a feature branch can be released on a production environment.
151How can Container Builder and Container Registry help you build a continuous integration and delivery pipeline? Select three.
- AYou can install Container Builder on Google Kubernetes Engine. Kubernetes Engine will autoscale depending on the number of builds.
- BWith Container Builder, the artifacts produced by each build step are persisted in the /workspace folder and can be used by the following build step.
- CContainer Builder is a fully managed service. You do not need to download all build tools and container images to a build machine or manage build infrastructure.
- DWhen you commit code to a repository, you must start a build manually using the gcloud command.
- EBy using Container Registry and Container Builder, you can create build pipelines that are automatically triggered when you commit code to a repository.
152What is the primary use case for Deployment Manager?
- ADeployment Manager enables you to build Docker images.
- BDeployment Manager enables you to stand up Google Cloud Platform infrastructure. You can treat infrastructure as code.
- CDeployment Manager enables you to stand up multi-cloud resources.
- DDeployment Manager templates can be tested locally before deploying infrastructure on Google Cloud Platform.
153Review the following Container Builder build configuration file. Which of the following statements accurately describes the build steps in this configuration?
steps:
- name: gcr.io/cloud-builders/git
args: ['clone', 'https://github.com/GoogleCloudPlatform/cloud-builders']
env: ['PROJECT_ROOT=hello']
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/my-project-id/myimage', '.']- AThe build configuration file is invalid because the two steps are independent and don't share the same working directory.
- BThe build configuration file is invalid because Docker cannot build contents of a GiHub repository.
- CThere are two steps. The first step clones a GitHub repository. The second step builds a Docker image based on the contents of the repository.
- DThere are two steps. The first step creates a repository called cloud-builders on GitHub. The second step creates a cloud-native application image for that repository.
154Review the following Deployment Manager configuration. Which of the following statements are accurate? Select three.
imports:
- path: vm_template.jinja
resources:
- name: my-vm
type: vm_template.jinja
properties:
zone: us-central1-a
startup-script: |
#!/bin/bash
python -m SimpleHTTPServer 8080- AThe code specified in the startup-script property will be executed in Google Cloud Shell.
- BThe "vm_template.jinja" template should not be specified in the "type" attribute because it is already specified in the "imports" section.
- CThe "zone" property is passed to the template.
- DThe deployment configuration launches a Google Compute Engine instance.
- EA web server will be launched and server traffic at port 8080.
155Which of the following statements about a Container Builder, Container Registry, and Deployment Manager are accurate? Select two.
- ACloud Container Builder and Deployment Manager enable you to treat infrastructure as code.
- BYou can use Deployment Manager to set up virtual machine instances on-premise.
- CBuild triggers can be helpful when building a continuous integration and delivery pipeline using Container Builder and Container Registry.
- DYou cannot mix and match tool chains. For example, you cannot use Container Builder and Container Registry with Spinnaker.
156What is the programming framework used with Cloud Dataflow?
- AApache Mesos
- BApache Beam SDK
- CGoogle Cloud SDK
- DGoogle Cloud Client Libraries
157For what types of applications should you consider an execution environment other than Cloud Functions?
- AApplications that have a large and complex codebase.
- BApplications that are written in a programming framework other than Node.js
- CApplications that are written in the Node.js programming framework
- DApplications that are light-weight microservices
158Your application requires highly customized VMs for specialized applications that have specific operating system requirements. Which execution environment should you consider?
- AApp Engine flexible environment
- BGoogle Compute Engine
- CGoogle Kubernetes Engine
- DCloud Functions
159Your application executes parallel data processing pipelines to analyze IoT manufacturing data. Which would be the ideal execution environment for your application?
- AGoogle Compute Engine
- BGoogle Cloud Functions
- CApp Engine Standard
- DCloud Dataflow
160Your application will create and save a thumbnail of an image every time the user initiates an upload. What execution environment should you consider?
- AApp Engine flexible environment
- BGoogle Compute Engine
- CGoogle Kubernetes Engine
- DGoogle Cloud Functions
161Your application uses network protocols other than HTTP/S, and the application is run partially on-premises and partially in the cloud. What execution environment should you consider?
- AApp Engine flexible environment
- BGoogle Compute Engine
- CGoogle Kubernetes Engine
- DCloud Functions
162Users are encountering errors in your application. You want to view the stack trace to determine where the error occurred. What service would help you view the error?
- ACloud Trace
- BCloud Monitoring
- CError Reporting
- DCloud Logging
163You want to stream logs into Cloud Logging from third-party applications running on Compute Engine instances. What service should you consider?
- ACloud Trace
- BCloud Debugger
- CError Reporting
- DCloud Logging Agent
164What are the benefits of monitoring your application? Select three.
- AYou can analyze long-term trends in performance.
- BYou can compare results over time or between experimental configurations.
- CYou can prevent showstopper issues.
- DYou can create performance tests as needed.
- EYou can raise alerts when something is broken or about to be broken.
165You want to set up monitoring for your mission-critical application. What signals should you monitor in your dashboards?
- ASaturation, Latency, Traffic, Errors
- BSaturation, Latency, Throttling, Errors
- CContrast, Latency, Traffic, Errors
- DSecurity, Latency, Throttling, Errors
166After a few minor releases, certain aspects of your application seem to be running slower than before in production. What is the best way to detect performance issues earlier in the release cycle?
- AYou can plan for additional CPU and memory resources.
- BYou can add performance tests to your test suite.
- CYou can avoid making changes to time-sensitive code.
- DYou can add time measurements around new code to detect slowness.
167You can execute the gRPC calls for Cloud Datastore and Cloud Pub/Sub in series.

- AYou can execute the gRPC calls for Cloud Datastore and Cloud Pub/Sub in parallel.
- BYou can query data in a batch operation instead of querying for individual orders.
- CYou can execute the gRPC calls for Cloud Datastore and Cloud Pub/Sub in series.
- DYou can use the REST API for Cloud Datastore and Cloud Pub/Sub instead of gRPC APIs.
Information
- Description
- Informática Quiz on GCP, created by Gustavo Yauny on 03/06/2021.
- Author
- Gustavo Yauny
- Language
- English
- Views
- 25
- History
- Created on 3 Jun 2021 · updated on 12 Jun 2021
- Tags
- Rating
- No ratings yet Rate this quiz