BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Architect Exam - Topic 1 Question 78 Discussion

Posted by Iluminada on Mar 17, 2024 at 04:23 PM

Your development team has installed a new Linux kernel module on the batch servers in Google Compute Engine (GCE) virtual machines (VMs) to speed up the nightly batch process. Two days after the installation, 50% of web application deployed in the same

nightly batch run. You want to collect details on the failure to pass back to the development team. Which three actions should you take? Choose 3 answers

Suggested Answer: B

The practice for managing logs generated on Compute Engine on Google Cloud is to install the Cloud Logging agent and send them to Cloud Logging.

The sent logs will be aggregated into a Cloud Logging sink and exported to Cloud Storage.

The reason for using Cloud Storage as the destination for the logs is that the requirement in question requires setting up a lifecycle based on the storage period.

In this case, the log will be used for active queries for 30 days after it is saved, but after that, it needs to be stored for a longer period of time for auditing purposes.

If the data is to be used for active queries, we can use BigQuery's Cloud Storage data query feature and move the data past 30 days to Coldline to build a cost-optimal solution.

Therefore, the correct answer is as follows

1. Install the Cloud Logging agent on all instances.

Create a sync that exports the logs to the region's Cloud Storage bucket.

3. Create an Object Lifecycle rule to move the files to the Coldline Cloud Storage bucket after one month. 4.

4. set up a bucket-level retention policy using bucket locking.'


Get Premium Professional Cloud Architect Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
42 comments · newest first
RO
Rolande 12 months ago
F sounds a bit extreme, is it really necessary to export a VM?
RA
Raylene 1 year ago
E is a good idea, but adjusting timelines can be tricky.
RE
Rebbeca 1 year ago
D might be overkill, but it could help if there were migration issues.
EU
Eugene 1 year ago
I think C is also important to check the serial console logs.
AL
Alison 1 year ago
A and B seem like solid choices for troubleshooting.
PH
Phillip 1 year ago
I feel like adjusting the Stackdriver timeline to match the failure time is important, but I wonder if we should also check for live migration events.
DA
Daren 1 year ago
I practiced connecting to the serial console with gcloud, but I can't recall if that's the most effective way to gather logs for this situation.
HE
Helene 1 year ago
I think checking the debug GCE Activity log could be really useful, especially since it might show what happened right before the failures.
TR
Trinidad 1 year ago
I remember something about using Stackdriver for logging, but I'm not sure if it's the best first step here.
MA
Marguerita 1 year ago
I'm feeling pretty confident about this one. The key is to collect detailed information from multiple sources to help the development team identify the root cause. I'll make sure to cover all the bases with A, D, and E.
CA
Camellia 1 year ago
This seems straightforward enough. I'd go with A, B, and C - using the logging and console tools to gather as much information as possible about the failures.
GE
Georgeanna 1 year ago
Okay, I think I've got a good strategy here. I'll start by checking the Stackdriver logs for any relevant entries from the new kernel module. Then I'll look at the GCE activity log to see if there were any live migration events that could be related to the failures.
CR
Crissy 1 year ago
Hmm, I'm a bit confused by the question. I'm not sure which 3 actions would be the most effective here. I'll have to read through the choices carefully.
GA
Gaston 1 year ago
This looks like a tricky one. I'll need to carefully review the options and think through the best approach.
ME
Mee 1 year ago
I've seen similar questions before, so I think I have a good strategy for approaching this. I'll start by considering the definitions of each relationship.
DO
Doyle 1 year ago
Okay, let me think this through. Percentage adjustment and discount price seem like obvious choices for tiered pricing. Now I just need to figure out the third one.
SE
Serita 1 year ago
Okay, let me think this through. I know site maps and link-based navigation aren't the right answers, so I'm leaning towards either social navigation or breadcrumb navigation. I'll have to weigh the pros and cons of each.
CY
Cyril 1 year ago
Okay, I think I've got this. The key is to look for the option that uses a WHERE clause to filter out the rows where the phone number is not entered.
GA
Gail 2 years ago
I bet the developers used the 'Kernel Panic' function to make their code more exciting. It's the new 'Hello, World!'
JA
Janessa 2 years ago
I wonder if the development team tested the kernel module thoroughly before deploying it to production. Seems like they might have some explaining to do.
MA
Mabel 1 year ago
↳ replying to Janessa
E) Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics.
TA
Tabetha 1 year ago
↳ replying to Janessa
B) Read the debug GCE Activity log using the API or Cloud Console.
LE
Lenora 1 year ago
↳ replying to Janessa
C) Use gcloud or Cloud Console to connect to the serial console and observe the logs.
FR
Francisca 1 year ago
↳ replying to Janessa
A) Use Stackdriver Logging to search for the module log entries.
AL
Alesia 2 years ago
↳ replying to Janessa
B) Read the debug GCE Activity log using the API or Cloud Console.
AL
Alayna 2 years ago
↳ replying to Janessa
A) Use Stackdriver Logging to search for the module log entries.
EL
Elli 2 years ago
F seems like a bit of an overkill. Why go through the trouble of exporting and running a debug VM when you can just check the logs on the actual servers?
AS
Ashlyn 1 year ago
↳ replying to Elli
C) Use gcloud or Cloud Console to connect to the serial console and observe the logs.
CA
Cassi 1 year ago
↳ replying to Elli
B) Read the debug GCE Activity log using the API or Cloud Console.
TR
Tracey 1 year ago
↳ replying to Elli
A) Use Stackdriver Logging to search for the module log entries.
PR
Precious 2 years ago
D and E could also be helpful, but I'm not sure if they're as important as the first three. Identifying any live migration events and checking the Stackdriver metrics might provide additional context.
MA
Marica 1 year ago
↳ replying to Precious
D) Identify whether a live migration event of the failed server occurred, using in the activity log.
DE
Delfina 1 year ago
↳ replying to Precious
C) Use gcloud or Cloud Console to connect to the serial console and observe the logs.
HE
Helga 2 years ago
↳ replying to Precious
A) Use Stackdriver Logging to search for the module log entries.
YU
Yuette 2 years ago
In addition to that, we should adjust the Google Stackdriver timeline to match the failure time and observe the batch server metrics.
BR
Brock 2 years ago
I think A, B, and C are the best options here. Looking at the logs is crucial to understand what went wrong with the kernel module.
PE
Pearline 2 years ago
↳ replying to Brock
Exporting a debug VM into an image and running it locally could also help in troubleshooting.
RI
Rickie 2 years ago
↳ replying to Brock
Connecting to the serial console using gcloud or Cloud Console to observe the logs is definitely necessary.
MI
Minna 2 years ago
↳ replying to Brock
Reading the debug GCE Activity log can provide more insights into the failure.
JE
Jeannine 2 years ago
↳ replying to Brock
I agree, checking the module log entries with Stackdriver Logging is a good start.
KA
Kallie 2 years ago
I agree with Samira. We also need to read the debug GCE Activity log using the API or Cloud Console.
SA
Samira 2 years ago
I think we should use Stackdriver Logging to search for the module log entries.
0/2000 characters

Save Cancel