GCP Stackdriver Flashcards
What are the services in GCP Stackdriver (ML-TEDP)?
It is GCP suit of tools for (ML-TEDP)
- Monitoring
- Logging
- Tracking
- Error reporting
- Debugging
- Profiling
Can I use stack driver for AWS?
Yes AWS is supported
In Stackdriver do I have to manually discover resources?
No, this is automatic
Can I use Stackdriver monitoring for logging?
No, you have to use Strackdriver logging
Can I use Stackdriver logging for metrics?
No, you would use Stackdriver logging
What does Stackdriver Trace do?
Enables you to find the bottleneck in your application
Is Stackdriver centralized?
Yes
Is there third party integration available for Stackdriver?
Yes
-Splunk
Hipchat
-ect
Should I use Stackdriver by placing in an existing project?
No, It is best practice to keep Stackdriver in a separate project for monitoring, logging, etc purpose.
Is Stackdriver monitoring a full stack monitoring solution, able to monitor virtual, oS and application level?
Yes, 100%
Can I use aws monitoring in stackdriver for AWS on basic teir?
No you need premium tier
What is monitoring?
Enables you to capture and store metrics fro full stack.
What is logging?
Enables you t capture logs from GCP, systems and apps.
What is tracing?
Enables you to to find latency across components in your web app.
What is error reporting in stackdriver?
if an application has a exceptions, the line of code the exception happens in is captured.
What types of logs are captured?
Admin activity : Modidiy config or metadata
System activity: System events like live migration
Data Access: Data access
What types of logs are captured?
- Admin activity : Modidiy config or metadata
- System activity: System events like live migration
- Data Access: Data access
What is the retention period?
- Admin activity: 400
- System activity: 30
- Data access: 400
What are the different audit logs?
They are the normal GCP logs,
- Admin activity
- System activity
- Data access
I want to retain my logs for 10 years, do I need to do anything?
Yes logs are only stored for 400 for Admin activity, 30 for system and 400 for data access, you can set up export of logs for bigquery, cloud storage and cloud pub/sub.
What is an uptime check?
It is a check prefromed by stackdriver to check if stackdriver can call your web app running on an instance, this ensure your web app is reachable.
What is an alerting policy?
It is a policy that is used to alert an user to an event such as uptime check failed.
I have an auditor coming in to do an audit on my GCP resources, what IAM role do I need to asign?
- Logging
- Log view
- Project view
I want to save may logs for long term, what options so i have?
- Cloud Storage
- BigQuery
- Pub/Sub