Advanced Machine Learning Engineering

 Advanced Machine Learning Engineering


1.Containers running on a single machine all share the same operating system kernel, so they start instantly and make more efficient use of RAM.

Ans: True

 

Flask Application and FastAPI Introduction


2.WSGI stands for the?

Ans:Web Server Gateway Interface


 Azure Fundamentals


3.Which of the following service is used to manage resources in Azure?

Ans:Azure Resource Manager

        Azure Portal


Version Control - Git


4. git push is the opposite of git clone, instead of downloading your code from GitHub, uploads your changes and code back to GitHub?

Ans: True


ML Lifecycle


5.Which of the following are ML methods?

Ans:based on human supervision


MLOps - MLFlow


6.MLOps enables supporting machine learning models and datasets to build these models as first-class citizens within CI/CD systems.

Ans:True


ML Lifecycle


7. Which of the following is a reasonable way to select the number of principal components "k"?

Ans:Choose k to be the smallest value so that at least 99% of the varinace is retained


Introduction to Docker


8.How you manage Docker images?

Ans:Both A & B


Version Control - Git


9.Which Command is used to show limited number of commits?

Ans:git log -n


Introduction to Docker


10.A docker container is an instance of an image with a specific configuration.

Ans: True


API basics with Flask


11.Which of the following statements is correct regarding Flask?

Ans:Flask supports database powered application (RDBS)


12.App routing in Flask is used to map a specific URL with the associated function that is intended to perform some task.

Ans: True


Linux basics and terminal commands


13.Which command is used to display the unix version?

Ans:uname -r


Version Control - Git


14.What's the git command that downloads your repository from GitHub to your computer?

Ans:git clone


Introduction to Docker


15.Docker setup can be done only on the cloud.

Ans: False


Introduction to PySpark


16.What are some of the things you can monitor in the Spark Web UI?

Ans:All of the above


Introduction to Airflow


17.What is called "Task" in Airflow?

Ans:a defined unit of work


Linux basics and terminal commands


18.Which command is used to remove the directory.

Ans:rmdir


API basics with Flask


19.WSGI stands for the?

Ans:Web Server Gateway Interface


Version Control - Git


20.How do you supply a commit message to a commit?

Ans:git commit -m "I'm coding"


21.Flask is called a?

Ans:microframework


Azure Fundamentals


22.What are the different cloud deployment models?

Ans:All of the above mentioned


Version Control - Git


23.What is full form of VCS?

Ans:Version Control System


Introduction to Docker


24.What are the advantages of using Docker container?

Ans:Offers an efficient and easy initial set up.

         Documentation provides every bit of information.

          Allows you to describe your application lifecycle in detail.

           Simple configuration and interacts with Docker Compose.


Microservices Basics & Streamlit


25.How to run Streamlit file?

Ans:streamlit run filename.py


Introduction to PySpark


26.Spark provides an interface for programming entire clusters with explicit data parallelism and fault tolerance.

Ans: False


Linux basics and terminal commands


27.Which command is used to display the operating system name?

Ans:uname


Microservices Basics & Streamlit


28.Which of the following responses is an advantage of microservices?

Ans:Any microservice component can change independently from other components.


29.why we use streamlit?

Ans:To create Web App


30.When would developers use microservices?

Ans:When they need to create large, enterprise-level applications that are subject to changes on a frequent basis.


Azure Fundamentals


31.In PaaS service model, the cloud provider manages all aspects of the application environment, such as virtual machines, data storage and applications etc.

Ans:False


Flask Application and FastAPI Introduction


32.Flask is a web development framework created in ___________ language.

Ans:Python


Linux basics and terminal commands


33.Core of Linux operating system is

Ans:Kernel


API basics with Flask


34.Flask default port is?

Ans:5000


Python Modules and Project Setup


35.Which comand is used for renaming files?

Ans: mv


Azure Fundamentals


36.Which of the following web applications can be deployed with Azure?

Ans:All of the above mentioned


ML Lifecycle


37.In Model based learning methods, an iterative process takes place on the ML models that are built based on various model parameters, called ?

Ans:hyperparameters


Python Modules and Project Setup


38.To use a module in another module, you must import it using an ______ statement.

Ans: Import


Microservices Basics & Streamlit


39.How to import streamlit?

Ans:import streamlit as st


ML Lifecycle


