One advanced technique used in time series forecasting with deep learning is the ________ neural network, known for its ability to remember sequences over time.

  • Recurrent
  • Convolutional
  • Randomized
  • Decision
The recurrent neural network (RNN) is well-known for its ability to remember sequences over time, making it a valuable tool for time series forecasting.

In DQNs, the target Q-values are updated less frequently than the predicted Q-values to ensure stability, using a concept known as ________ networks.

  • Target
  • Control
  • Reactive
  • Neural
In Deep Q Networks (DQNs), the target Q-values are updated less frequently to stabilize learning. This concept is known as 'target' networks, which involves having separate target Q-networks.

A retail store wants to recommend products to customers based on their purchase history. They want to find products that other customers with similar purchase histories have bought. Which algorithm is apt for this recommendation system?

  • Apriori Algorithm
  • Collaborative Filtering
  • Linear Regression
  • Principal Component Analysis (PCA)
Collaborative Filtering is ideal for recommending products based on user behavior and finding items preferred by users with similar purchase histories. It leverages user-item interaction patterns for recommendations.

Which machine learning algorithm works by recursively splitting the data set into subsets based on the value of features until it reaches a certain stopping criterion?

  • Decision Trees
  • K-Means Clustering
  • Linear Regression
  • Neural Networks
Decision Trees work by recursively splitting the dataset into subsets based on feature values. This process continues until a stopping criterion, such as the maximum depth of the tree, is met. Decision Trees are used for both classification and regression tasks.

You're working with a large dataset of facial images. You want to reduce the dimensionality of the images while preserving their primary features for facial recognition. Which neural network structure would you employ?

  • Autoencoder
  • Convolutional Neural Network
  • Recurrent Neural Network
  • Generative Adversarial Network
Autoencoders are used to reduce the dimensionality of data while preserving essential features. They are commonly employed in facial recognition for feature extraction.

A spam filter is being designed to classify emails. The model needs to consider the presence of certain words in the email (e.g., "sale," "discount") and their likelihood to indicate spam. Which classifier is more suited for this kind of problem?

  • K-Means Clustering
  • Naive Bayes
  • Random Forest
  • Support Vector Machine (SVM)
Naive Bayes is effective for text classification tasks, such as spam filtering, as it models the likelihood of words (e.g., "sale," "discount") indicating spam or non-spam, considering word presence.

Your organization is implementing a policy to disable root login via SSH. Which configuration file and parameter should you modify?

  • /etc/ssh/sshd_config, PermitRootLogin
  • /etc/ssh/sshd_config, AllowRoot
  • /etc/ssh/ssh_config, DenyRoot
  • /etc/ssh/ssh_config, RootLogin
To disable root login via SSH, you should modify the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to no. This enhances security by preventing direct root logins, encouraging users to log in as a regular user and then use sudo for administrative tasks.

In Bash, the ________ construct allows you to execute a specific block of code repeatedly as long as a certain condition is true.

  • while
  • until
  • for
  • if
In Bash, the while construct allows you to execute a specific block of code repeatedly as long as a certain condition is true. It's commonly used for creating loops in Bash scripts.

Which command can be used in a shell script to introduce a delay, often used for debugging or to pause the execution?

  • sleep
  • wait
  • pause
  • delay
The sleep command is used in a shell script to introduce a delay. You specify the number of seconds to pause the script's execution. It's commonly used for debugging to observe intermediate results or to add pauses for various purposes.

To execute a script in Bash, you often need to make it executable and then use the ________ symbol before the script name.

  • ./
  • &
  • ~
  • $
To execute a script in Bash, you often need to make it executable by running chmod +x script_name, and then you use the ./ symbol before the script name to specify the current directory. This tells the shell to execute the script from the current directory.