GCE Practice Exam #3

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

What is the purpose of Cloud Monitoring's uptime check?

Verify application availability via HTTP/S requests.

2
New cards

What is the purpose of a VPC flow log?

Track network traffic metadata (source/destination IPs).

To capture and log network traffic information for analysis.

3
New cards

What is the primary use of Cloud Firestore?

NoSQL document storage with real-time sync.

4
New cards

Which service is best for real-time analytics on streaming data?

Cloud Dataflow allows for processing and analyzing streaming data in real time with a serverless architecture.

5
New cards

What is the purpose of a firewall rule in Google Cloud?

To control incoming and outgoing traffic to resources in a VPC.

6
New cards

Which storage option is ideal for IoT event data with high write throughput?

Cloud Bigtable provides a scalable storage solution optimized for high write throughput and is well-suited for IoT event data.

7
New cards

How do you list all running VM instances in a project?

You use the gcloud compute instances list command to display all running virtual machine instances in a specific project.

8
New cards

Which command lists all IAM roles granted to a user in a project?

You use the gcloud iam roles list command to display all IAM roles assigned to a specific user within a project.

9
New cards

Which feature allows VMs to access metadata without public IPs?

Metadata server allows VMs to access instance metadata without requiring public IP addresses, ensuring secure access to configuration and metadata information.

10
New cards

Which feature allows splitting traffic between Cloud Run revisions?

Traffic splitting feature allows you to route a percentage of requests to different revisions of a Cloud Run service.

11
New cards

What is the purpose of VPC Service Controls?

Limit data exfiltration via API perimeters.

12
New cards

Which service is best for running a stateful MySQL database with automated backups?

Cloud SQL is the best service for running a stateful MySQL database with automated backups, providing managed database solutions.

13
New cards

How do you troubleshoot a GKE Pod stuck in 'Pending' status?

Check node availability and resource limits or inspect Pod events for errors.

14
New cards

Which command creates a static global IP address?

The command to create a static global IP address in Google Cloud is gcloud compute addresses create --global. This reserves a static IP for use with Google Cloud services.

15
New cards

What is the purpose of Cloud Monitoring's uptime check?

Verify application availability via HTTP/TCP.

16
New cards

Which command reserves a static internal IP address?

gcloud compute addresses create --region=us-central1

17
New cards

What is the purpose of a custom mode VPC?

To create a virtual private cloud with manual subnet configurations and routing.

18
New cards

What is the purpose of OS Login?

To manage SSH access to instances using IAM roles and permissions.

19
New cards

How do you enable Dataflow's Shuffle Service?

Set --enable_shuffle_service in pipeline options.

20
New cards

How do you enable SSH access to a VM instance without public IP?

Configure IAP (Identity-Aware Proxy) for secure access.

21
New cards

Which service is used to schedule recurring data imports into BigQuery?

BigQuery Data Transfer Service

22
New cards

Which storage class is optimized for data accessed once a month?

Nearline

23
New cards

What is the primary use of Cloud Pub/Sub?

A messaging service for event-driven systems that allows applications to communicate asynchronously.

24
New cards

How do you enable the Kubernetes Engine API for a project?

By navigating to the Google Cloud Console and activating the API from the API library.

or

Run gcloud services enable container.googleapis.com.

25
New cards

How do you deploy a containerized app without managing infrastructure?

By using a serverless platform like Google Cloud Run.

26
New cards

How do you enable Dataflow's streaming engine?

Set --enable_streaming_engine in job parameters.

27
New cards

What is the purpose of a custom machine type in Compute Engine?

Tailor CPU and memory to workload needs.

28
New cards

Which service is used to migrate on-premises databases to Cloud SQL?

Database Migration Service (DMS).

29
New cards

How do you reduce latency for static content globally?

Cloud CDN

30
New cards

What is the purpose of the roles/storage.objectAdmin role?

Manage objects within a bucket.

31
New cards

How do you enforce MFA for all project users?

Configure Cloud Identity.

32
New cards

What is the purpose of a service account key rotation?

To Enhance security by limiting key lifespan.

33
New cards

What is the first step to troubleshoot a VM instance that cannot connect to the internet?

Check firewall rules.

34
New cards

Which service is used to orchestrate Apache Airflow workflows?

Cloud Composer

35
New cards

Which feature allows cross-project resource monitoring in Cloud Monitoring?

Workspaces.

36
New cards

How do you enable Private Google Access for a subnet?

Modify subnet settings to allow private API access.

37
New cards

Which service is best for running stateful applications on GKE?

PersistentVolumes (PVs).

38
New cards

Which feature ensures VMs are distributed across multiple zones for high availability?

Regional Managed Instance Groups (MIGs).

39
New cards

What is the purpose of a billing account in Google Cloud?

Link projects to payment methods.

40
New cards

Which command deploys a Cloud Function triggered by Cloud Storage events?

gcloud functions deploy --trigger-bucket

41
New cards

What is the purpose of the roles/iam.serviceAccountUser role?

Allow impersonation of service accounts.

42
New cards

What is the purpose of the gcloud compute instances set-service-account command?

Attach a service account to a VM instance.

43
New cards

Which IAM role allows viewing project resources but not modifying them?

roles/viewer

44
New cards

How do you revoke temporary service account credentials?

Use gcloud iam service-accounts keys disable.

45
New cards

How do you enforce TLS for traffic to a Cloud Storage bucket?

Set a bucket policy to require HTTPS.

46
New cards

Which service is used to migrate VMs from AWS to Google Cloud?

Migrate for Compute Engine

47
New cards

What is the purpose of gcloud config configurations?

Manage multiple CLI environments.

Switches between projects/accounts.

48
New cards

Which feature allows splitting traffic between Cloud Run revisions?

Traffic splitting

49
New cards

Which command creates a snapshot of a Persistent Disk?

gcloud compute disks snapshot

50
New cards

What is the purpose of a Cloud Armor security policy?

Block DDoS attacks and malicious traffic.