Google Cloud Interview Questions

Question:

What are Google Cloud Platform resources?

Ans – Google Cloud Platform resources reside in regions or zones

Resources can have global, regional, or zonal scope

Zonal resources are only available to other resources in the same zone

Question:

What services offered by Google Cloud Platform?

Ans – Big data

Computing and hosting

Networking

Question:

What are the benefits to Google Cloud Platform’s Data Center Innovation?

Ans – High-performance VMs

Google Cloud Machine Learning

Energy efficient and carbon neutral

Question:

What are Big Data Analytics offerings provided by Google Cloud Platform?

Ans – Cloud Dataflow

BigQuery

Cloud Pub/Sub

Question:

What is the name of the command line on GCP?

Ans – Google Cloud Shell

Question:

You are creating a project on a Google Cloud Platform free trial account. How many projects are you allowed to create with a free trial account?

Ans – 12

Question:

Which command shows Google Cloud project-specific details?

Ans – gcloud projects describe

Question:

Which gcloud snapshot command is correct?

Ans – gcloud compute disks snapshot linuxsrv1 –snapshot-names linuxsrv1-snapshot1

Question:

Which gcloud command is used to deploy a new virtual machine instance?

Ans – gcloud compute instances create

Question:

Which command deletes a virtual machine instance while keeping the boot disk?

Ans – gcloud compute instances delete windowssrv2 –keep-disks boot

Question:

You need to verify that a Google Cloud managed DNS zone A record resolves to a specific IP address. How can this be viewed using gcloud?

Ans – gcloud dns record-sets list

Question:

You need to allow inbound SSH traffic. Which command creates a firewall rule to allow this?

Ans – gcloud compute firewall-rules create default-allow-ssh –allow tcp:22

Question:

Which CLI command lists Google Cloud storage buckets?

Ans – gsutil ls

Question:

Which command downloads logo3.jpg from a Google Cloud bucket?

Ans – gsutil cp gs://bucket172/logo3.jpg tmp

Question:

You need to allow public access to logo2.jpg. Which command will achieve this?

Ans – gsutil acl ch -u AllUsers:R gs://bucket175/logo2.jpg