ExamGecko
Home Home / Google / Cloud Digital Leader

Google Cloud Digital Leader Practice Test - Questions Answers, Page 20

Question list
Search
Search

List of questions

Search

Related questions











DriveSuper Inc. teaches its clients to drive cars and bikes and helps them get their license. They are planning to build a mobile application where users can sign up, plan their schedules, and take stock of progress. They want the onboarding process to be smooth and frictionless, giving users a great experience from the get-go. They want this done as quickly as possible and not be expensive. What is their best option on Google Cloud?

A.
Build the mobile app with Cloud SQL as the backend
A.
Build the mobile app with Cloud SQL as the backend
Answers
B.
Build the mobile app with Cloud Storage as the backend
B.
Build the mobile app with Cloud Storage as the backend
Answers
C.
Build the mobile application with Firebase as the backend
C.
Build the mobile application with Firebase as the backend
Answers
D.
Build the mobile app with Cloud Spanner as the backend
D.
Build the mobile app with Cloud Spanner as the backend
Answers
Suggested answer: C

Explanation:

Firebase/Firestore is easy to build and is suitable for user information that could bvary in nature.

Which of the following is true while creating a boot persistent disk from a snapshot.

A.
You cannot apply a snapshot to an existing persistent disk, or apply a snapshot to persistent disks that belong to a different project than that snapshot.
A.
You cannot apply a snapshot to an existing persistent disk, or apply a snapshot to persistent disks that belong to a different project than that snapshot.
Answers
B.
It is only possible to apply data from a snapshot when you first create a persistent disk.
B.
It is only possible to apply data from a snapshot when you first create a persistent disk.
Answers
C.
After you create a snapshot of a boot persistent disk, you can apply data from that snapshot to new persistent disks.
C.
After you create a snapshot of a boot persistent disk, you can apply data from that snapshot to new persistent disks.
Answers
D.
All of the above.
D.
All of the above.
Answers
Suggested answer: D

Explanation:

When you create a virtual machine (VM) instance, you must also create a boot disk for the VM. You can use a public image, a custom image, or a snapshot that was taken from another boot disk. When you create a boot disk, limit the disk size to 2 TB to account for the limitations of MBR partitioning.

Compute Engine automatically creates a boot persistent disk when you create an instance. If you require additional data storage space for your instances, add one or more secondary instance storage options.

You might need to create a standalone boot persistent disk and attach it to an instance later, or resize a boot persistent disk to improve performance and add more space for additional applications or operating system files. That process is described in Add or resize a persistent disk.

As a best practice, do not use regional persistent disks for boot disks. In a failover situation, they do not force-attach to a VM.

After you create a snapshot of a boot persistent disk, you can apply data from that snapshot to new persistent disks. It is only possible to apply data from a snapshot when you first create a persistent disk. You cannot apply a snapshot to an existing persistent disk, or apply a snapshot to persistent disks that belong to a different project than that snapshot.

An application has become very popular and the number of requests/users is increasing quickly.

There is a meeting to figure out how to scale the systems so that they can accept user requests and still have the capacity to spare. What is the preferred option?

A.
Circular Scaling takes a round-robin approach to allocate and destroy VMs.
A.
Circular Scaling takes a round-robin approach to allocate and destroy VMs.
Answers
B.
Triangular Scaling takes an automated average of Cost, Effort, and Time.
B.
Triangular Scaling takes an automated average of Cost, Effort, and Time.
Answers
C.
Vertical Scaling
C.
Vertical Scaling
Answers
D.
Horizontal Scaling
D.
Horizontal Scaling
Answers
Suggested answer: D

Explanation:

Horizontal scaling, also called scaling out, adds new VMs to increase application capacity.

A customer in the European Union region is very clear that their data should not go outside the European Union. Their end users are spread all over the European U. They have to choose a storage option that serves all the users within Asia via web browsers as quickly as possible. Which storage option will work for them?

A.
Cloud Storage with a single region that is known to be within the European U
A.
Cloud Storage with a single region that is known to be within the European U
Answers
B.
Cloud Filestore is connected to virtual machines which are guaranteed to be within the European UC . Cloud Storage with the multi-region option of European U
B.
Cloud Filestore is connected to virtual machines which are guaranteed to be within the European UC . Cloud Storage with the multi-region option of European U
Answers
C.
Cloud Storage with the dual-region option of European U
C.
Cloud Storage with the dual-region option of European U
Answers
Suggested answer: C

