Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 4 Question 42 Discussion

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?
B) Grant the instance full access to all Cloud APIs.
A) Enable the Error Reporting API on the project.
C) Configure the application log file as a custom source.
D) Create a Stackdriver Logs Export Sink with a filter that matches the application's log entries.

Google Professional Cloud Developer Exam - Topic 4 Question 42 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 42
Topic #: 4
[All Professional Cloud Developer Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Jamie
7 months ago
Creating a Logs Export Sink can come later, right?
upvoted 0 times
...
Carla
7 months ago
Granting full access seems risky, not sure about that one.
upvoted 0 times
...
Rodolfo
8 months ago
Wait, I thought enabling the Error Reporting API was necessary first?
upvoted 0 times
...
Billy
8 months ago
Totally agree, option C is the way to go!
upvoted 0 times
...
Jolene
8 months ago
You need to configure the application log file as a custom source first.
upvoted 0 times
...
Aron
8 months 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.
upvoted 0 times
...
Magda
8 months 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.
upvoted 0 times
...
Laurel
8 months 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.
upvoted 0 times
...
Jettie
8 months 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.
upvoted 0 times
...
Ming
8 months 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.
upvoted 0 times
...
Chaya
8 months 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.
upvoted 0 times
...
Carey
8 months 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.
upvoted 0 times
...
Mariko
8 months 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.
upvoted 0 times
...
Gilbert
8 months 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.
upvoted 0 times
...

Save Cancel