Google IT Automation with Python Professional Certificate β’ STUDY MODE
INTRODUCTION TO DEBUGGING
QUESTION 1 OF 8
What is part of the final step when problem solving?
Nice job! Long-term remediation is part of the final step when problem solving.
A
Documentation
B
Long-term remediationCorrect Answer
C
Finding the root cause
D
Gathering information
QUESTION 2 OF 8
Which tool can you use when debugging to look at library calls made by the software?
Keep it up! the ltrace tool is used to look at library calls made by the software.
A
top
B
strace
C
tcpdump
D
ltraceCorrect Answer
QUESTION 3 OF 8
What is the first step of problem solving?
Right on! Gathering information is the first step taken when problem solving.
A
Prevention
B
Gathering informationCorrect Answer
C
Long-term remediation
D
Finding the root cause
QUESTION 4 OF 8
What software tools are used to analyze network traffic to isolate problems? (Check all that apply)
Nice work! The tcpdump tool is a powerful command-line analyzer that captures or "sniffs" TCP/IP packets.
Excellent! Wireshark is an open source tool for profiling network traffic and analyzing TCP/IP packets.
A
tcpdumpCorrect Answer
B
wiresharkCorrect Answer
C
strace
D
top
QUESTION 5 OF 8
The strace (in Linux) tool allows us to see all of the _____ our program has made.
Awesome! The strace command shows us all the system calls our program made. System calls are the calls that the programs running in our computer make to the running kernel.
A
Network traffic
B
Disk writes
C
System callsCorrect Answer
D
Connection requests
QUESTION 6 OF 8
What is the general description of debugging?
Awesome! Generally, debugging means fixing bugs in the code of the application.
A
Fixing bugs in the code of the applicationCorrect Answer
B
Fixing problems in the system running the application
C
Fixing issues related to hardware
D
Fixing configuration issues in the software
QUESTION 7 OF 8
What is the second step of problem solving?
Right on! Finding the root cause is the second step taken when problem solving.
A
Short-term remediation
B
Long-term remediation
C
Finding the root causeCorrect Answer
D
Gathering information
QUESTION 8 OF 8
Which command can you use to scroll through a lot of text output after tracing system calls of a script?
Great work! Piping the less command allows you to scroll through a lot of text output.
A
strace -o fail.strace ./script.py
B
strace ./script.py | lessCorrect Answer
C
strace ./script.py
D
strace ./script.py -o fail.strace
Ready to test your recall?
What is part of the final step when problem solving?
Nice job! Long-term remediation is part of the final step when problem solving.