Explanation:

Multi-region option will use multiple datacenters that are within the European Union. More regions will also help with lower latency since users are spread across the European U.

https://cloud.google.com/storage/docs/locations#considerations

In terms of Dockers and Kubernetes, which of the following statements are correct?

A.
Kubernetes uses Docker to deploy, manage, and scale containerized applications.
A.
Kubernetes uses Docker to deploy, manage, and scale containerized applications.
Answers
B.
Difference between Docker and Kubernetes relates to the role each play in con-tainerizing and running your applications
B.
Difference between Docker and Kubernetes relates to the role each play in con-tainerizing and running your applications
Answers
C.
Kubernetes can be used with or without Docker.
C.
Kubernetes can be used with or without Docker.
Answers
D.
All of the above.
D.
All of the above.
Answers
Suggested answer: D

Explanation:

Kubernetes vs. Docker

Often misunderstood as a choice between one or the other, Kubernetes and Docker are different yet complementary technologies for running containerized applications.

Docker lets you put everything you need to run your application into a box that can be stored and opened when and where it is required. Once you start boxing up your applications, you need a way to manage them; and that's what

Kubernetes does.

Kubernetes is a Greek word meaning 'captain' in English. Like the captain is responsible for the safe journey of the ship in the seas, Kubernetes is responsible for carrying and delivering those boxes safely to locations where they can be used.

- Kubernetes can be used with or without Docker.

- Docker is not an alternative to Kubernetes, so it's less of a "Kubernetes vs. Docker" question. It's about using Kubernetes with Docker to containerize your applications and run them at scale.

- The difference between Docker and Kubernetes relates to the role each play in containerizing and running your applications.

- Docker is an open industry standard for packaging and distributing applications in containers.

- Kubernetes uses Docker to deploy, manage, and scale containerized applications.

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. What is correct below the options

A.
False
A.
False
Answers
B.
None of the above.
B.
None of the above.
Answers
C.
True
C.
True
Answers
D.
Not defined by GCP.
D.
Not defined by GCP.
Answers
Suggested answer: A

Explanation:

Policies are a union of those applied to resources themselves and those inherited from higher levels in the hierarchy. If a parent policy is less restrictive, it overrides a more restrictive policy applied to the resource. If a parent policy is more restrictive, it does not override a less restrictive policy applied to the resource. Therefore, access granted at a higher level in the hierarchy cannot be taken away by policies applied at a lower level in the hierarchy.

Your customer is moving to Google Cloud. They have many teams, each working on many projects.

How should they organize resources?

A.
Let each team have one shared Folder with multiple Projects within it so that there is a separation of concerns.
A.
Let each team have one shared Folder with multiple Projects within it so that there is a separation of concerns.
Answers
B.
Let each Project have one Folder so that there is a clear separation of concerns.
B.
Let each Project have one Folder so that there is a clear separation of concerns.
Answers
C.
Let each team have an Organization so that they can entirely manage themselves with their own identity.
C.
Let each team have an Organization so that they can entirely manage themselves with their own identity.
Answers
D.
Let each team have one shared Project so that it is easy to manage.
D.
Let each team have one shared Project so that it is easy to manage.
Answers
Suggested answer: A

Explanation:

The recommended approach is to have folders corresponding to teams/departments and they manage the projects within that.

-> Sharing a single project will cause a conflict of resources, billing, concerns, etc.

-> One folder per project is unnecessary overuse of abstraction/grouping.

-> Teams and projects in a company should ideally be centrally managed in a single Organization.

Considering Google Cloud Storage different Options which of the following is / are correct on the basis of their real world use cases?

A.
Cloud Storage : Images, Large Media, files , backups.
A.
Cloud Storage : Images, Large Media, files , backups.
Answers
B.
Google Cloud BigTable : AdTech, Financial and IoT Data.
B.
Google Cloud BigTable : AdTech, Financial and IoT Data.
Answers
C.
Cloud SQL : User Credentials, customer orders.
C.
Cloud SQL : User Credentials, customer orders.
Answers
D.
All of the Above.
D.
All of the Above.
Answers
Suggested answer: D

