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 Associate Cloud Engineer Exam - Topic 4 Question 83 Discussion

Posted by Peggy on May 19, 2024 at 11:53 PM

For analysis purposes, you need to send all the logs from all of your Compute Engine instances to a BigQuery dataset called platform-logs. You have already installed the Stackdriver Logging agent on all the instances. You want to minimize cost. What should you do?

Suggested Answer: D

Instance groups are collections of virtual machine (VM) instances that you can manage as a single entity. Instance groups can help you simplify the management of multiple instances, reduce operational costs, and improve the availability and performance of your applications. Instance groups support autoscaling, which automatically adds or removes instances from the group based on increases or decreases in load. Autoscaling helps your applications gracefully handle increases in traffic and reduces cost when the need for resources is lower. You can set the autoscaling policy based on CPU utilization, load balancing capacity, Cloud Monitoring metrics, or a queue-based workload. In this case, since the video encoding software is CPU-intensive, setting the autoscaling based on CPU utilization is the best option to ensure high availability and optimal performance.Reference:

Instance groups

Autoscaling groups of instances


Get Premium Associate Cloud Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
GE
Gerri 11 months ago
Wait, can we really drop logs like that? Seems risky!
NO
Noble 11 months ago
D sounds complicated, not sure if it's worth the effort.
MA
Madelyn 11 months ago
C is too simple, it won't handle filtering efficiently.
RO
Ronny 11 months ago
I think B is better, using Cloud Pub/Sub adds flexibility.
ST
Staci 12 months ago
Option A seems straightforward, just give the right permissions.
SU
Sunshine 12 months ago
Option D seems complicated with the Cloud Scheduler and all, but I wonder if it would actually minimize costs compared to the others.
DO
Dorothy 1 year ago
I’m a bit confused about option B. Creating a Cloud Function seems like an extra step, but I guess it could help filter the logs better?
JA
Jamika 1 year ago
I remember practicing a similar question where we had to set up log exports, and I feel like option C might be the most straightforward way to get Compute Engine logs into BigQuery.
MA
Marylyn 1 year ago
I think option A sounds familiar, but I'm not entirely sure if just updating the metadata is enough to send logs to BigQuery.
LE
Leatha 1 year ago
The key here is to minimize cost, so I'm leaning towards Option A. Updating the instance metadata seems like the simplest and most efficient way to get the logs into BigQuery.
JU
Julio 1 year ago
Hmm, I'm a bit confused about the different options. I'll need to carefully read through each one to understand the tradeoffs and decide which is the most cost-effective solution.
QU
Quentin 1 year ago
This looks like a straightforward question, I think I can handle it. Option C seems the most direct approach to get the logs into BigQuery.
EL
Elouise 1 year ago
I'm not sure I fully understand the difference between the Pub/Sub and Stackdriver Logging export options. I'll need to research those a bit more to figure out the best approach.
RO
Rosann 1 year ago
I've used ADP before, so I'm pretty confident I know the right answer here. I'd go with the SP prompt to set it up.
TO
Tonette 1 year ago
Hmm, this is a tricky one. I'll need to be really careful to stay objective and not let any personal connections influence my review. Gotta make sure I document everything thoroughly and get an outside opinion on this.
NE
Nettie 1 year ago
I'm a bit confused about the difference between implicit and explicit acceptance. I'll need to re-read that part.
AI
Aide 1 year ago
I'd go with Option B, it's like a three-course meal of cloud services - Pub/Sub, Cloud Functions, and BigQuery. Yum, yum! Just hope the chef doesn't overcook the logs.
DO
Dottie 1 year ago
↳ replying to Aide
Ashley: Haha, let's hope for some well-done logs then!
WI
Willard 1 year ago
↳ replying to Aide
User 3: I hope the chef doesn't burn the logs while cooking.
AS
Ashley 1 year ago
↳ replying to Aide
User 2: Yeah, it's like a full meal with Pub/Sub, Cloud Functions, and BigQuery.
LE
Letha 1 year ago
↳ replying to Aide
User 1: Option B sounds like a feast of cloud services!
PA
Pauline 1 year ago
Option A seems like the easiest solution, but I'm not sure it's the most cost-effective. Granting permissions and updating instance metadata sounds simple enough, but I wonder if there might be some hidden gotchas.
AV
Avery 1 year ago
Hmm, Option D sounds pretty interesting. Automating the BigQuery job with a Cloud Function and Cloud Scheduler could be a clever way to handle this. Though, I'm a bit concerned about the potential for extra costs with all the moving parts.
LI
Lili 1 year ago
↳ replying to Avery
User 3: Maybe we should weigh the benefits of automation against the potential costs before deciding.
ST
Stefany 1 year ago
↳ replying to Avery
User 2: I agree, but the potential for extra costs is something to consider.
SO
Sol 1 year ago
↳ replying to Avery
User 1: Option D does sound interesting. Automating the BigQuery job could be efficient.
MI
Michel 1 year ago
I'm leaning towards Option C. It's a bit more straightforward, and I like the ability to create a filter to only export the Compute Engine logs. Plus, BigQuery integration is built-in, so it's a simple one-stop solution.
RA
Raylene 1 year ago
Option B looks like the most efficient solution to me. Using Cloud Pub/Sub and a Cloud Function to filter and insert the logs directly into BigQuery seems like a great way to automate the process and minimize costs.
NA
Nana 1 year ago
↳ replying to Raylene
I think Option B is the way to go. It streamlines the process and ensures that only the necessary logs are stored in the platform-logs dataset.
LE
Lennie 1 year ago
↳ replying to Raylene
I think so too. It's a streamlined approach that ensures only relevant logs are sent to BigQuery.
FR
Francesco 1 year ago
↳ replying to Raylene
Yes, it definitely seems like the best way to automate the process and keep costs down.
NI
Nichelle 1 year ago
↳ replying to Raylene
Yeah, Option B is definitely the most efficient. It saves time and resources by only sending relevant Compute Engine logs to BigQuery.
TH
Thora 1 year ago
↳ replying to Raylene
I agree, option B seems like the most efficient solution. Using Cloud Pub/Sub and a Cloud Function to filter and insert logs into BigQuery is a smart move.
ZO
Zoila 1 year ago
↳ replying to Raylene
I agree, Option B seems like the best choice. It automates the process and filters out unnecessary logs before inserting them into BigQuery.
AS
Ashton 2 years ago
Hmm, that's a good point. I see the benefits of option D now. Thanks for sharing your perspective, Fletcher.
FL
Fletcher 2 years ago
I disagree, I believe option D is more cost-effective in the long run. It automates the process efficiently.
AS
Ashton 2 years ago
I think option A is the best choice. It seems like the most straightforward solution.
0/2000 characters

Save Cancel