Free AI Engineer: Designing and Implementing an Azure [AI-100] Questions and Answers — Questions and Answers
Question 1: You must assess the trends in fuel prices over ten years. The solution must show visual representations of anomalous price swings. <br> <br> Which Azure Cognitive Services API should you use?
- Computer Vision
- Anomaly Detector (Correct answer)
- Bing Autosuggest
- Text Analytics
Correct answer: Anomaly Detector
The Azure Anomaly Detector API is specifically designed to identify unusual patterns or outliers in time-series data, such as fuel prices over ten years. It can automatically detect various types of anomalies, including spikes, dips, and trend changes, making it ideal for pinpointing anomalous price swings and visualizing these deviations from normal behavior.
Question 2: You intend to analyze the medical records of patients spread out across the globe. You must suggest an alternative to using the cloud for data processing and storage.
- The Text Analytics API that has container support
- Azure Machine Learning Studio
- An Apache Spark cluster that uses MMLSpark (Correct answer)
- Azure Machine Learning services
Correct answer: An Apache Spark cluster that uses MMLSpark
An Apache Spark cluster, especially when enhanced with MMLSpark (Microsoft Machine Learning for Apache Spark), provides a powerful, scalable, and distributed framework for processing large datasets. By deploying this on-premises or in a private cloud environment, it offers an alternative to public cloud services for data processing and storage, which can be crucial for sensitive medical records that might have strict data residency or compliance requirements.
Question 3: Your business has a data center on-site. You want to release an app that uses the Face API to identify a group of people. The model has been honed. You must ensure that all image processing occurs in the on-site data center. <br> <br> What should you deploy to host the Face API?
- Azure File Sync
- A Docker container (Correct answer)
- Azure Data Box Edge
- Azure Application Gateway
Correct answer: A Docker container
To ensure all image processing for the Face API occurs on-site, deploying the Face API as a Docker container is the correct solution. Azure Cognitive Services containers allow you to run specific Cognitive Services APIs, like the Face API, in your own on-premises environment or any other location, providing full control over data residency and processing location while still leveraging Azure's pre-trained models.
Question 4: A product catalog can be searched using the Bing Search service you have. You must locate the following details: <br> - The locale of the query <br> - The top 50 query strings <br> - The number of calls to the service <br> - The top geographical regions of the service <br> What should you implement?
- Azure API Management (APIM)
- Bing Statistics (Correct answer)
- Azure Application Insights
- Azure Monitor
Correct answer: Bing Statistics
Bing Statistics (or Bing Webmaster Tools analytics, which includes similar data) provides detailed insights into how users are interacting with Bing Search services. It offers metrics such as query locale, popular search queries, total calls to the service, and geographical distribution of users. This makes it the direct and most appropriate tool for gathering the specified usage and performance data for a Bing Search service.
Question 5: You have a real-time updating Face API solution. On a small dataset, the solution's pilot executes successfully. The performance deteriorates when you try to apply the method to a more extensive dataset constantly changing, lengthening the time it takes to identify existing faces. It would help if you suggested improvements to decrease the time it takes to recognize familiar faces without raising costs. What ought you offer?
- Separate training into an independent pipeline and schedule the pipeline to run daily. (Correct answer)
- Change the solution to the Computer Vision API instead of the Face API.
- Distribute the face recognition inference process across many Azure Cognitive Services instances.
- Change the solution to the Bing Image Search API instead of the Face API.
Correct answer: Separate training into an independent pipeline and schedule the pipeline to run daily.
When dealing with a constantly changing, extensive dataset in a real-time Face API solution, performance deterioration often stems from inefficient model updates. Separating the training process into an independent pipeline allows the recognition system to use a stable, pre-trained model for inference, preventing real-time operations from being bogged down by continuous retraining. Scheduling daily training ensures the model remains current without impacting recognition speed or incurring excessive costs from constant, on-demand retraining.
Question 6: You have a database with sales information. Two data streams, Stream1 and Stream2, will be used to process the sales data. Data related to purchase orders will be used in Stream1. Data for reference will be taken from Stream2. CSV files are used to store the reference data. You must suggest an ingestion method for every data stream. Which two remedies ought you to tell? Each accurate response offers a complete solution. NOTE: A point is awarded for each correct choice.
- Azure Blob storage for Stream1 and Stream2 (Correct answer)
- An Azure event hub for Stream1 and Azure Blob storage for Stream2 (Correct answer)
- Azure Cosmos DB for Stream1 and an Azure event hub for Stream2
- An Azure event hub for Stream1 and Stream2
- Azure Blob storage for Stream1 and Azure Cosmos DB for Stream2
Correct answer: Azure Blob storage for Stream1 and Stream2
For Stream1, which involves purchase orders, an Azure Event Hub is ideal for high-throughput, low-latency ingestion of real-time event data. For Stream2, which consists of reference data stored in CSV files, Azure Blob storage is a highly scalable and cost-effective solution for storing large amounts of unstructured file-based data. Alternatively, Azure Blob storage could also serve as a landing zone for Stream1 if the purchase order data is ingested in batches, offering simplicity and cost efficiency for both streams, especially for file-based reference data.
Question 7: You are creating an application that utilizes an Azure Kubernetes Service (AKS) cluster. You are looking into a node problem. It would help if you established an SSH connection to an AKS node. Solution: Select an SSH connection after generating a managed identity for AKS. Is the objective being met?
- YES
- NO (Correct answer)
Correct answer: NO
Generating a managed identity for an Azure Kubernetes Service (AKS) cluster provides the cluster with an identity to authenticate to other Azure services securely, such as Azure Key Vault or Azure Container Registry. However, it does not directly enable SSH access to the individual AKS nodes. To establish an SSH connection to an AKS node, specific configurations like enabling SSH during cluster creation or using `kubectl debug` with appropriate credentials are required.
Question 8: What does "AI" mean in its entirety?
- Artificially Intelligent
- Advanced Intelligence
- Artificial Intelligence (Correct answer)
- Artificially Intelligence
Correct answer: Artificial Intelligence
The acronym 'AI' universally stands for Artificial Intelligence. This term refers to the broad field of computer science dedicated to creating machines that can perform tasks typically requiring human intelligence, such as learning, problem-solving, and decision-making.
Question 9: Artificially Intelligence
- Artificial Intelligence is a field that aims to mine the data
- Artificial Intelligence is a field that aims to develop intelligent machines (Correct answer)
- Artificial Intelligence is a field that aims to improve the security
- Artificial Intelligence is a field that aims to make humans more intelligent
Correct answer: Artificial Intelligence is a field that aims to develop intelligent machines
Artificial Intelligence (AI) is a scientific field focused on developing machines that can simulate human cognitive functions. Its primary goal is to create intelligent agents capable of perceiving their environment, reasoning, learning, and taking actions to achieve specific goals, thereby performing tasks that traditionally require human intellect.
Question 10: The person who created artificial intelligence is who?
- Geoffrey Hinton
- Andrew Ng
- John McCarthy (Correct answer)
- Jürgen Schmidhuber
Correct answer: John McCarthy
John McCarthy is widely recognized as the 'Father of Artificial Intelligence.' He coined the term 'Artificial Intelligence' in 1955 and organized the Dartmouth Conference in 1956, which is considered the foundational event for the field of AI research.
Question 11: Which one of the following is an artificial intelligence subfield?
- Cyber forensics
- Machine Learning (Correct answer)
- Network Design
- Full-Stack Developer
Correct answer: Machine Learning
Machine Learning (ML) is a prominent subfield of Artificial Intelligence. It focuses on developing algorithms that allow computer systems to learn from data, identify patterns, and make predictions or decisions without being explicitly programmed for every task, forming a core part of modern AI applications.
Question 12: What is artificial intelligence's purpose?
- To extract scientific causes
- To solve artificial problems
- To explain various sorts of intelligence (Correct answer)
- To solve real-world problems
Correct answer: To explain various sorts of intelligence
The fundamental purpose of artificial intelligence is to understand, model, and replicate various forms of intelligence, both human and potentially beyond. By building intelligent systems, researchers aim to gain deeper insights into the mechanisms of learning, reasoning, perception, and problem-solving, ultimately explaining and expanding our understanding of intelligence itself.
Question 13: Which of the following uses artificial intelligence?
- It helps to exploit vulnerabilities to secure the firm
- Language understanding and problem-solving (Text analytics and NLP) (Correct answer)
- It helps to deploy applications on the cloud
- Easy to create a website
Correct answer: Language understanding and problem-solving (Text analytics and NLP)
Artificial intelligence is extensively applied in areas requiring the understanding and processing of human language, such as text analytics and Natural Language Processing (NLP). These AI capabilities enable machines to interpret, analyze, and generate human language, facilitating applications like chatbots, sentiment analysis, machine translation, and information extraction.
Question 14: How many different categories does the artificial intelligence process fall under?
- categorized into 5 categories
- processes are categorized based on the input provided
- categorized into 3 categories (Correct answer)
- process is not categorized
Correct answer: categorized into 3 categories
Artificial intelligence processes are commonly categorized into three main types based on their capabilities: Artificial Narrow Intelligence (ANI), Artificial General Intelligence (AGI), and Artificial Super Intelligence (ASI). These categories describe the progression from specialized AI to human-level intelligence and beyond.
Question 15: Which of the following criteria is used to classify artificial intelligence?
- Based on capabilities only
- Based on functionally only
- Based on capabilities and functionally (Correct answer)
- It is not categorized
Correct answer: Based on capabilities and functionally
Artificial Intelligence is typically classified using a dual approach: based on its capabilities (e.g., Narrow AI, General AI, Super AI) and based on its functionality or how it operates (e.g., reactive machines, limited memory, theory of mind, self-aware AI). This comprehensive classification helps to understand the different levels and types of AI systems.
Question 16: Which of the following describes an AI component?
- Learning (Correct answer)
- Training
- Designing
- Puzzling
Correct answer: Learning
Learning is a core component of Artificial Intelligence, particularly in machine learning. It enables AI systems to acquire knowledge, identify patterns from data, adapt to new information, and improve their performance over time without explicit programming for every scenario.
You must assess the trends in fuel prices over ten years.
The solution must show visual representations of anomalous price swings.
Which Azure Cognitive Services API should you use?