Explanation:

Cloud Datastore is the best for semi-structured application data that is used in app engines' applications. Bigtable is best for analytical data with heavy read/write events like AdTech, Financial or IoT data. Cloud Storage is best for structured and unstructured, binary or object data like images, large media files and backups. SQL is best for web frameworks and in existing applications like storing user credentials and customer orders. Cloud Spanner is best for large scale database applications that are larger than two terabytes; for example, for financial trading and e-commerce use cases. As I mentioned at the beginning of the module, depending on your application, you might use one or several of these services to get the job done.

The government has mandated that companies in a particular section of healthcare must retain all the data they collect for a period of 10 years in case an audit needs to be done. Your client, who is in that industry, needs to follow regulations. In addition, your client wants to do an analysis of the data quite frequently in the first year. They also don't want to be liable for any data beyond year 10. What would recommend for your customer?

A.
Use Cloud Storage with nearline storage in year one and Coldline storage thereaf-ter. Use Object lifecycle management to move between storage types and delete them after 10 years.
A.
Use Cloud Storage with nearline storage in year one and Coldline storage thereaf-ter. Use Object lifecycle management to move between storage types and delete them after 10 years.
Answers
B.
Use Cloud Storage with standard storage in year one and Coldline storage there-after. Set a Cloud Scheduler trigger for 1 year to change storage types and 10 years to delete the data.
B.
Use Cloud Storage with standard storage in year one and Coldline storage there-after. Set a Cloud Scheduler trigger for 1 year to change storage types and 10 years to delete the data.
Answers
C.
Use Cloud Storage with standard storage in year one and archival storage thereaf-ter. Use Object lifecycle management to move between storage types and delete them after 10 years.
C.
Use Cloud Storage with standard storage in year one and archival storage thereaf-ter. Use Object lifecycle management to move between storage types and delete them after 10 years.
Answers
D.
Use Cloud Storage with standard storage in year one and Coldline storage there-after. Set a Cloud Tasks to trigger for 1 year to change storage types and 10 years to delete the data.
D.
Use Cloud Storage with standard storage in year one and Coldline storage there-after. Set a Cloud Tasks to trigger for 1 year to change storage types and 10 years to delete the data.
Answers
Suggested answer: C

Explanation:

Cloud storage supports Object Lifecycle Management. To support common use cases like setting a Time to Live (TTL) for objects, retaining noncurrent versions of objects, or "downgrading" storage classes of objects to help manage costs, Cloud Storage offers the Object Lifecycle Management feature.

Standard storage is recommended for frequently accessed data and Archive for data accessed less than once a year.

Nearline, Coldline, and Archive offer ultra-low-cost, highly-durable, highly available archival storage.

For data accessed less than once a year, Archive is a cost-effective storage option for the long-term preservation of data. Coldline is also ideal for cold storageódata your business expects to touch less than once a quarter. For warmer storage, choose Nearline: data you expect to access less than once a month, but possibly multiple times throughout the year.

You are discussing scaling requirements with a gaming company. When the game launches, they are expecting incoming data surges of 2 million users or more during weekends and holidays. Their onpremise systems have had issues scaling and they want your advice on solving the issue. What do you recommend?

A.
Either Compute Engine VMs or Kubernetes nodes work, but it is better to keep a buffer of an extra 2 million users.
A.
Either Compute Engine VMs or Kubernetes nodes work, but it is better to keep a buffer of an extra 2 million users.
Answers
B.
We can deploy a Pub/Sub to ingest data which will grow to absorb demand and pass it on to other stages.
B.
We can deploy a Pub/Sub to ingest data which will grow to absorb demand and pass it on to other stages.
Answers
C.
We will allocate Compute Engine VMs estimating 80% capacity of 2 million users.
C.
We will allocate Compute Engine VMs estimating 80% capacity of 2 million users.
Answers
D.
We will allocate Kubernetes nodes estimating 80% capacity of 2 million users.
D.
We will allocate Kubernetes nodes estimating 80% capacity of 2 million users.
Answers
Suggested answer: B

Explanation:

When there are huge surges in demand, it is preferable to use serverless technologies that automatically scale on demand. In this case, the key concern is data ingestion. Pub/Sub is a serverless system that can expand to absorb such demand.

Total 371 questions
Go to page: of 38