When creating a case statement in Bash, each case is ended with the word ________.

  • esac
  • end
  • done
  • fi
When creating a case statement in Bash, each case is ended with the word esac. The esac keyword marks the end of the case statement, and it's used to close the case block.

Which command is commonly used for securely copying files between remote systems?

  • scp
  • ls
  • cat
  • mv
The scp (secure copy) command is commonly used for securely copying files between remote systems. It uses SSH to encrypt the data during the transfer, ensuring security.

Which command in Linux is used to format a new disk partition?

  • mkfs
  • fdisk
  • format
  • mkpart
The correct answer is "fdisk." The fdisk command is used to create and manage disk partitions on a Linux system. It does not format the partition directly but is used to create and manage the partition structure. Formatting is typically done using tools like mkfs.

In the Linux directory structure, where are shared libraries typically stored?

  • /bin
  • /etc
  • /lib
  • /var
Shared libraries in Linux are typically stored in the /lib directory. These libraries contain code that various programs and applications use to perform common functions, such as input/output operations, memory management, and more.

Which command is used to lock a user's account in Linux?

  • passwd -l
  • usermod -L
  • lockuser -u
  • userlock -a
The correct command to lock a user's account in Linux is passwd -l. This command will place an "!" in front of the user's password hash in the /etc/shadow file, preventing them from logging in. It's a security measure to temporarily or permanently disable a user's account.

If a classifier predicts the positive class perfectly but struggles with the negative class, the ________ might still be high due to the imbalance.

  • AUC-ROC
  • Accuracy
  • F1 Score
  • True Positive Rate
If a classifier predicts the positive class perfectly but struggles with the negative class, the Accuracy might still be high due to class imbalance. Accuracy can be misleading in imbalanced datasets because it doesn't account for the unequal distribution of classes. F1 Score and AUC-ROC are more robust metrics in such cases.

Which component of a GAN is responsible for generating new data samples?

  • Discriminator
  • Loss Function
  • Optimizer
  • Generator
The Generator component in a GAN is responsible for generating new data samples. It tries to create data indistinguishable from real data to deceive the Discriminator.

In the context of machine learning, what is a time series?

  • A series of chronological events
  • A list of sorted numbers
  • A collection of images
  • A data structure
A time series is a series of chronological events or data points collected or recorded at equally spaced time intervals. It's commonly used for forecasting and analysis.

You're working on a project where you need to predict the next word in a sentence based on the previous words. Which type of neural network architecture would be most appropriate for this task?

  • Recurrent Neural Network (RNN)
  • Convolutional Neural Network (CNN)
  • Long Short-Term Memory (LSTM)
  • Gated Recurrent Unit (GRU)
A Long Short-Term Memory (LSTM) is well-suited for this task because it can capture long-term dependencies in sequential data, making it effective for predicting the next word based on previous words in a sentence.

What is a common application of GANs in the field of image processing?

  • Image classification.
  • Style transfer.
  • Sentiment analysis.
  • Speech recognition.
GANs are frequently used for style transfer, a technique that changes the artistic style of an image. It's commonly employed in fields like art and design for image manipulation and transformation.