Quickhits Flashcards
APIs enabled by default (14 of them)
BigQuery APIBigQuery Storage APICloud Datastore APICloud Debugger APICloud Logging APICloud Monitoring APICloud SQLCloud StorageCloud Storage APICloud Trace APIGoogle Cloud APIsGoogle Cloud Storage JSON APIService Management APIService Usage API
Dataproc and Dataflow
Cloud Dataflow uses the Apache Beam framework and can process streamed data. Cloud Dataproc is for Spark/Hadoop and doesn’t handle streamed data.
get information about a GKE cluster
kubectl get deployment [Deployment Name] -o yaml
What do you use when dealing with stack traces
Stackdriver Error Reporting
Should you log to stdout and stderr on GCE for Stackdriver
No it is not the recommended way, write to a log file instead and configure Stackdriver to use that.
What role allows modification of an App engine cookie time
App Engine Admin
What is the maximum size of an object in GCS
5 TiB
What the limit to the size of object names.
This limit is 1024 bytes.
Maximum payload size for a GCS JSON API call
10MB.
What are the bandwidth limits for GCS
200 Gbps for each region from Cloud Storage to Google services. 50 Gbps per-project, per-region default bandwidth quota for Google services accessing a bucketEgress to Cloud CDN is exempt from these quotas.
GCS Minimum storage duration
Standard Storage : NoneNearline Storage : 30 daysColdline Storage : 90 daysArchive Storage : 365 days
GCS Retrieval Fees
Standard Storage : $0 per GBNearline Storage : $0.01 per GBColdline Storage : $0.02 per GBArchive Storage : $0.05 per GBAbout Doubles
Sample Storage Fees (differs by region)
Standard Storage: $0.023Nearline Storage: $0.013 1/2 standardColdline Storage: $0.006 .05 of NearlineArchive Storage: $0.0025 .05 of Archive
If you want to use JSON to send structure logging to Cloud Logging from the command line, what must you do
Pass –payload-type=json
How do you list the name of the currently active account
gcloud auth lists
How do you linke a project to a billing account?
gcloud beta billing links a project to a billing account, in GUI it is automatic
How are credentials pass to Cloud Functions
As Environment Variables - i.e. key value pairs
What is the minimum number of service accounts an instance needs
The default instance account can be removed from an instance leaving none
What was Cloud Logging previous known by?
previously Stackdriver Logs
What email address is used for the default App Engine service
PROJECT_ID@appspot.gserviceaccount.com
How many keys can you configure for a service account?
You may generate a small number of keys per service account to facilitate key rotation. Primarily used for outside services and so that you can rotate to new keys. 10 is the max.
How do you enable to Compute API
Via the command line but a quicker way is to navigate to the Compute Engine of the console which automatically enables the GCE API.
How do you configure authentication for using Cloud Shell
You do not have to configure authentication to be able to use Cloud Shell
How does the “Defaults” project affect API inheritance
‘There is no such thing as a “defaults” project