40.High entropy means that the partitions in classification are

Ans:not pure 



Linux basics and terminal commands


41.Which command is used to remove files?

Ans: rm


Introduction to PySpark


42. Any node that can run application code in the cluster is called as Worker node.

Ans: True


Introduction to Airflow


43.Airflow can be accessed and controlled via ___________.

Ans:Code

        Command line

          built-in-web Interface



ML Lifecycle


44.When performing regression or classification, which of the following is the correct way to preprocess the data?

Ans:Normalize the data -> PCA -> training



Introduction to Airflow


45.What is the full form of DAG?

Ans:Directed Acyclic Graph


Python Modules and Project Setup


46.A package is a folder containing one or more python modules. One of the modules in a package must be called ______

Ans:__init__.py


Azure Fundamentals


47.Azure Storage plays the same role in Azure that ______ plays in Amazon Web Services.

Ans:S3


Python Modules and Project Setup


48.Suppose add() is defined in a module adder.py. How to import and use the add() function?

Ans:from adder import add

        result = add(2, 3)

         import adder

          result = adder.add(2, 3)


49.To remove/delete files in UNIX, what command do we use?

Ans:rm


Introduction to PySpark


50.Which of the following is true of running a Spark application on Hadoop YARN?

Ans:There are two deploy modes that can be used to launch Spark applications on YARN - client mode and cluster mode


Microservices Basics & Streamlit


51.What is install command of streamlit in local computer?

Ans:pip install streamlit


Introduction to PySpark


52.Which of the following is used for linking the Python API to Spark Core and initializing SparkContext?

Ans:PySpark Shell


Introduction to Airflow


53.Which of the following are some of the arguments that can be passed for eac DAG.

Ans:owner

        depends_on_past

         start_date

          retry_delay


Version Control - Git


54.Which of the following command line environment is used for interacting with Git?

Ans:Git Bash


Flask Application and FastAPI Introduction


55.Which extension is used to store flask app?

Ans:.py


Introduction to Docker


56.What is a benefit for a developer using Docker?

Ans:All of the above


Linux basics and terminal commands


57. mv command can be used for -

Ans:Both 1 and 2


MLOps - MLFlow

58.The key components of MLOps are:

Ans:Machine learning

        DevOps (IT)

         Data Engineering


Version Control - Git


59.Git fetch is Command to download all the objects and references from a specified repository.

Ans:True 


API basics with Flask


60.A Request Context Can Be Created In Flask by only manually, by calling app.test_request_context (‘/route?param=value)

Ans:False


Linux basics and terminal commands


61.Hidden file can be viewed using ______.

Ans:ls -a 


Python Modules and Project Setup


62.A python modue is a file with the _______file extension that contains valid python code

Ans:.py


MLOps - MLFlow


63.MLOps is

Ans:DevOps for Machine Learning


ML Lifecycle


64.To find the minimum or the maximum of a function, we set the gradient to zero because:

Ans:The value of the gradient at extrema of a function is always zero


Flask Application and FastAPI Introduction


65.Which of the following are the benefits of using the Flask framework?

Ans:It has an inbuilt development server.

         It has vast third-party extensions.

          It is WSGI compliant.


Introduction to Airflow


66.Who created Apache Airflow?

Ans:Airbnb


MLOps - MLFlow


67.Continuous training (CT) is a property of MLOps and DevOps systems.

Ans:True


68.MLFlow can be used to reproduce model results?

Ans: True


Python Modules and Project Setup


69.Which of the following isn’t true about main modules?

Ans:Other main modules can import main modules


Azure Fundamentals


70.Azure VMs and storage services fall under which of the following cloud computing models?

Ans:IaaS


API basics with Flask


71.How to add the mailing feature in the Flask Application?

Ans:pip install Flask-Mail


Flask Application and FastAPI Introduction


72.Flask works with most of the RDBMSs, such as?

Ans:PostgreSQL

SQLite

MySQL


Introduction to PySpark


73.The entry point of a PySpark program is an object. This object allows you to connect to a Spark cluster and create RDDs. What is this object called?

Ans:SparkContext


Introduction to Airflow


74.Apache Airflow can be beneficial when automating data and ML pipelines allowing systems to perform ETL.

Ans:True


MLOps - MLFlow


75.MLFlow integrations doesn't support

Ans: mxnet

Comments

Popular posts from this blog