Artificial Intelligence on Microsoft Azure Machine Learning and Python Basics Microcredent, Exams of Technology

This exam focuses on leveraging Microsoft Azure for AI and machine learning, alongside basic Python programming skills. It includes topics like AI models, data processing, and cloud computing.

Typology: Exams

2025/2026

Available from 12/19/2025

shilpi-jain-1
shilpi-jain-1 🇮🇳

4.2

(5)

29K documents

1 / 101

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Artificial Intelligence on Microsoft Azure Machine
Learning and Python Basics Microcredential
Certificate Practice Exam
**Question 1. Which Python data type is immutable?**
A) list
B) dict
C) tuple
D) set
Answer: C
Explanation: Tuples cannot be altered after creation, unlike lists, dicts, and sets.
**Question 2. In NumPy, which function creates an array of zeros?**
A) np.empty()
B) np.ones()
C) np.arange()
D) np.zeros()
Answer: D
Explanation: np.zeros(shape) returns a new array filled with zeros.
**Question 3. What does the pandas .head() method return?**
A) Last five rows
B) First five rows
C) All rows with missing values
D) Column names only
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Artificial Intelligence on Microsoft Azure Machine Learning and Python Basics Microcredent and more Exams Technology in PDF only on Docsity!

Learning and Python Basics Microcredential

Certificate Practice Exam

Question 1. Which Python data type is immutable? A) list B) dict C) tuple D) set Answer: C Explanation: Tuples cannot be altered after creation, unlike lists, dicts, and sets. Question 2. In NumPy, which function creates an array of zeros? A) np.empty() B) np.ones() C) np.arange() D) np.zeros() Answer: D Explanation: np.zeros(shape) returns a new array filled with zeros. Question 3. What does the pandas .head() method return? A) Last five rows B) First five rows C) All rows with missing values D) Column names only

Learning and Python Basics Microcredential

Certificate Practice Exam

Answer: B Explanation: .head() displays the first five rows by default. Question 4. Which Matplotlib function is used to display a plot? A) plt.show() B) plt.plot() C) plt.draw() D) plt.render() Answer: A Explanation: plt.show() renders the figure window. Question 5. In supervised learning, the target variable is also called the _____. A) feature B) label C) cluster D) epoch Answer: B Explanation: Labels are the known outputs used for training. Question 6. Which metric is appropriate for evaluating a regression model? A) Accuracy

Learning and Python Basics Microcredential

Certificate Practice Exam

Explanation: Compute Instances provide Jupyter notebooks and VS Code for developers. Question 9. In Azure ML Designer, which module splits data into training and test sets? A) Join Data B) Clean Missing Data C) Split Data D) Convert to CSV Answer: C Explanation: Split Data divides a dataset based on a specified ratio. Question 10. AutoML in Azure ML primarily automates which steps? A) Data storage only B) Model selection, hyperparameter tuning, and feature engineering C) GPU provisioning only D) Network security configuration Answer: B Explanation: AutoML searches algorithms, tunes parameters, and creates features automatically. Question 11. Which Python keyword defines a function?

Learning and Python Basics Microcredential

Certificate Practice Exam

A) def B) func C) lambda D) class Answer: A Explanation: def introduces a new function definition. Question 12. What does the pandas .iloc[] accessor use for indexing? A) Labels B) Boolean masks C) Integer positions D) Column names Answer: C Explanation: .iloc[] selects rows/columns by integer location. Question 13. In NumPy, the operation a + b where a and b are arrays is called: A) Looping B) Vectorization C) Broadcasting D) Indexing Answer: B

Learning and Python Basics Microcredential

Certificate Practice Exam

C) Model underutilizes available features D) Model runs faster than expected Answer: B Explanation: Overfitting occurs when a model captures random fluctuations. Question 17. In Python, which statement correctly creates a dictionary? A) d = [‘key’:1] B) d = {‘key’:1} C) d = (‘key’,1) D) d = ‘key’: Answer: B Explanation: Curly braces with key‑value pairs define a dict. Question 18. Which pandas method removes rows with any missing values? A) dropna() B) fillna() C) replace() D) isnull() Answer: A Explanation: dropna() discards rows (or columns) containing NaNs. Question 19. What is the purpose of a confusion matrix?

Learning and Python Basics Microcredential

Certificate Practice Exam

A) Show regression residuals B) Visualize class prediction counts (TP, FP, FN, TN) C) Plot feature importance D) Display data distribution Answer: B Explanation: Confusion matrix tabulates true vs. predicted class counts. Question 20. Which Azure ML component stores large data files for reuse? A) Model Registry B) Datastore C) Compute Cluster D) Pipeline Answer: B Explanation: Datastores reference Azure Blob, ADLS, etc., for data storage. Question 21. In Python, the expression x is y checks for: A) Equality of values B) Same object identity C) Type compatibility D) Length similarity Answer: B Explanation: is tests whether both variables point to the same object.

Learning and Python Basics Microcredential

Certificate Practice Exam

