GCP ACE Flashcards

1
Q

What is the order of GCP launch stages? Used in logging and monitoring to check where features are.

A

UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA (General Availability)

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

Can the Organizational Administrator IAM role turn off all services in an existing GCP project?

A

No. An admin of an Organization is a member that has privileges which include modifying product access privileges for other members, inviting and removing members from an Organization and changing member roles. An Organization can have more than one admin. More to do with IAM policies than resources. The Project owner CAN shut down all resources.

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

What service enables admins to synchronize users, groups, and other data from an Active Directory/LDAP service to their cloud domain directory?

A

Google Cloud Directory Sync (GCDS)

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

What are the recommended access reoccurrence threshold for the different GCS Storage Classes?

A

Standard - frequently, daily
Nearline - less than once a Month
Coldline - less than once a quarter
Achive - less than once a year

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

Does roles/iam.serviceAccountUser or roles/iam.serviceAccountAdmin allow you to create service accounts?

A

roles/iam.serviceAccountAdmin

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

What role allows you to view the hierarchal structure on your organization, but not any resources?

A

roles/browser. This does allow them to view IAM policy as well

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

You want to quickly deploy a third-party app, what should you use?

A

Google Cloud Marketplace

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

How should you group resources that share common IAM policies?

A

Use folders to group resources that share common IAM policies.

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

By default, where does GKE collect the app logs when the log data is written? Two answers

A

STDOUT and STDERR

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

What is the CLI command to default to a GKE cluster?

A

gcloud config set container/cluster <CLUSTER_NAME></CLUSTER_NAME>

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

Can App Engine flexible scale to zero?

A

No. It has to start at one. Standard can scale to zero, and does by default.

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

Are images recommended for pub/sub?

A

No.

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

What is the gcloud command to use a service account private key for authentication?

A

gcloud auth activate-service-account <PRIVATE_KEY_PATH></PRIVATE_KEY_PATH>

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

What are the memory-optimized machine types?

A

M1, M2, M3. Can be used for in-memory purposes

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

What are the Alert Maxiumums for high-priority single-region and multi-region?

A

single-region: 65%

Multi-region: 45%

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

Can you enable deletion protection on a VM instance?

A

Yes.

17
Q

How can you grant access to an operations partner (no GCP account) to VM instances to install tooling?

A

Cloud IAP Tunnel user with IAP. Identity-Aware Proxy.

18
Q

Can you update an App Engine’s region after it is created?

A

NO. You either need to create a new project and then deploy the new region there, or delete and recreate in that project.

19
Q

What is a DaemonSet?

A

Ensures that all (or some) Nodes run a copy of a pod.
Typical Use cases:
- running a cluster storage daemon on every node
- running a log collection daemon on every node
- running a node monitoring daemon on every node

20
Q

What is the best storage/db solution for time-series data?

A

BigTable. But you can use BigQuery to run analysis on it.

21
Q

Can Managed Instance Groups read config files like YAML?

A

No, for that you would need Deployment Manager

22
Q

How do you support point-in-time recovery for data in SQL?

A

Enable binary logging.

23
Q

How is GKE sandbox built?

A

With gvisor. You can enable GKE sandbox to isolate untrusted workloads.

24
Q

Why would a GKE pod be in a ponding status? 3 answers.

A

Not enough CPU. Not enough Memory. Not enough CPU and Memory.

25
Q

What data services can use Dataplex?

A

Cloud Storage and BigQuery. Then you can use Data Catalog.

26
Q

What command allows you to reset and retrieve a password for a windows VM?

A

gcloud compute reset-windows-password <INSTANCE_NAME></INSTANCE_NAME>

27
Q

What does Cloud Container Registry use as underlying storage for container images?

A

Cloud Storage. So if someone needs access, they need Cloud Storage permissions.

28
Q

What are the 5 types of GKE services?

A
  • ClusterIP: default, client sends requests to stable internal IP address
  • NodePort: client sends IP address of a node on 1 or more nodePort
  • Loadbalancer: client sends requests to IP address of a network loadbalancer
  • ExternalName: Internal client uses the DNS name of a service as an alias for an external DNS name
  • Headless: Pod grouping, but no stable IP address

Loadbalance is an extension of nodePort which is an extension of ClusterIP

29
Q

What does maxSurge indicate within a managed instance group update?

A

Maxiumum additional # of instances that can be created during the update process.

Can be fixed or %.

30
Q

Does Instance Template have the ability to enable health checks?

A

No, but managed instance groups can.