GCP Professional Cloud Architect Flashcards
What are the General Purpose Machine Families?
E2, N2, N2D, N1
What are the benefits of general purpose machine types in GCP compute?
Best price to performance ratio
What are the Memory Optimized Machine Families?
M2 and M1
What are the compute optimized machine family designations
C2
How is the compute engine naming convention broken down?
e2-standard-2
Machine Type Family-Type of Workload-Number of CPU
What are the two types of compute engine Images?
Public (Maintained by google or open source sources)
Custom (created by you for your projects)
T or F:
Static IP can be switched to another VM instance in same project
True
Does a static IP address remain attached to a VM if you stop the instance?
Yes
T or F:
Are are billed for an Static IP when you are NOT using it?
Yes/True
What are ways to reduce the number of steps for creating a vm instances setting up a HTTP Server?
Startup Scripts
Instance Template
Custom Image
After Creating an Instance Template, can you update this?
No, you need to copy it, and then modify what you need, save this as the new template
Which of these is the preferred option to reduce the launch time of a VM instance?
- Startup Script
- Custom Image
Custom Image. This does not need to run any installation and would be built from a VM that already has been fully configured.
How can you avoid specifying all the VM instance details every time you create a VM?
Create an Instance Template
What does 2 in the Machine Type e2-standard-2 represent?
2 vCPU
What are the prerequisites to be able to create a VM instance?
- Project
- Billing Account
- Compute Engines APIs should be enabled
How do you get dedicated instances that are not shared with other customers?
“Sole Tenant nodes” in the compute engine console
How do you automate VM OS patching across many machines?
VM Manager/ OS Patch Management
How to prevent internet to a VM
Do not assign an external IP address
What are instance groups?
Group of VM instances managed as a single entity. Manage similar groups of VMs having a similar life cycle as one unit
What are the two types of instance groups?
Managed: Identical VMs created using template. Has auto scaling, auto healing, and managed releases
Unmanaged: Different configuration for VMs in same group: Does not offer previous features
Managed Instance Groups have what important features?
On instance Crash, MIG launches another instance
Auto scaling instance numbers
Add a LB to distrubute load
Create instances in multiple zones using Regional MIGs
Release new application versions without downtime
Rolling updates
Canary Deployment: Test new version with a group of instances before releasing it across all instances
What are Auto Scaling metrics?
CPU utilization
Load Balancer Utilization
Any other metric from Stack Driver
What is the Cool-down period in Auto Scaling?
How long to wait before looking at auto scaling metrics again
What are Scale In Controls?
Prevent sudden drop in number of VM instances
“don’t scale in by more that 10% or 3 instances in 5 minutes”