D) Azure DevOps Answer: B Explanation: Model Registry tracks model artifacts and versions. Question 25. In Python, which loop guarantees at least one execution? A) for B) while C) do‑while (not native) D) None – Python has no do‑while loop Answer: D Explanation: Python lacks a built‑in do‑while; all loops may skip execution. Question 26. Which pandas function merges two DataFrames on a key column? A) concat() B) join() C) merge() D) append() Answer: C Explanation: merge() performs SQL‑style joins using specified keys. Question 27. What does the term “feature engineering” refer to?

Learning and Python Basics Microcredential

Certificate Practice Exam

A) Training the model B) Deploying the model as a service C) Creating or transforming input variables to improve model performance D) Evaluating model accuracy Answer: C Explanation: Feature engineering designs useful predictors from raw data. Question 28. Which Azure ML tool provides a drag‑and‑drop interface? A) Azure CLI B) Azure ML Designer C) Azure Portal Dashboard D) Azure Synapse Studio Answer: B Explanation: Designer lets users build pipelines visually. Question 29. In Python, which statement creates a set with elements 1,2,3? A) s = {1,2,3} B) s = [1,2,3] C) s = (1,2,3) D) s = <1,2,3> Answer: A Explanation: Curly braces without key‑value pairs define a set.

Learning and Python Basics Microcredential

Certificate Practice Exam

D) Scikit‑learn Answer: B Explanation: pandas.Series is a one‑dimensional labeled array. Question 33. In NumPy, which attribute returns the number of dimensions of an array? A) .size B) .shape C) .ndim D) .dtype Answer: C Explanation: .ndim gives the array’s rank (number of axes). Question 34. Which Azure ML compute type scales automatically based on workload? A) Compute Instance B) Azure Function C) Compute Cluster D) Virtual Machine Scale Set Answer: C Explanation: Compute Clusters add or remove nodes as needed.

Learning and Python Basics Microcredential

Certificate Practice Exam

Question 35. Which Python statement correctly handles exceptions? A) try: … except Exception as e: … B) catch: … finally: … C) if error: … else: … D) error: … handle: … Answer: A Explanation: try/except catches raised exceptions. Question 36. Which metric is insensitive to class imbalance? A) Accuracy B) Precision C) Recall D) ROC‑AUC Answer: D Explanation: ROC‑AUC evaluates ranking ability across thresholds, less affected by imbalance. Question 37. In pandas, which method converts a column to datetime type? A) to_date() B) astype(datetime) C) pd.to_datetime() D) parse_date()

Learning and Python Basics Microcredential

Certificate Practice Exam

C) AgglomerativeClustering D) DBSCAN Answer: B Explanation: KMeans clusters data into a predefined number of groups. Question 41. In Azure ML, what is a “Pipeline” used for? A) Storing raw files B) Defining a sequence of steps for data prep, training, and deployment C) Monitoring GPU usage D) Managing user permissions Answer: B Explanation: Pipelines orchestrate reproducible end‑to‑end ML workflows. Question 42. Which pandas function reads a CSV file into a DataFrame? A) pd.load_csv() B) pd.read_csv() C) pd.import_csv() D) pd.open_csv() Answer: B Explanation: read_csv() parses CSV data into a DataFrame. Question 43. Which Python operator tests membership in a list?

Learning and Python Basics Microcredential

Certificate Practice Exam

A) in B) is C) == D) contains Answer: A Explanation: x in list returns True if x exists in the list. Question 44. Which Azure service provides large‑scale training with GPU clusters? A) Azure ML Compute Cluster with GPU VM size B) Azure App Service C) Azure Logic Apps D) Azure Storage Answer: A Explanation: GPU‑enabled compute clusters accelerate deep‑learning workloads. Question 45. What does the term “bias” refer to in a machine‑learning model? A) Random error from noise B) Systematic error that causes predictions to deviate from true values C) Model’s inability to learn D) Overly complex architecture

Learning and Python Basics Microcredential

Certificate Practice Exam

Question 48. Which Python statement is used to import only the mean function from NumPy? A) import numpy.mean B) from numpy import mean C) import mean from numpy D) using numpy.mean Answer: B Explanation: from numpy import mean imports the specific function. Question 49. Which metric is appropriate for imbalanced binary classification when false positives are costly? A) Accuracy B) Precision C) Recall D) R‑squared Answer: B Explanation: Precision emphasizes minimizing false positives. Question 50. What does the Azure ML “Model Registry” enable? A) Real‑time inference only B) Storing, versioning, and managing lifecycle of models C) Data cleaning operations

Learning and Python Basics Microcredential

Certificate Practice Exam

D) Automatic scaling of compute Answer: B Explanation: Registry centralizes model artifacts and their versions. Question 51. Which pandas method returns unique values of a Series? A) unique() B) distinct() C) nunique() D) set() Answer: A Explanation: Series.unique() returns the array of distinct values. Question 52. In Python, the expression lambda x: x*2 creates a: A) Named function B) List comprehension C) Anonymous (lambda) function D) Generator object Answer: C Explanation: lambda defines an inline anonymous function. Question 53. Which Azure AI service provides speech‑to‑text capabilities? A) Azure Cognitive Services – Speech