_________ is a popular open-source framework used for real-time processing and analytics of large streams of data.

  • Hadoop
  • Spark
  • Hive
  • Kafka
Apache Spark is a widely used open-source framework for real-time processing and analytics of large streams of data. It provides powerful tools for data processing, machine learning, and more, making it a popular choice in the field of big data and data science.

A neural network without any hidden layers is typically referred to as a _______.

  • Deep Neural Network
  • Shallow Neural Network
  • Multilayer
  • Perceptron
A neural network without any hidden layers is often referred to as a "Perceptron." It consists of only the input and output layers, and it's the simplest form of a neural network.

While working with a dataset about car sales, you discover that the "Brand" column has many brands with very low frequency. To avoid having too many sparse categories, which technique can you apply to the "Brand" column?

  • One-Hot Encoding
  • Label Encoding
  • Brand grouping based on frequency
  • Principal Component Analysis (PCA)
To handle low-frequency categories in the "Brand" column, you can group the brands based on their frequency. This reduces the number of sparse categories and can improve model performance. You can also consider techniques like label encoding or one-hot encoding, but they might not be ideal for low-frequency categories. PCA is used for dimensionality reduction and not for handling categorical variables.

Which method in transfer learning involves freezing the earlier layers of a pre-trained model and only training the latter layers for the new task?

  • Fine-tuning
  • Knowledge Transfer
  • Feature Extraction
  • Weight Sharing
The method in transfer learning that involves freezing the earlier layers of a pre-trained model and only training the latter layers for the new task is known as fine-tuning. Fine-tuning allows the model to retain the knowledge from the source task while adapting its later layers for the specific requirements of the target task. This approach is common in transfer learning scenarios.

You're working with a dataset containing sales data from various regions. You want to identify sales patterns, seasonal trends, and anomalies. Which EDA techniques and visualization tools would be best suited for this?

  • Scatter plots and t-SNE
  • Box plots and bar charts
  • Time series plots and heatmaps
  • Histograms and parallel coordinates
For exploring sales patterns and seasonal trends, time series plots and heatmaps are excellent choices. Time series plots can reveal trends over time, and heatmaps can show correlations between different regions and sales data, helping identify anomalies and patterns.

In EDA, which method can help in understanding how a single variable is distributed across various categories or groups?

  • Histogram
  • Box Plot
  • Scatter Plot
  • Bar Plot
A bar plot is used to visualize the distribution of a single variable across different categories or groups. It displays the data in rectangular bars, making it easy to compare and understand how the variable is distributed among the categories. Commonly used in Exploratory Data Analysis (EDA).

In an RNN, which component is responsible for allowing information to be passed from one step in the sequence to the next?

  • Hidden State
  • Input Layer
  • Output Layer
  • Activation Function
The hidden state in an RNN is responsible for passing information from one step in the sequence to the next. It carries information from previous steps and combines it with the current input to capture sequential dependencies, making it a crucial component in recurrent neural networks.

XML and JSON data formats, which can have a hierarchical structure, are examples of which type of data?

  • Unstructured Data
  • Semi-Structured Data
  • Structured Data
  • NoSQL Data
XML and JSON are examples of semi-structured data. Semi-structured data is characterized by a hierarchical structure and flexible schemas, making it a middle ground between structured and unstructured data. It is commonly used in various data exchange and storage scenarios.

The _______ step in the Data Science Life Cycle is crucial for understanding how the final model will be integrated and used in the real world.

  • Data Exploration
  • Data Preprocessing
  • Model Deployment
  • Data Visualization
The "Model Deployment" step in the Data Science Life Cycle is essential for taking the data science model from development to production. It involves integrating the model into real-world applications, making it a crucial phase.

Text data from social media platforms, such as tweets or Facebook posts, is an example of which type of data?

  • Structured data
  • Semi-structured data
  • Unstructured data
  • Binary data
Text data from social media platforms is typically unstructured. It doesn't have a fixed format or schema. It may include text, images, videos, and other content without a well-defined structure, making it unstructured data.

Which component of the Hadoop ecosystem is primarily used for distributed data storage?

  • HDFS (Hadoop Distributed File System)
  • Apache Spark
  • MapReduce
  • Hive
HDFS (Hadoop Distributed File System) is the primary component in the Hadoop ecosystem for distributed data storage. It is designed to store large files across multiple machines and provides data durability and fault tolerance.

In a convolutional neural network (CNN), which type of layer is responsible for reducing the spatial dimensions of the input?

  • Convolutional Layer
  • Pooling Layer
  • Fully Connected Layer
  • Batch Normalization Layer
The Pooling Layer in a CNN is responsible for reducing the spatial dimensions of the input. This layer downsamples the feature maps, which helps in retaining important features and reducing computational complexity.