What’s the flag to correctly verify you have all resource dependencies in a project before you deploy?
–preview
What is Cloud Dataflow good for?
Fully managed service for real-time data processing, ideal for handling IoT devices. Good for transforming data compared to pub sub that just sends data
What is Cloud Bigtable used for?
For storage that has high-throughput, low-latency NoSQL database optimized for time-series data
What is Google’s Best Practice for IAM when deciding to assign users vs groups?
Always assign to Groups if possible when assigning to multiple people
If you have two environments, one production and one development environment, what is the main worry with this and what should you do to prevent it?
The main worry is having both in the same environment where your commands affect both, so you should create 2 configurations using gcloud config
Write a script that sets configurations to active individually
Then for each, run gcloud compute instances list to get all the resources
If you have a 7TB of data that you want to analyze, what should you do to be cost efficient?
You should reference the 7TB with BigQuery, this means we use BigQuery to analyze the 7TB without downloading or storing it which prevents spending a lot of money
What is the point of a network tag in Google Cloud?
You use it so that you can apply firewall rules to the service/resource
Can you copy a deployed application from one project to another in Google Cloud?
No
When creating budget alerts for a project, should you use custom or default alerts?
Always use default alerts because you know they work and Google built these alerts to serve a lot of cases already
When would you use Cloud Source Repositories?
When you are working on an app that requires some changes to improve performance because it serves as a git repo
When should you assign storage admin vs storage object admin to someone?
Use storage object admin when you want to limit the access to individual objects while storage admin gives you full control
If you need more nodes/pods and upgrades, but want 0 downtime, what should you do?
Create a new node pool then deploy those nodes/pods, that way you can use them for usage without disturbing the current set
If you need to see who has access to what projects, whats the command you should look for?
gcloud projects get-iam-policy
Q: How can internal-only GCE VMs access a file in Cloud Storage without allowing internet egress?
A: Enable Private Google Access on the VM subnet so the VMs can reach Google APIs (incl. GCS) over Google’s private network (no external IPs, no internet).
What is the command to move projects between organizations?
projects.move
If you have a US App Engine that runs your app and want to deploy your app to an Asian Cloud, what should you do and why?
Once you create an App Engine, you can’t change the region, and you can only create one per project
So for another region, you’ll have to create another GCP project
If you need to have one instance on at all times and set your config to max/min 1, should you enable auto-scaling?
No, because there’s a chance it’ll decrease/increase
What does gcloud iam roles list do?
Lists all the custom roles for a project/organization
If you want to specially list the IAM roles for a specific project, what should you do?
What is Google Cloud’s Operation Suite?
Google Cloud’s built-in platform for monitoring, logging, alerting, tracing, profiling, and error reporting across cloud resources.
If you want to see logs of what someone did, even admins, what should you check?
Google Cloud’s Operation Suite
If you have an external user who needs access to a Cloud VM/resource who doesn’t have a Google account, what should you do?
You need them to generate an SSH key pair and add their public key to the VM
If users are saying there’s a delay on loading up one of your VMs what should you do?
Have a set number of VMs ready to be used
What is the best way to back up a Compute Engine VM’s entire disk daily and keep backups for 7 days with minimal setup?
Use daily scheduled persistent disk snapshots with a 7-day retention policy.