Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 34 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 34
Topic #: 1
[All Professional Cloud Architect Questions]

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 the batch servers failed the 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 three.)

  • A. Use Stackdriver Logging to search for the module log entries
  • B. Read the debug GCE Activity log using the API or Cloud Console
  • C. Use gcloud or Cloud Console to connect to the serial console and observe the logs
  • D. Identify whether a live migration event of the failed server occurred, using in the activity log
  • E. Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics
  • F. Export a debug VM into an image, and run the image on a local server where kernel log messages will be displayed on the native screen
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rishab86
Highly Voted 3 years, 5 months ago
ACE A. Use Stackdriver Logging to search for the module log entries = Check logs C. Use gcloud or Cloud Console to connect to the serial console and observe the logs = Check grub messages, remember new kernel module was installed. E. Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics = Zoom into the time window when problem happened.
upvoted 45 times
Pokchok
3 years, 5 months ago
But the assumption you made is that stack driver was already installed on the vms. What if it was not there? Would there be any scope to install later and retrieve the logs?
upvoted 3 times
[Removed]
1 year, 10 months ago
But isn't it the same with B? it is talking about 'reading' the logs.
upvoted 1 times
...
...
AmitAr
2 years, 6 months ago
A, B, E C - doesn't look correct as it ends with "observe the logs" - question is on sharing the details to development team, not to look for cause
upvoted 1 times
tocsa
5 months, 3 weeks ago
E observe the logs too. One of my problem is that several of the options go on and do some observation instead of just delivering.
upvoted 1 times
...
...
...
haroldbenites
Highly Voted 2 years, 11 months ago
Go for A,B,E. C is when the VM is running , but in this case the sentence says “recollect”. It means that “error ever” already happened.
upvoted 11 times
pddddd
2 years, 10 months ago
and how will activity log help?
upvoted 1 times
...
...
Ekramy_Elnaggar
Most Recent 5 days, 2 hours ago
Selected Answer: ACE
A. Use Stackdriver Logging to search for the module log entries: This is crucial. Stackdriver Logging aggregates logs from various sources, including your VMs. You can search for specific entries related to the new kernel module to identify errors, warnings, or unusual behavior that might explain the failures. C. Use gcloud or Cloud Console to connect to the serial console and observe the logs: The serial console provides access to the VM's output even if the system is unresponsive. This can be invaluable for capturing kernel panic messages, boot errors, or other critical information that might not be available through standard logging channels. E. Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics: Stackdriver Monitoring provides detailed performance metrics for your VMs. By aligning the timeline with the failures, you can analyze CPU usage, memory consumption, disk I/O, and network activity.
upvoted 1 times
...
SerGCP
2 weeks, 3 days ago
Selected Answer: ABE
considering that logs from the serial console might not be useful after two days: A. Use Stackdriver Logging to search for the module log entries: This will help you identify any errors or issues logged by the new kernel module. B. Read the debug GCE Activity log using the API or Cloud Console: This can provide information on significant events like reboots or live migrations that might have affected the batch process. E. Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics: This helps correlate the failure with any anomalies in the server metrics, providing insights into what might have gone wrong.
upvoted 1 times
...
nareshthumma
1 month ago
Answer is ACE
upvoted 1 times
...
Hungdv
3 months, 2 weeks ago
Vote ACE
upvoted 1 times
...
Gino17m
6 months, 3 weeks ago
Selected Answer: ABE
I'm not sure but I vote for ABE
upvoted 2 times
...
ashishdwi007
10 months ago
ACE makes sense. A and E dont have any doubts. Questions is that if it is B, C or F. Whats' use of serial console if team does not use it for logging especially kernal related updates. that makes sense to choose C.
upvoted 1 times
...
CloudDom
1 year ago
Selected Answer: ABE
Most automated way, with C, collecting from VMs involves a lot of manual efforts
upvoted 3 times
...
pablobairat
1 year, 3 months ago
Selected Answer: ABE
ABE is correct
upvoted 2 times
...
Ozymandiax
1 year, 10 months ago
I'm really not sure here. A and E are just OK, and for me the final point is between B o C. many ppl is saying C, but, the question says that the VM's already failed and you're investigating what happened in the past. Anyway, there are 2 ways to interpret this, from my point of view: 1) The failure happened and it's going to happen again. In this case ACE would be maybe the best option BUt 2) The failure happened and you want to investigate this failure, which happened in the past. Therefore ABE would be the right one, as you are "splunking" in the logs of the past, not having a review of the logs as they happen. from my personal interpretation I'd go with ABE
upvoted 7 times
...
omermahgoub
1 year, 11 months ago
ACE To collect details on the failure of the batch servers in GCE VMs, you can take the following actions: A: Stackdriver Logging can help you identify any issues related to the new Linux kernel module by searching for log entries related to the module. C: Connecting to the serial console allows you to view the logs in real-time as the batch servers are running. This can help you identify any issues related to the new kernel module. E: By adjusting the timeline in Stackdriver to match the failure time, you can view the batch server metrics during the time when the failures occurred. This can help you identify any issues related to the new kernel module. Other options, such as reading the debug GCE Activity log using the API or Cloud Console, identifying whether a live migration event of the failed server occurred, or exporting a debug VM into an image and running the image on a local server, may not provide the necessary information to understand
upvoted 3 times
...
minmin2020
2 years, 1 month ago
Selected Answer: ACE
ACE by eliminating the incorrect answers
upvoted 2 times
...
holerina
2 years, 2 months ago
ADE seems correct
upvoted 1 times
...
PaulCatalin
2 years, 2 months ago
Selected Answer: ACE
I vote for.
upvoted 1 times
...
ehgm
2 years, 11 months ago
This question is very poorly asked. There is no place saying if the live migration is enabled. If a VM is not set to live migrate, the VM is terminated during host system events. There is no place saying if you run into problems accessing your instance through SSH or need to troubleshoot an instance that is not fully booted, so you can enable interactive access to the serial console. C: https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console D: https://cloud.google.com/compute/docs/instances/live-migration
upvoted 4 times
...
vincy2202
2 years, 11 months ago
Selected Answer: ACE
ACE are the correct choices
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...