Annette's Notes Flashcards

(39 cards)

1
Q

Highest Level access that a user can have?

A

Super Administrator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What would you assign someone who needs organization level access?

A

Organization Admionistrator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Project ID vs Project Name vs Project Number

A

Project ID is chosen by you, cannot be changed

Project Name - display name, can be changed

Project Number - Assigned by GCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does Cloud Identity tell the cloud?

A

Authentication - who the user is

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does Cloud IAM tell the cloud?

A

What the user can do - authorization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Cloud Trace?

A

Distributed Tracing for latency analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Cloud Profiler?

A

Application performance profiling to optimize CPU and Memory Usage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Managed Service for Prometheus?

A

Managed, scalable version of the open-source Prometheus monitoring tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Are APIs disabled by default and how would you enable them?

A

They are disabled by default
You need to enable them per project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Do projects need to be linked to a billing account to be active?

A

Yes they do before you even use anything

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What allows you to manage service accounts but their keys?

A

Service Account Admin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which cloud service should you use to set up alerts based on log events?

A

Cloud Monitoring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which logging solution is best suited for aggregating and analyzing logs from multiple google cloud projects?

A

Log Analytics in Cloud Logging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Does Compute Engine support direct region change? How would you create an image and deploy it to a new regiong?

A

No, you would need to create the instance and deploy it in that new region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which network type automatically creates subnets for each region?

A

Auto mode VPC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can you assign temporary roles to a user?

A

Use IAM conditions

17
Q

What is the maximum memory allocation of 8 GB per container?

18
Q

What is the default subnet mast for a google cloud auto mode VPC?

19
Q

If you need to create a private google kubernetes engine cluster, what should you do?

A

Set –enable-private-nodes when creating the cluster

20
Q

Which tool helps you diagnose and troubleshoot network connectivity in google cloud?

A

VPC flow logs since it can record network traffic details

21
Q

How do you connect on-prem to the cloud in a secure and fast manner?

A

Use cloud interconnect

22
Q

When you need to allow a VM access to Cloud Storage Securely, what should you use?

A

User-managed service account because then you have full control

23
Q

How can you deploy a google cloud function using the gcloud CLI?

A

gcloud functions deploy my-function –trigger-http –runtime=nodejs18

24
Q

Which command allows you to connect to a GKE cluster from your local machine?

A

gcloud container clusters get-credentials <cluster-name></cluster-name>

25
What is the default service type when deploying a Kubernetes Service in GKE?
ClusterIP
26
You need to configure a VM instance to use a specific GPU model, what must you do?
Choose a GPU supported zone and add a GPU accelerator
27
You want to ensure that traffic from your compute engine instances to the internet always goes through a specific external IP, what should you use?
Static External IP
28
Which gcloud command is used to set a default project for all operations?
gcloud config set project
29
Which features allows Google Cloud Services to access each other without using long-lived credentials?
Workload Identity federation They are short-lived automatically rotated tokens
30
Which google cloud service allows storing and managing sensitive data like API keys securely?
Secret Manager
31
A developer needs to access a database secret stored in secret manager. Which IAM role should t hey have?
Secret manager secret accessor
32
Which google cloud service allows you to take snapshots of persistent disks?
Compute Engine
33
What is the main benefit of using a blue-green deployment strategy?
Ensures zero downtime updates Blue = live, green = new version
34
How can you make a cloud run service publicly accessible?
Set IAM policy to allUsers with Cloud Run Invoker role
35
What is the default behavior of a firewall rule with priority 1000 in Google Cloud?
Allows all outbound traffic
36
You are setting up PostgreSQL database in GCP and need automatic backups, which service should you use?
Cloud SQL
37
What is Workload Identity Federation?
It is a service that runs outside the given cloud environment to allow non-human workloads running outside to authenticate to the cloud
38
Whats the command to list all active service accounts in a google cloud project?
gcloud iam-service-accounts list
39