QuiztudyPREMIUM
Google IT Automation with Python Professional Certificate • STUDY MODE
MANAGING COMPUTER RESOURCES
QUESTION 1 OF 8
What is a memory profiler used for? Nice job! Memory profiler is a module that provides useful information about memory.
A
It is used to store information.B
It profiles an entire Python application.C
It monitors memory consumption of a process over time, as well as the variables that require the most memory.Correct AnswerD
It modifies code.QUESTION 2 OF 8
Your application is having difficulty sending and receiving large packets of data, which are also delaying other processes when connected to remote computers. Which of the following will be most effective on improving network traffic for the application? Right on! Traffic shaping can mark data packets and assign higher priorities when being sent over the network.
A
Running the iftop programB
Increase storage capacityC
Increase memory capacityD
Use traffic shapingCorrect AnswerQUESTION 3 OF 8
What is the term referring to the amount of time it takes for a request to reach its destination, usually measured in milliseconds (ms)? Awesome! Latency is a measure of the time it takes for a request to reach its destination.
A
BandwidthB
LatencyCorrect AnswerC
Number of connectionsD
Traffic shapingQUESTION 4 OF 8
If your computer is slowing down, what Linux program might we use to determine if we have a memory leak and what process might be causing it? Great work! The top command will show us all running processes and their memory usage in Linux.
A
topCorrect AnswerB
gpartedC
iftopD
cronQUESTION 5 OF 8
Some programs open a temporary file, and immediately _____ the file before the process finishes, then the file continues to grow, which can cause slowdown. Excellent! Sometimes a file is marked as deleted right after it is opened, so the program doesn't "forget" later. The file is then written to, but we can't see this as the file is already marked as deleted, but will not actually be deleted until the process is finished.
A
openB
closeC
deleteCorrect AnswerD
write toQUESTION 6 OF 8
Which of the following descriptions most likely points to a possible memory leak? Woohoo! An app that still needs a lot of memory, even after a restart, most likely points to a memory leak.
A
Application process uses more memory even after a restart.Correct AnswerB
Garbage collector carries out its task.C
The function returns after it completes.D
Valgrind figures out memory usage.QUESTION 7 OF 8
Which of the following is an example of unnecessary files on a server storage device that can affect applications from running if not cleaned up properly? You nailed it! Large temporary files may remain if an application crashes because it’s not cleaned up automatically.
A
A SQL databaseB
A mailbox databaseC
A set of application filesD
A set of large temporary filesCorrect AnswerQUESTION 8 OF 8
The custom application running on a server can’t receive new connections. Existing connections are sending and receiving data in a reasonable time. Which of the following explains the reason why new sessions can’t be established with the server? Great work! There are limits to how many connections a single server can have, which will prevent new connections.
A
Too many connectionsCorrect AnswerB
High network latencyC
Low network bandwidthD
No traffic shapingReady to test your recall?
What is a memory profiler used for? Nice job! Memory profiler is a module that provides useful information about memory.
A
It is used to store information.
B
It profiles an entire Python application.
C
It monitors memory consumption of a process over time, as well as the variables that require the most memory.
D
It modifies code.
How confident are you in this answer?