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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rishab86
Highly Voted 3 years, 11 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 47 times
Pokchok
3 years, 10 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]
2 years, 3 months ago
But isn't it the same with B? it is talking about 'reading' the logs.
upvoted 1 times
...
...
AmitAr
2 years, 11 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
11 months 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 3 years, 5 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 12 times
pddddd
3 years, 3 months ago
and how will activity log help?
upvoted 1 times
...
...
izekc
Most Recent 1 month, 2 weeks ago
Selected Answer: ABE
ABE is much make sense to me
upvoted 1 times
...
JonathanSJ
4 months ago
Selected Answer: ACE
I will go for ACE.
upvoted 1 times
...
Ishu_awsguy
4 months ago
Selected Answer: ABE
B vs C is the question. I vote for B , since activity logs now have been moved to audit logs and they provode system event information. C is moee real time, it will be a task to extract all the logs and put it to a file and share with dev team. Anyways audit logs is already abstracting that work for you. Hence ABE is the right answer as per me
upvoted 3 times
...
mahi_h
4 months, 2 weeks ago
Selected Answer: ABE
I chose B over C as both options trying to read/observe logs. But C looks like reading at the runtime. Give that, it's a nightly batch process, B seems to suitable post error occurrence.
upvoted 1 times
...
deep316
4 months, 3 weeks ago
Selected Answer: ACD
A. Use Stackdriver Logging to search for the module log entries: This will help you identify any errors or issues related to the new kernel module that were logged during the batch process. C. Use gcloud or Cloud Console to connect to the serial console and observe the logs: The serial console logs can provide detailed information about the boot process and any kernel-related messages that might indicate why the batch servers failed. D. Identify whether a live migration event of the failed server occurred, using the activity log: Live migration events can sometimes cause disruptions. Checking the activity log will help you determine if this was a factor in the failures.
upvoted 2 times
...
deep316
4 months, 3 weeks ago
Selected Answer: ACE
A. Use Stackdriver Logging to search for the module log entries: This will help you identify any errors or issues related to the new kernel module that were logged during the batch process. C. Use gcloud or Cloud Console to connect to the serial console and observe the logs: The serial console logs can provide detailed information about the boot process and any kernel-related messages that might indicate why the batch servers failed. D. Identify whether a live migration event of the failed server occurred, using the activity log: Live migration events can sometimes cause disruptions. Checking the activity log will help you determine if this was a factor in the failures.
upvoted 1 times
...
Ekramy_Elnaggar
5 months, 2 weeks 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 3 times
...
SerGCP
5 months, 3 weeks 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
6 months, 1 week ago
Answer is ACE
upvoted 1 times
...
Hungdv
8 months, 4 weeks ago
Vote ACE
upvoted 1 times
...
Gino17m
1 year ago
Selected Answer: ABE
I'm not sure but I vote for ABE
upvoted 2 times
...
ashishdwi007
1 year, 3 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, 5 months ago
Selected Answer: ABE
Most automated way, with C, collecting from VMs involves a lot of manual efforts
upvoted 3 times
...
pablobairat
1 year, 9 months ago
Selected Answer: ABE
ABE is correct
upvoted 2 times
...
Ozymandiax
2 years, 4 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 9 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago