In transfer learning, what is the process of updating the weights of the pre-trained model with new data called?

  • Feature Engineering
  • Fine-Tuning
  • Data Augmentation
  • Model Stacking
In transfer learning, fine-tuning is the process of updating the weights of a pre-trained model with new data. This allows the model to adapt to the specific characteristics of the new data while leveraging the knowledge learned from the pre-training on a different but related task.

For a company looking to understand the sentiment of their product reviews using natural language processing (NLP), which role would be most suited to undertake this task?

  • Data Scientist
  • Machine Learning Engineer
  • Data Analyst
  • NLP Engineer
Data Scientists are well-suited for tasks like understanding sentiment through NLP. They have the skills to leverage machine learning and NLP techniques to extract insights from text data. They can develop models to analyze product reviews and assess sentiment.

In which data visualization tool can you create interactive dashboards and stories for better business insights?

  • Matplotlib
  • Tableau
  • ggplot2
  • Power BI
Power BI is a data visualization tool that enables users to create interactive dashboards and stories to gain better business insights. It offers a wide range of features for data analysis, visualization, and reporting, making it a popular choice for business intelligence.

In a confusion matrix, the value representing correctly predicted positive instances is called the _______.

  • True Positive
  • False Positive
  • True Negative
  • False Negative
In a confusion matrix, the value representing correctly predicted positive instances is called "True Positive." This refers to the cases where the model correctly identified positive instances in the dataset. Understanding True Positives is essential for assessing the model's performance, especially in classification tasks.

Which of the following best describes the main activity of a Data Analyst?

  • Building predictive models
  • Writing complex code
  • Generating insights from data
  • Designing databases
Data Analysts primarily focus on generating insights from data. They use statistical and analytical techniques to draw meaningful conclusions and communicate their findings to support decision-making.

Your organization wants to move away from traditional batch processing of data and is looking for a tool that can offer in-memory processing for faster analytics. Which Big Data framework would you recommend?

  • Apache Storm
  • Apache Hadoop
  • Apache HBase
  • Apache Spark
Apache Spark provides in-memory processing capabilities, allowing for faster analytics compared to traditional batch processing. It's an excellent choice when speed and real-time data processing are priorities.

What is the difference between Real DOM and Virtual DOM?

  • Real DOM is faster than Virtual DOM
  • Virtual DOM is faster than Real DOM
  • Real DOM is a physical representation of the web page, while Virtual DOM is a virtual representation
  • Virtual DOM is a physical representation of the web page, while Real DOM is a virtual representation
The Real DOM is a physical representation of the web page, consisting of all the HTML elements, their attributes, and their relationships with each other. The Virtual DOM, on the other hand, is a lightweight JavaScript representation of the Real DOM. The Virtual DOM allows React to update the UI efficiently by minimizing the number of updates needed to the Real DOM.

How to use connect from React Redux?

  • Use it as a HOC to connect a component to the Redux store
  • Use it as a middleware for handling async actions
  • Use it to create a new Redux store
  • Use it to reset the Redux state
connect is a Higher Order Component (HOprovided by React Redux that allows you to connect a component to the Redux store. It provides the component with access to the store and allows the component to subscribe to changes in the store's state.

What is the lifecycle methods order in mounting?

  • componentDidMount, componentWillMount, componentWillReceiveProps
  • componentDidMount, componentWillReceiveProps, componentWillMount
  • componentWillMount, componentDidMount, componentWillReceiveProps
  • componentWillMount, componentWillReceiveProps, componentDidMount
The lifecycle methods for mounting a component in React are as follows: componentWillMount, render, componentDidMount. The "componentWillMount" method is called before the component is mounted to the DOM, "render" is called to render the component, and "componentDidMount" is called after the component is mounted to the DOM.

What is the stable release for hooks support?

  • React 15
  • React 16
  • React 17
React Hooks were first introduced in React 16.8, and have been a stable feature of React since React 16.8.0. React 17 is the most recent stable release of React as of September 2021.

Why is a component constructor called only once?

  • The constructor is called for each new instance of the component
  • The constructor is not needed in functional components
  • The constructor is not used in React components
  • The constructor is only called when the component is first created
In React, the constructor is called only once when the component is first created. This is because the constructor is used to initialize the component state and bind event handlers, and these operations only need to be performed once. After the component has been created, subsequent updates will use the "componentDidUpdate()" method to update the state and re-render the component.

What are inline conditional expressions?

  • Expressions that are evaluated during compilation
  • Expressions that are evaluated during runtime
  • Expressions that are used to conditionally render components
  • Expressions that are used to set component state
Inline conditional expressions in React are expressions that are used to conditionally render components based on a certain condition. They are typically used in JSX, and are written using the ternary operator. Inline conditional expressions are a simple and effective way to conditionally render components without the need for additional logic.