GCP Stackdriver Flashcards

1
Q

What are the services in GCP Stackdriver (ML-TEDP)?

A

It is GCP suit of tools for (ML-TEDP)
-Monitoring
-Logging
-Tracking
-Error reporting
-Debugging
-Profiling

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

Can I use stack driver for AWS?

A

Yes AWS is supported

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

In Stackdriver do I have to manually discover resources?

A

No, this is automatic

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

Can I use Stackdriver monitoring for logging?

A

No, you have to use Strackdriver logging

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

Can I use Stackdriver logging for metrics?

A

No, you would use Stackdriver logging

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

What does Stackdriver Trace do?

A

Enables you to find the bottleneck in your application

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

Is Stackdriver centralized?

A

Yes

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

Is there third party integration available for Stackdriver?

A

Yes
-Splunk
Hipchat
-ect

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

Should I use Stackdriver by placing in an existing project?

A

No, It is best practice to keep Stackdriver in a separate project for monitoring, logging, etc purpose.

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

Is Stackdriver monitoring a full stack monitoring solution, able to monitor virtual, oS and application level?

A

Yes, 100%

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

Can I use aws monitoring in stackdriver for AWS on basic teir?

A

No you need premium tier

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

What is monitoring?

A

Enables you to capture and store metrics fro full stack.

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

What is logging?

A

Enables you t capture logs from GCP, systems and apps.

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

What is tracing?

A

Enables you to to find latency across components in your web app.

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

What is error reporting in stackdriver?

A

if an application has a exceptions, the line of code the exception happens in is captured.

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

What types of logs are captured?

A

Admin activity : Modidiy config or metadata
System activity: System events like live migration
Data Access: Data access

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

What types of logs are captured?

A

-Admin activity : Modidiy config or metadata
-System activity: System events like live migration
-Data Access: Data access

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

What is the retention period?

A

-Admin activity: 400
-System activity: 30
-Data access: 400

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

What are the different audit logs?

A

They are the normal GCP logs,
-Admin activity
-System activity
-Data access

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

I want to retain my logs for 10 years, do I need to do anything?

A

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.

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

What is an uptime check?

A

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.

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

What is an alerting policy?

A

It is a policy that is used to alert an user to an event such as uptime check failed.

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

I have an auditor coming in to do an audit on my GCP resources, what IAM role do I need to asign?

A

-Logging
-Log view
-Project view

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

I want to save may logs for long term, what options so i have?

A

-Cloud Storage
-BigQuery
- Pub/Sub

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

What is a log based-metric?

A

It enables you to create metric values from the logs?

26
Q

How do I enable data access logs?

A

You have to edit the iam-access policy for the project

27
Q

Is Error Reporting realtime?

A

Yes

28
Q

Can I use Stackdriver trace with a VM?

A

Yes you can use a lib in code sot send info to CP Stackdriver Trace

29
Q

Can debugger be used with non GCP resources?

A

Yes

30
Q

I need to alert when a instance becomes unresponsive, what options do I have?,

A

Use stackdriver monitoring and create an alert when the service goes down.

31
Q

I need to check if my server with apache is up and working, what stack driver options do I have?

A

I can create an uptime check, have it ping every 5min with an HTTP request.

32
Q

I need to have my uptime check send me an email with it fails, what options do I have?

A

You can create an alert policy and have it send an email or an SMS message.

33
Q

Do I require stack river monitoring and logging agent to be installed?

A

No, but if you do install the agent you will get enhanced information.

34
Q

What are the types of logs available for viewing with stackdriver?

A

-Admin audit
-System audit
-

35
Q

I am advising my team on using stack driver for a new up coming project, what is the best practice for stackdriver?

A

Put stack driver in a separate project.

36
Q

I need to see the number of requests, network traffic received and sent for a Cloud storage bucket, what is my option?

A

Use stack driver monitoring

37
Q

What other application software is supported by stackdriver monitoring?

A

apache, nginx, tomcat, iis

38
Q

I need to trigger an alert on a monitored instance, what options do I have/

A

Monitorng can set alerts

39
Q

Do I need to refresh and discover instances after adding for stackdriver?

A

No stack driver automatically discovers new resources in GCP

40
Q

I require the ability to see if my application is accessable from different locations around the world, what options do I have in stackdriver?

A

Use stackdriver monitoring uptime.

41
Q

What is an alert policy?

A

An alert policy is a policy you set on a resource metric or on a uptime check

42
Q

I wnat to be alerted when i receive activity logs from an instance, what options do I have?

A

I can create a log-based-metric and then set this up in the monitoring for alerting.

43
Q

What are the alert channels available ins stackdriver monitoring?

A

-Email
-Mobile App
-Page duty (Third party)
-SMS
-Slack
-Campfire
-HipChat
-WebHook

44
Q

Can I send stackdriver logging my log data from a custum app?

A

Yes stack driver api cna be used.

45
Q

Do I need to install logging agent on my instance?

A

Yes you have to install the logginh agent on you instances, the logging agent is fluentd

46
Q

I need alerts on stackdriver logging how cna i acheive this?

A

Create a log-metric

47
Q

I wnat to analize my log data with SQL, what is my options?

A

You cna one click the data to BigQuery.

48
Q

I ant to use dataflow to realtime analize my logs, how can i acheive this?

A

Use pub/dub with stackdriver logging and hook pub/sub with datraflow.

49
Q

How long are logs retained for ?

A

-Adin activity logs 400 day
-System events 30 days
-Data access 400 days

50
Q

Data stackdriver logging sinks have we available?

A

-BigQuery
-Pub/Sub
-Cloud storage

51
Q

What types of logs have we in GCP?

A

-Admin activity logs
-System event logs
-Data access logs

52
Q

If I am concerned about log injestion size, what options do i have for alerting?

A

You can set up injection alerting on the logs

53
Q

I wnat to see logs in realtime to help debug and issue, what optiosn do I have?

A

Stackdriver logging as a feature to enable and disable realtime log viewing.

54
Q

What are audit logs?

A

-Admin activity logs
-System event logs
-Data access logs

55
Q

When exporting stackdriver logging data using a sink, can i filter on the dat i need?

A

Yes

56
Q

What is stackdriver error reporting?

A

It is app exception reporting, it cataches any exceptions in your application and logs them in error reporting so you knwo even the line of code tthe eror occured on.

57
Q

Do I need to turn on error reporting for app engine stgandard?

A

No, it is turned on by default.

58
Q

I wna to use stackdriver error reporting for Google kubernetes engine, is this possible?

A

Yes, I can install the agent

59
Q

What is stackdriver trace?

A

Enables me to see bottlenecks across components in my stack

60
Q

Do I need to enable stackdriver trace for app engine standard environment?

A

No, it is enablers by default.

61
Q

Can sstackdriver trace be installed for non GCP resources?

A

Yes.

62
Q

I would like to have error reporting alert me if there are new error, can I do this?

A

Yes error reporting has the function for you to set up an alert, an email will be send if a new error comes in.