You want to use the Stackdriver Logging Agent to send an application's log file to Stackdriver from a Compute Engine virtual machine instance.
After installing the Stackdriver Logging Agent, what should you do first?
Suggested Answer: B
Get Premium Professional Cloud Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
14 comments · newest first
JA
Jamie
1 year ago
Creating a Logs Export Sink can come later, right?
CA
Carla
1 year ago
Granting full access seems risky, not sure about that one.
RO
Rodolfo
1 year ago
Wait, I thought enabling the Error Reporting API was necessary first?
BI
Billy
1 year ago
Totally agree, option C is the way to go!
JO
Jolene
1 year ago
You need to configure the application log file as a custom source first.
AR
Aron
1 year ago
I practiced a similar question where we had to set up logging, and I feel like creating a Logs Export Sink was important, but that might come later.
MA
Magda
1 year ago
I remember something about needing to enable certain APIs, but I can't recall if it was the Error Reporting API or something else.
LA
Laurel
1 year ago
I think the first step after installing the Stackdriver Logging Agent might be to configure the application log file as a custom source, but I'm not entirely sure.
JE
Jettie
1 year ago
Granting full access to Cloud APIs seems like it could be necessary, but I wonder if that's really the first thing we should do after installation.
MI
Ming
1 year ago
Okay, I got this. The key is setting that IGNORE_TLS variable. As long as I do that, I can connect to the registry without a trusted certificate. Sounds like a good workaround to me.
CH
Chaya
1 year ago
Okay, I think I've got this. The key is to use the $set operator to update the specific fields we want to change, while preserving the other fields in the document.
CA
Carey
1 year ago
I'm a bit confused on this question. I know Salesforce tracks a lot of different customer interactions, but I'm not sure which one wouldn't be considered a recorded activity. I'll have to review my notes and try to eliminate the options.
MA
Mariko
1 year ago
I'm not totally sure about this one. I think the "user" option is the right answer, but I'm not 100% certain. I'll have to double-check the details on that.
GI
Gilbert
1 year ago
I'm a little unsure about this one. The wording is a bit tricky, and I want to make sure I understand the concepts before selecting my answers.