Module 3 Core Solutions and Management Tools Flashcards
Common sensors that measure attributes of the physical world. (IoT)
- Environmental sensors that capture temperature and humidity levels
- Barcode, QR code, or optical character (OCR) scanners
- Geo-location and proximity sensors
- Light, color, and infrared sensors
- Sound and ultrasonic sensors
- Motion and touch sensors
- Accelerometer and tilt sensors
- Smoke, gas, and alcohol sensors
- Error sensors to detect when there’s a problem with the device
- Mechanical sensors that detect anomalies or deformations
- Flow, level and pressure sensors for measuring gases and liquids
Enumerate Azure IoT Services
- Azure IoT Hub
- Azure IoT Central
- Azure Sphere
By using _____________, devices that are equipped with these kinds of sensors and that can connect to the internet could send their sensor readings to a specific endpoint in Azure via a message. The message’s data is then collected and aggregated, and it can be converted into reports and alerts. Alternately, all devices could be updated with new firmware to fix issues or add new functionality by sending software updates from ____________ to each device.
Azure IoT services
___________ is a managed service that’s hosted in the cloud and that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages.
Azure IoT Hub
The ________ service supports communications both from the device to the cloud and from the cloud to the device. It also supports multiple messaging patterns, such as device-to-cloud telemetry, file upload from devices, and request-reply methods to control your devices from the cloud. After an _______ receives messages from a device, it can route that message to other Azure services.
IoT Hub
From a cloud-to-device perspective, IoT Hub allows for ____________. That is, you can have either manual or automated remote control of connected devices, so you can instruct the device to open valves, set target temperatures, restart stuck devices, and so on.
Command and control
___________ builds on top of IoT Hub by adding a dashboard that allows you to connect, monitor, and manage your IoT devices.
Azure IoT Central
A key part of _________ is the use of device templates. By using a device template, you can connect a device without any service-side coding. ________ uses the templates to construct the dashboards, alerts, and so on. Device developers still need to create code to run on the devices, and that code must match the device template specification.
IoT Central
_________ creates an end-to-end, highly secure IoT solution for customers that encompasses everything from the hardware and operating system on the device to the secure method of sending messages from the device to the message hub. _________ has built-in communication and security features for internet-connected devices.
Azure Sphere
Enumerate the three parts of an Azure Sphere
- Azure Sphere micro-controller unit (MCU)
- responsible for processing the operating system and signals from attached sensors - Customized Linux Operating System (OS)
- handles communication with the security service and can run the vendor’s software - Azure Sphere Security Service (AS3)
- makes sure that the device has not been maliciously compromised
When the device attempts to connect to Azure, it first must authenticate itself, per device, which it does by using certificate-based authentication. If it authenticates successfully, AS3 checks to ensure that the device hasn’t been tampered with. After it has established a secure channel of communication, AS3 pushes any OS or approved customer-developed software updates to the device (Azure Sphere)
True.
- Device authenticates itself
- AS3 checks to make sure that the device has not been tampered with
- AS3 pushes updates to the device.
What are the decision criteria for deciding which Azure IoT Service to use?
- Is it critical to ensure that the device is not compromised?
- Do I need a dashboard for reporting and management?
Decision (IoT services):
The Tailwind Traders senior leadership team has decided to partner with a leading appliance manufacture to create an exclusive, high-end brand that promises a preemptive maintenance service agreement. This unique feature would differentiate Tailwind Traders appliances in a crowded, competitive market. The feature also makes the brand lucrative, because a yearly subscription would be required. To build a strong brand reputation, the appliances will send telemetry information to a centralized location, where it can be analyzed and maintenance can be scheduled.
The devices will not require remote control. They will merely be sending their telemetry data for analysis and pro-active maintenance.
Because Tailwind Traders already has software in place for managing appliance maintenance requests, the company wants to integrate all functionality into this existing system.
Which Azure IoT service should they use?
Decision Criteria
- Is it critical to ensure that the device is not compromised?
- Preferable, but not critical. - Do I need a dashboard for reporting and management?
- No. Tailwind Traders wants to integrate the telemetry data and all other functionality into an existing maintenance request system.
Best Decision: Azure IoT Hub
Decision (IoT services):
Tailwind Traders owns a fleet of delivery vehicles that transport products from warehouses to distribution centers, and from distribution centers to stores and homes. The company is looking for a complete logistics solution that takes data sent from an onboard vehicle computer and turns it into actionable information.
Furthermore, shipments can be outfitted with sensors from a third-party vendor to collect and monitor ambient conditions. These sensors can collect information such as the temperature, humidity, tilt, shock, light, and the location of a shipment.
A few goals of this logistics system include:
- Shipment monitoring with real-time tracing and tracking.
- Shipment integrity with real-time ambient condition monitoring.
- Security from theft, loss, or damage of shipments.
- Geo-fencing, route optimization, fleet management, and vehicle analytics.
- Forecasting for predictable departure and arrival of shipments.
The company would prefer a pre-built solution to collect the sensor and vehicle computer data, and provide a graphical user interface that displays reports about shipments and vehicles.
Decision Criteria
- Is it critical to ensure that the device is not compromised?
- Preferable, but not critical. - Do I need a dashboard for reporting and management?
- Yes, a reporting and management dashboard is a requirement.
Best Decision: Azure IoT Central
Decision (IoT services):
Tailwind Traders wants to implement a touchless point-of-sale solution for self-checkout. The self-checkout terminals should be, above all else, secure. Each terminal must be impervious to malicious code that could create fraudulent transactions, force the company to take the systems offline during a heavy shopping period, or send transactional data to a spying organization. The terminals should also report back vital information on the company’s health and allow secure updates to its software remotely.
After reviewing many possible solutions during a request for proposal process, Tailwind Traders decides that it needs features that vendors have yet to implement. Instead of using an existing solution, the company decides to work with a leading engineering firm that specializes in IoT solutions. This approach allows the company to build a uniquely secure terminal that gives it a retail platform to build on going forward.
Although most of the company’s focus is on the terminal itself, Tailwind Traders realizes that it wants a solution that can help it make sense of all the data that will be generated by these terminals across all of its retail stores. And it wants an easy way to push software updates to its terminals.
- Is it critical to ensure that the device is not compromised?
- Yes - Do I need a dashboard for reporting and management?
- Yes
Best Decision: Azure IoT Central and Azure Sphere
Enumerate services of Microsoft Azure for big data and analytic solutions.
- Azure Synapse Analytics (formerly known as Azure SQL Data Warehouse)
- Azure HDInsight
- Azure Databricks
- Azure Data Lake Analytics
____________ (formerly Azure SQL Data Warehouse) is a limitless analytics service that brings together enterprise data warehousing and big data analytics. You can query data on your terms by using either serverless or provisioned resources at scale. You have a unified experience to ingest, prepare, manage, and serve data for immediate BI and machine learning needs.
Azure Synapse Analytics
____________ is a fully managed, open-source analytics service for enterprises. It’s a cloud service that makes it easier, faster, and more cost-effective to process massive amounts of data. You can run popular open-source frameworks and create cluster types such as Apache Spark, Apache Hadoop, Apache Kafka, Apache HBase, Apache Storm, and Machine Learning Services. ________ also supports a broad range of scenarios such as extraction, transformation, and loading (ETL), data warehousing, machine learning, and IoT.
Azure HDInsight
____________ helps you unlock insights from all your data and build artificial intelligence solutions. You can set up your Apache Spark environment in minutes, and then autoscale and collaborate on shared projects in an interactive workspace. ___________ supports Python, Scala, R, Java, and SQL, as well as data science frameworks and libraries including TensorFlow, PyTorch, and scikit-learn.
Azure Databricks
_____________ is an on-demand analytics job service that simplifies big data. Instead of deploying, configuring, and tuning hardware, you write queries to transform your data and extract valuable insights. The analytics service can handle jobs of any scale instantly by setting the dial for how much power you need. You only pay for your job when it’s running, making it more cost-effective.
Azure Data Lake Analytics
What are the two basic approaches to AI?
- Deep learning system
- modeled on the neural network of the human mind, enabling it to discover, learn, and grow through experience. - Machine learning
- a data science technique that uses existing data to train a model, test it, and then apply the model to new data to forecast future behaviors, outcomes, and trends.
What are the primary product offerings from Microsoft for AIs?
- Azure Machine Learning
- Azure Cognitive Services
- Azure Bot Service
What are the steps in building a Machine Learning System?
- Define a goal for the system (i.e. detect if a machine is in need of maintenance)
- Acquire Sample Data - must contain results correlated to the goal
Subsets of data
a. Training data - used for building the algorithm
b. Evaluation data - used to test the algorithm
- Choose a Model
- Generate an algorithm
- Test Algorithm - using evaluation data
- Deploy the system in live environment
____________ is a platform for making predictions. It consists of tools and services that allow you to connect to data to train and test models to find one that will most accurately predict a future result. After you’ve run experiments to test the model, you can deploy and use it in real time via a web API endpoint.
Azure Machine Learning
When will you choose Azure Machine Learning?
Choose Azure Machine Learning when your data scientists need complete control over the design and training of an algorithm using your own data.
Enumerate the capabilities of Azure Machine Learning
With Azure Machine Learning, you can:
Create a process that defines how to obtain data, how to handle missing or bad data, how to split the data into either a training set or test set, and deliver the data to the training process.
Train and evaluate predictive models by using tools and programming languages familiar to data scientists.
Create pipelines that define where and when to run the compute-intensive experiments that are required to score the algorithms based on the training and test data.
Deploy the best-performing algorithm as an API to an endpoint so it can be consumed in real time by other applications.
________________ provides prebuilt machine learning models that enable applications to see, hear, speak, understand, and even begin to reason. Use _______________ to solve general problems, such as analyzing text for emotional sentiment or analyzing images to recognize objects or faces. You don’t need special machine learning or data science knowledge to use these services. Developers access Azure Cognitive Services via APIs and can easily include these features in just a few lines of code
Azure Cognitive Services
What is the main difference between Azure Machine Learning and Azure Cognitive Services?
Azure Machine Learning requires you to bring you own data and train models over that data.
Azure Cognitive Services provides pretrained models so that you can bring in your live data to get predictions on.
What are the four categories of Azure Cognitive Services?
- Language services
- allow apps to process natural language with prebuilt scripts, evaluate sentiment, and learn how to recognize what users want. - Speech services
- convert speech into text and text into natural-sounding speech. Translate from one language to another and enable speaker verification and recognition - Vision services
- add recognition and identification capabilities when you’re analyzing pictures, videos, and other visual content. - Decision services
- add personalized recommendation for each user that automatically improve each time they’re used, moderate content to monitor and remove offensive or risky content, and detect abnormalities in your time series data.
_____________ and Bot Framework are platforms for creating virtual agents that understand and reply to questions just like a human. ____________ is a bit different from Azure Machine Learning and Azure Cognitive Services in that it has a specific use case. Namely, it creates a virtual agent that can intelligently communicate with humans. Behind the scenes, the bot you build uses other Azure services, such as Azure Cognitive Services, to understand what their human counterparts are asking for.
Azure Bot Service
What are the decision criteria in deciding which Azure AI service to use?
- Are you building a virtual agent that interfaces with humans via natural language? (Azure Bot Service)
- Do you need a service that can understand the content and meanings of images, video, or audio, or that can translate text into a different language? (Azure Cognitive Services)
- Do you need to predict user behavior or provide users with personalized recommendations in your app? (Azure Cognitive Services)
- Will your app predict future outcomes based on private historical data? (Azure Machine Learning)
- Do you need to build a model by using your own data or perform a different task than those listed above? (Azure Machine Learning)
A prebuilt, no-code solutions available from Azure Marketplace used to build, train, and publish a sophisticated bot that uses FAQ pages, support websites, product manuals, SharePoint documents, or editorial content through an easy-to-use UI or via REST APIs
QnA Maker
True or False: Azure Cognitive Services is general purpose, meaning that many different kinds of customers can benefit from the work that Microsoft has already done to train and test these models and offer them inexpensively at scale.
True.
Decision (AI services):
The Tailwind Traders e-commerce website allows its customers to browse and purchase items that can be delivered or picked up from a retail store nearest to their location.
The Marketing team is convinced that it can increase sales dramatically by suggesting add-on products that complement the items in a shopper’s cart at the point of checkout. The team could hard-code these suggestions, but it feels that a more organic approach would be to use its years’ worth of sales data as well as new shopping trends to decide what products to display to the shopper. Additionally, the suggestions could be influenced by product availability, product profitability, and other factors.
The Marketing team’s existing data science experts have already done some initial analysis of the problem domain, and have determined that its plan might take months to prototype, and possibly a year to roll out.
- Are you building a virtual agent that interfaces with humans via natural language? - No
- Do you need a service that can understand the content and meanings of images, video, or audio, or that can translate text into a different language?
- No - Do you need to predict user behavior or provide users with personalized recommendations in your app?
- Yes, but it is only part of the requirement - Will your app predict future outcomes based on private historical data?
- Yes
Best Decision:
Azure Machine Learning
Decision (AI services):
The first generation of the Tailwind Traders e-commerce website was available exclusively in English. However, when the Marketing team sponsored a demographics study for the company’s brick-and-mortar locations, it found that, on average, only 80 percent of potential customers speak English. In some neighborhoods, that number falls to 50 percent. The team sees the addition of multiple languages as a wonderful opportunity to serve non-English speakers with the same online e-commerce experience as English speakers.
- Are you building a virtual agent that interfaces with humans via natural language?
- No - Do you need a service that can understand the content and meanings of images, video, or audio, or that can translate text into a different language?
- Yes - Do you need to predict user behavior or provide users with personalized recommendations in your app?
- No - Will your app predict future outcomes based on private historical data?
- No
Best Decision:
Azure Cognitive Services
Decision (AI services)
The Customer Service team has long asked for a virtual agent to handle the vast majority of questions it gets asked. No matter how prominent it makes the answers to the most frequently asked questions on the website, shoppers are impatient and perceive contact in a chat window as saving them time.
The team wants shoppers to feel as though they’re interacting with a real human. When it becomes clear that the virtual agent can’t provide an answer, the chat session should be transferred to a human.
Providing a virtual agent would decrease the amount of time it takes for all shoppers to receive answers. The virtual agent could answer most questions, which would free up human customer service agents to provide support for more difficult questions or thorny account-related issues.
- Are you building a virtual agent that interfaces with humans via natural language?
- Yes - Do you need a service that can understand the content and meanings of images, video, or audio, or that can translate text into a different language?
- Yes - Do you need to predict user behavior or provide users with personalized recommendations in your app?
- No - Will your app predict future outcomes based on private historical data?
- No
Best Decision:
Azure Bot Services
_____________ is a cloud-hosted execution environment that runs your code but abstracts the underlying hosting environment.
Serverless computing
True or False:
Serverless computing means there is no server.
False.
The term serverless computing is a misnomer. After all, there is a server (or a group of servers) that executes your code or desired functionality.
The key idea is that you’re not responsible for setting up or maintaining the server. You don’t have to worry about scaling it when there’s increased demand, and you don’t have to worry about outages. The cloud vendor takes care of all maintenance and scaling concerns for you.
True or False:
Serverless computing is ordinarily used to handle back-end scenarios.
True
Serverless computing is responsible for sending messages from one system to another, or processing messages that were sent from other systems. It’s not used for user-facing systems but, rather, it works in the background.
Enumerate the two common Azure serverless computing services
- Azure Functions
2. Azure Logic Apps
____________ service, you can host a single method or function by using a popular programming language in the cloud that runs in response to an event.
Example of an event might be:
- HTTP request
- A new message on a queue
- A message on a timer
Azure Functions
True or False:
Because of its atomic nature, Azure Functions can serve many purposes in an application’s design. Functions can be written in many common programming languages, such as C#, Python, JavaScript, Typescript, Java, and PowerShell.
True
Define Azure Function’s stateless environment
A function behaves as if it’s restarted every time it responds to an event.
This feature is ideal for processing incoming data.
Azure Functions can perform orchestration tasks by using an extension called ___________, which allow developers to chain functions together while maintaining state.
Durable Functions
The __________ solution is ideal when you’re concerned only with the code that’s running your service and not the underlying platform or infrastructure.
Azure Functions
_________ is a low-code/no-code development platform hosted as a cloud service. The service helps you automate and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations. __________ simplifies how you design and build scalable solutions, whether in the cloud, on-premises, or both. This solution covers app integration, data integration, system integration, enterprise application integration (EAI), and business-to-business (B2B) integration.
Logic Apps
___________ is designed in a web-based designer and can execute logic that’s triggered by Azure services without writing any code. You build an app by linking triggers to actions with connectors.
Azure Logic Apps
Define a trigger (Azure Logic Apps)
A trigger is an event (such as a timer) that causes an app to execute, then a new message to be sent to a queue, or an HTTP request.