<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by PRATIKSHA GARKAR on Medium]]></title>
        <description><![CDATA[Stories by PRATIKSHA GARKAR on Medium]]></description>
        <link>https://medium.com/@pratiksha.garkar?source=rss-e3ae799e431------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UCCBcHIqq0UyaY_8MS19_w.jpeg</url>
            <title>Stories by PRATIKSHA GARKAR on Medium</title>
            <link>https://medium.com/@pratiksha.garkar?source=rss-e3ae799e431------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 06:00:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pratiksha.garkar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Crack Technical Interviews: Infosys(AI/ML Engineer)]]></title>
            <link>https://medium.com/@pratiksha.garkar/crack-technical-interviews-infosys-ai-ml-engineer-8ae864819505?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ae864819505</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[interview-questions]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Fri, 26 Jun 2026 08:01:02 GMT</pubDate>
            <atom:updated>2026-06-26T08:01:02.776Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I share commonly asked interview questions along with detailed answers, follow-up questions, and preparation tips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*tO-ypyZD_6m3fxuTdp_65w.png" /><figcaption>Interview Process</figcaption></figure><h4>About Infosys:</h4><p>Infosys is one of India’s largest IT service companies and frequently hires Software Engineers, Specialist Programmers, AI Engineers, Data Engineers, and Full Stack Developers.</p><ol><li><strong>What is Lambda Function?</strong><br>Lambda functions are anonymous functions that take any number of arguments but have only one expression. Lambda is an anonymous function used for short operations without defining a full function using def.</li></ol><pre>nums = [5,2,7,4,8,1]<br><br>result = sorted(nums, key=lambda x: x % 2)<br><br>print(result)</pre><p><strong>2. How to improve RAG response time?</strong><br>To improve RAG response time, I optimize chunking, use metadata filtering, cache embeddings and LLM responses, retrieve only the top relevant documents, use hybrid search with a fast vector database such as FAISS or Milvus, reduce the context window sent to the LLM, and implement asynchronous FastAPI endpoints with streaming responses. In production systems, caching and reducing retrieval scope usually provide the biggest latency improvements.</p><p><strong>3. How to use FastAPI with LLM?</strong><br>FastAPI is commonly used as the backend framework for serving Large Language Models (LLMs). It exposes REST APIs that receive user prompts, call an LLM, and return the generated responses.</p><p>Why FastAPI?<br>FastAPI is built on ASGI and supports asynchronous programming.<br><strong>Benefits:</strong></p><ul><li>Handles many concurrent requests</li><li>Low latency</li><li>Suitable for AI applications</li></ul><p>FastAPI acts as the API gateway between users and AI services. It receives requests, validates input, performs retrieval from vector databases if RAG is enabled, calls the LLM, and returns generated responses. It is commonly used because of its high performance, async support, and automatic API documentation.</p><p><strong>4. What is a Decorator in Python?</strong><br>Decorators take a function as input, add some extra functionality, and return a modified function without modifying the original function’s code. Using decorators, we can add functionality such as logging, authentication, caching, and timing without changing the original code.</p><pre>import time<br><br>def timer_deco(func):<br>    def wrapper():<br>        start = time.time()<br>        func()<br>        end = time.time()<br>        print(f&quot;Execution Time: {end-start:.4f} seconds&quot;)<br>    return wrapper<br><br><br>@timer_deco<br>def process():<br>    time.sleep(2)<br>    print(&quot;Processing completed&quot;)<br>process()</pre><p>Decorator Handling Dynamic Inputs</p><pre>import time<br># *args: Accepts any number of positional arguments.<br># **kwargs: Accepts any number of keyword arguments.<br>def timer_deco(func):<br>    def wrapper(*args, **kwargs):<br>        start = time.time()<br>        result = func(*args, **kwargs)<br>        end = time.time()<br>        print(f&quot;Execution Time: {end-start:.4f} seconds&quot;)<br>        return result<br>    return wrapper<br><br>@timer_deco<br>def add(a, b):<br>    return a + b<br><br>print(add(10, 20))</pre><p><strong>5. Flatten Dictionary Approach</strong></p><pre>data = {<br>    &quot;user&quot;: {<br>        &quot;name&quot;: &quot;John&quot;,<br>        &quot;age&quot;: 25<br>    }<br>}<br><br>result = {<br>    &quot;user_name&quot;: data[&quot;user&quot;][&quot;name&quot;],<br>    &quot;user_age&quot;: data[&quot;user&quot;][&quot;age&quot;]<br>}<br><br>print(result)</pre><p><strong>6. What is a Lambda Function?<br></strong>A <strong>lambda function</strong> is a small anonymous (unnamed) function in Python that can have any number of arguments but only one expression. A lambda function is an anonymous one-line function used for simple operations. It is commonly used with functions like sorted(), map(), filter(), and reduce().</p><pre><br>nums = [5, 2, 8, 1, 9]<br># Sort in Ascending Order<br>result = sorted(nums, key=lambda x: x)<br>print(result)<br><br># Sort in Descending Order<br>result = sorted(nums, key=lambda x: x, reverse=True)<br>print(result)</pre><p><strong>7. Sort Numbers with Even Numbers First</strong></p><pre>nums = [5, 2, 7, 4, 8, 1]<br>result = sorted(nums, key=lambda x: x % 2)<br>print(result)</pre><p><em>If this was useful, you can support me:<br></em>☕ <a href="https://coff.ee/pratikshagb">Buy Me a Coffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ae864819505" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crack Technical Interviews: PWC(AAD-L1)]]></title>
            <link>https://medium.com/@pratiksha.garkar/crack-technical-interviews-pwc-aad-l1-99c7724c30b8?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/99c7724c30b8</guid>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Fri, 19 Jun 2026 07:46:31 GMT</pubDate>
            <atom:updated>2026-06-26T05:56:59.739Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I have compiled commonly asked interview questions from interviews conducted at PWC Company for AI/ML Engineer and Senior Developer roles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*ijBEqgXXr8Dk8ADC6dRbHA.png" /></figure><h3>About PwC</h3><p>One of the Big Four consulting firms, PricewaterhouseCoopers (PwC) is investing increasingly in Artificial Intelligence, Machine Learning, Data Science, and Generative AI solutions for clients across industries.</p><p>In AI/ML Engineer roles, PwC looks for candidates who can combine technical expertise with business problem-solving skills.</p><ol><li><strong>Explain RAG and re-ranking in RAG?</strong><br><strong>RAG (Retrieval Augmented Generation)</strong> is a technique that combines information retrieval with an LLM. It retrieves relevant documents from knowledge base and provides them as context to the LLM before generating a response.<br><strong>Why RAG? </strong>Uses up-to-date information, Supports enterprise knowledge bases, Reduces hallucinations<br><strong>Re-ranking:</strong> After retrieving Top-K documents, a <strong>re-ranker</strong> reorders them based on semantic relevance. Vector search may retrieve documents that are similar but not the most relevant. Re-ranking improves accuracy before sending context to the LLM.</li><li><strong>What is a Dense Retriever?</strong><br>A Dense Retriever converts both queries and documents into dense vector embeddings and retrieves documents based on semantic similarity. Unlike keyword search, it understands the meaning of the query.</li><li><strong>Write code for number is prime number or not?</strong></li></ol><pre>num = 17<br><br>if num &lt;= 1:<br>    print(&quot;Not Prime&quot;)<br>else:<br>    for i in range(2, num):<br>        if num % i == 0:<br>            print(&quot;Not Prime&quot;)<br>            break<br>    else:<br>        print(&quot;Prime&quot;)</pre><p><strong>4. Code for string is palindrome or not?</strong></p><pre>text = &quot;madam&quot;<br><br>if text == text[::-1]:<br>    print(&quot;Palindrome&quot;)<br>else:<br>    print(&quot;Not Palindrome&quot;)</pre><p><strong>5. Explain Underfitting and Overfitting?<br>Underfitting </strong>occurs when the model fails to learn important patterns. It performs poorly on both training and testing data. Underfitting happens due to:</p><ul><li>The model is too simple</li><li>Very high regularity.</li><li>Features are weak or missing</li><li>Not enough training</li><li>High bias</li></ul><blockquote>Underfitting = High Bias + Low Variance</blockquote><p><strong>Overfitting</strong> occurs when the model learns too much from the training data, including noise and outliers. On training data, it performs very well, but on test data, it performs poorly. Overfitting happens due to:</p><ul><li>Model is too complex</li><li>Too many features</li><li>Very little data</li><li>No regularization</li><li>High variance</li></ul><blockquote>Overfitting = Low Bias + High Variance</blockquote><p><strong>6. Explain KV Cache?</strong></p><p>The Key-Value Cache (KVC) is an optimization technique used to speed up and improve LLMs during inference (text generation). LLMs use the Transformer architecture, which relies on <strong>Self-Attention</strong>.</p><p>When generating text, the model produces tokens one at a time. KV Cache prevents the model from recalculating attention for all previous tokens at every new token generation step.</p><p><strong>Key Observation</strong></p><p>One thing I noticed was that interviewers repeatedly asked follow-up questions about my resume projects. They were interested in understanding what I personally implemented rather than what the team delivered.</p><p><strong>Final Tips</strong></p><ol><li>Know every line of your resume.</li><li>Be able to explain your ML models end-to-end.</li><li>Prepare SQL fundamentals.</li><li>Revise GenAI concepts such as RAG and embeddings.</li><li>Focus on business impact, not just model accuracy.</li></ol><p><em>If this was useful, you can support me:<br></em>☕ <a href="https://coff.ee/pratikshagb">Buy Me a Coffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99c7724c30b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LangGraph Deep Dive: Essential Concepts Explained]]></title>
            <link>https://medium.com/@pratiksha.garkar/langgraph-deep-dive-essential-concepts-explained-e11d8d4e1872?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/e11d8d4e1872</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 07:41:00 GMT</pubDate>
            <atom:updated>2026-02-13T07:41:00.715Z</atom:updated>
            <content:encoded><![CDATA[<p>You will learn practical patterns you can actually use in enterprise systems in this article, which goes from fundamentals to production-grade LangGraph architecture.</p><h4>LangGraph:</h4><p>LangGraph is a <strong>framework for building structured, multi-step, agentic workflows on top of LLMs</strong>. With LangGraph, you get durable execution, streaming, human-in-the-loop, and many other capabilities that are important for agent orchestration.</p><p>Before using LangGraph, we recommend you familiarize yourself with some of the components used to build agents, starting with models and tools.</p><h4>Models:</h4><p>LLMs are powerful AI tools that can interpret and generate text like humans. They can write content, translate languages, summarize, and answer questions without specialized training. Models are the reasoning engine of agents.<br><strong>Models can be utilized in two ways:</strong></p><ol><li><strong>With agents</strong> — An agent can be configured with dynamic models.</li><li><strong>Standalone</strong> — Models can be called directly (outside the agent loop) for tasks like text generation, classification, or extraction.</li></ol><p><strong>Methods:</strong><br><strong>1. invoke():</strong> The most straightforward way to call a model is to use invoke() with a single message or a list of messages.<br><strong>2. stream():</strong> Most models can stream their output content while it is being generated. Stream() returns an iterator that yields output chunks as they are created. Each chunk can be processed in real-time using a loop.<br><strong>3. batch():</strong> Parallel processing of a collection of independent requests can significantly improve performance and reduce costs.</p><h4>Agents:</h4><p>Agents conduct a collaborative process, combining language models and tools in order to create systems that are capable of reasoning about tasks, selecting the appropriate tools, and iterating toward solutions. create_agent provides a production-ready agent implementation.</p><p><strong>Agent Node VS Tool Node: </strong>A Node Agent runs an LLM (like GPT) with reasoning capabilities. The Tool Node executes the tools requested by the agent. There is no thinking or reasoning involved.<br><strong>Rule of thumb: </strong>If logic does not require reasoning, make it a tool.</p><h4>Tools:</h4><p>A tool extends the capabilities of an agent, allowing it to fetch real-time data, execute code, query external databases, and take global action.</p><p>Essentially, tools are callable functions with well-defined inputs and outputs that get passed to a chat model. The model decides when to invoke a tool based on the conversation context, and what input arguments to provide.<br><strong>Basic tool definition:</strong> The simplest way to create a tool is with the @tool decorator. The function’s docstring becomes the tool’s description, so the model knows when to use it.</p><pre>from langchain.tools import tool<br><br>@tool<br><br>def search_database(query: str, limit: int = 10) -&gt; str:<br><br>    &quot;&quot;&quot;Search the customer database for records matching the query.<br><br>    Args:<br><br>        query: Search terms to look for<br><br>        limit: Maximum number of results to return<br><br>    &quot;&quot;&quot;<br><br>    return f&quot;Found {limit} results for &#39;{query}&#39;&quot;</pre><pre># Custom tool name<br><br># By default, the tool name comes from the function name. Override it when you need something more descriptive.<br><br>@tool(&quot;web_search&quot;)  # Custom name<br><br>def search(query: str) -&gt; str:<br><br>    &quot;&quot;&quot;Search the web for information.&quot;&quot;&quot;<br><br>    return f&quot;Results for: {query}&quot;<br><br>print(search.name)  # web_search</pre><pre># Custom tool description<br># Override the auto-generated tool description for clearer model guidance. <br>@tool(&quot;calculator&quot;, description=&quot;Performs arithmetic calculations. Use this for any math problems.&quot;)<br><br>def calc(expression: str) -&gt; str:<br><br>    &quot;&quot;&quot;Evaluate mathematical expressions.&quot;&quot;&quot;<br><br>    return str(eval(expression))</pre><h4>State Shared Memory:</h4><p>The state is the single source of truth passed between nodes.</p><pre>from typing import TypedDict, List <br><br>class AgentState(TypedDict): <br>  query: str <br>  description: str<br>  summary: str<br>  status: str<br>  score: float</pre><p>Key rules:</p><ul><li>State is immutable per node</li><li>Nodes must return an updated state</li><li>Poor state design = unstable graph</li></ul><h4>Nodes controlled mutations:</h4><p>Nodes are nothing more than functions that read state and return updated state.</p><p><strong>Example:</strong> Scenario generation agent</p><pre>def description_agent(state: AgentState): <br>  description= llm.invoke( f&quot;Generate test scenarios for: {state[&#39;query&#39;]}&quot; ) <br>  return { **state, &quot;description&quot;: description}</pre><p>Good nodes:</p><ul><li>Do one job</li><li>Avoid side effects</li><li>Modify only the relevant fields</li></ul><h4>Edge execution control:</h4><p>The edges determine what runs next.</p><pre>workflow.add_edge(&quot;description_agent&quot;, &quot;summary_agent&quot;)<br># Conditional edge (where LangGraph shines)<br>def route_based_on_score(state): <br>  if state[&quot;score&quot;] &lt; 0.7: <br>      return &quot;retry&quot; <br>  return &quot;approve&quot;<br><br>  workflow.add_conditional_edges( <br>  &quot;evaluate&quot;, <br>  route_based_on_score, <br>  { <br>    &quot;retry&quot;: &quot;description_agent&quot;, <br>    &quot;approve&quot;: END <br>  } <br>)</pre><p><strong>This enables:</strong></p><ul><li>Self-correction</li><li>Quality gates</li><li>Retry loops</li><li>Human-in-the-loop workflows</li></ul><h4>Supervisor vs Non-Supervisor Graphs:</h4><p>A <strong>Supervisor Graph</strong> places a coordinating agent (the supervisor) above other agents and nodes to orchestrate task breakdown, retries, routing, and recovery. <br>A <strong>Non-Supervisor Graph</strong> is a flat design where agents and tools are wired directly together in a sequence or peer graph before each step is responsible only for its own logic and for handing state to the next step.</p><p><strong>Use a Supervisor Graph when:</strong></p><ol><li>The problem needs orchestration.</li><li>You require retries, alternate strategies, or fallback plans.</li><li>You want a central place to aggregate and validate outputs.</li></ol><p><strong>Use a Non-Supervisor Graph when:</strong></p><ol><li>Pipeline is straightforward and mostly linear.</li><li>Latency must be low and centralized decision-making would add overhead.</li><li>You prefer simplicity and easier local reasoning per node.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K0518HPZMNgrXt-7bLparg.png" /></figure><h4>Memory in Agent Systems: Short-Term vs Long-Term</h4><p><strong>Short Term Memory:</strong> Short-term memory (working memory) holds transient context during a single graph run or conversation and is discarded at the end of that execution.</p><ul><li><strong>What it is: </strong>A state used during an execution (e.g., current state, messages, intermediate outputs).</li><li><strong>Where it lives:</strong> Process memory, runtime state object, or ephemeral session storage.</li><li><strong>Lifetime:</strong> Single run / session. Cleared at the end of execution.</li><li><strong>Purpose:</strong> Maintain local context, pass information between nodes, support multi-step reasoning within a run.</li></ul><pre>class AgentState(TypedDict): <br>  query: str</pre><p><strong>Long Term Menory: </strong>Long-term memory recognizes useful artifacts across runs (user preferences, past results, learned heuristics) and is stored in durable storage (databases, vector stores) for retrieval and reuse.</p><ul><li><strong>What it is:</strong> Durable storage of facts, examples, user preferences, historical outputs, or summaries that should survive across runs.</li><li><strong>Where it lives:</strong> Relational DB, key-value store, file store, or vector database (for semantic retrieval).</li><li><strong>Lifetime:</strong> Persistent across runs (days, months, years).</li><li><strong>Purpose:</strong> Provide background knowledge, personalization, improve future decisions, enable retrieval-augmented generation (RAG).</li></ul><h4>LangGraph: When to Use It and When Not to Use It:</h4><p>LangGraph orchestrates multi-step, multi-agent LLM workflows with a clear control flow, retries, and tool integration. You shouldn’t use it if the task is a simple deterministic pipeline, requires no LLM unpredictability, or when orchestration overhead is more significant than benefit.</p><p><strong>When should you use LangGraph</strong></p><ul><li><strong>Multi-agent orchestration</strong>: Coordinating several specialized agents (evaluation, generation, validation) is required.</li><li><strong>Complex control flow</strong>: retries, fallback strategies, or conditional steps are needed.</li><li><strong>Tool-heavy workflows</strong>: frequent tool calls (search, DB, code execution, evaluation) with the need for structured tool-call handling and safety.</li><li><strong>Explainability &amp; audit</strong>: You need traces of decisions, provenance, and a single place to enforce policies.</li><li><strong>Supervisor pattern:</strong> You want a central coordinator that decomposes tasks &amp; enforces global constraints (budgets, deadlines, quotas).</li></ul><p><strong>When should you not use LangGraph</strong></p><ul><li><strong>Single-pass transformations:</strong> simple ETL like pipelines, pure data transformations, or static templating where a plain function or script is light.</li><li><strong>Ultra-low latency requirements</strong>: if orchestration overhead and possible multiple LLM calls add unacceptable latency.</li><li><strong>Strict determinism</strong>: nondeterministic LLMs are not tolerated, and every output must be cryptographically reproducible.</li><li><strong>Very small utility scripts</strong>: tiny automations where introducing graph abstractions adds needless complexity.</li></ul><h4>Conclusion:</h4><p>LangGraph gives you a principled way to turn LLM reasoning into reliable software: <strong>Agent nodes</strong> handle thinking and decisions, <strong>Tool nodes</strong> execute deterministic work, <strong>short-term memory</strong> carries run-local context, and <strong>long-term memory</strong> stores persistent knowledge that makes future runs smarter.</p><p>If you follow these guidelines you’ll get the best of both worlds: the flexibility of agentic workflows without sacrificing reliability, debugging ability, or performance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e11d8d4e1872" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A practical walkthrough (code + architecture) of a tiny agentic workflow.]]></title>
            <link>https://medium.com/@pratiksha.garkar/a-practical-walkthrough-code-architecture-of-a-tiny-agentic-workflow-c4833c7d9f0e?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4833c7d9f0e</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[study]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 11:32:56 GMT</pubDate>
            <atom:updated>2025-12-19T11:32:56.347Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Diagram generated using GPT" src="https://cdn-images-1.medium.com/max/1024/1*qWZM59mc4pwQQjz7Ut-E7Q.png" /></figure><p>AI has developed from simple prompt-response systems to agentic workflow systems, where multiple AI components collaborate, reason step-by-step, and produce structured, high-quality output.</p><p>I built a small, agentic workflow that uses LangGraph, LangChain, and FastAPI to return focused insights. I’ll show you the exact graph, the FastAPI endpoint to run it, and what the output looks like.</p><p>This project is intentionally simple, yet powerful enough to demonstrate real-world agent orchestration.</p><h4><strong>What Is an Agentic AI Workflow?</strong></h4><p>An <strong>Agentic AI workflow</strong> is a system where:<br>- Tasks are broken down into <strong>logical steps.<br>- </strong>Each step is handled by a dedicated <strong>agent (node).<br>- </strong>Agents pass a structured state to each other.<br>- Execution follows a <strong>directed graph</strong>, not a linear chain</p><p>Instead of one large prompt doing everything, agents <em>collaborate</em>.<br>In our case,<br>- One agent <strong>researches </strong>for the query.<br>- Another agent <strong>summarizes</strong> the insights.</p><h4>Tech Stack Used</h4><p>Here’s the stack that powers this workflow:</p><ul><li><strong>LangGraph — Defines and executes agent workflows as graphs.</strong></li><li><strong>LangChain</strong> — Manages prompts and interacts with LLMs.</li><li><strong>FastAPI</strong> — A production-ready API for the workflow.</li><li><strong>LLM (OpenAI)</strong> — For reasoning and generation.</li></ul><p>In order to build scalable and modular AI systems, this combination is ideal.</p><h4>High-level workflow design</h4><p>The graph is intentionally minimal to keep things beginner-friendly. Each node is a <strong>self-contained agent</strong> with a single responsibility.</p><h4>Graph Structure</h4><ul><li>Research ➜ Summary ➜ END</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XJlav2ueyrkEDXuJzRvpMQ.png" /><figcaption>Diagram generated using GPT</figcaption></figure><h4>Understanding Each Agent</h4><h4>1️⃣ Research agent:</h4><p><strong>Responsibility:</strong></p><ul><li>Understand the user’s query.</li><li>Generate detailed insights or reasoning.</li><li>This agent performs heavy thinking.</li></ul><p><strong>Example input:</strong></p><pre>{<br>&quot;query&quot;: &quot;Generate two test scenarios for UPI payment failure&quot;<br>}</pre><h4>2️⃣ Summary Agent</h4><p><strong>Responsibility:</strong></p><ul><li>Take raw insights</li><li>Convert them into a concise, structured summary</li></ul><blockquote>This mirrors how humans work: think deeply first, summarize later.</blockquote><h4>🔁 End-to-End API Flow (FastAPI)</h4><p>Your FastAPI endpoint might look like this conceptually:</p><ol><li>User sent a query.</li><li>FastAPI invokes the LangGraph workflow.</li><li>Research agents generate insights.</li><li>Summary: Agents summarize them.</li><li>Final structure response is returned.</li></ol><h4>📤 Sample API Output</h4><pre>{<br>    &quot;status&quot;: &quot;success&quot;,<br>    &quot;topic&quot;: &quot;Explain the future of Generative AI in healthcare&quot;,<br>    &quot;insights&quot;: &quot;The future of Generative AI in healthcare is poised to be transformative, with several key insights emerging from current trends and research:\n\n1. **Personalized Medicine**: Generative AI can analyze vast amounts of patient data to create personalized treatment plans. By generating tailored drug formulations or predicting individual responses to treatments, it can enhance the efficacy of therapies and reduce adverse effects.\n\n2. **Drug Discovery and Development**: Generative AI models can simulate molecular interactions and predict the efficacy of new compounds, significantly speeding up the drug discovery process. This can lead to the identification of novel drug candidates and reduce the time and cost associated with bringing new drugs to market.\n\n3. **Medical Imaging and Diagnostics**: AI algorithms can generate high-quality images from lower-quality inputs, improving diagnostic accuracy. Generative models can also assist in anomaly detection, helping radiologists identify conditions like tumors or fractures more effectively.\n\n4. **Clinical Decision Support**: Generative AI can synthesize information from various sources, including electronic health records (EHRs), clinical guidelines, and research literature, to provide real-time decision support for healthcare professionals. This can enhance clinical workflows and improve patient outcomes.\n\n5. **Patient Engagement and Education**: AI-generated content can be used to create personalized educational materials for patients, helping them understand their conditions and treatment options better. This can lead to improved adherence to treatment plans and better health outcomes.\n\n6. **Telemedicine and Virtual Health Assistants**: Generative AI can power virtual health assistants that provide patients with real-time information and support. These assistants can answer questions, schedule appointments, and even provide preliminary assessments based on patient-reported symptoms.\n\n7. **Ethical and Regulatory Considerations**: As generative AI becomes more integrated into healthcare, ethical concerns regarding data privacy, bias in AI models, and the transparency of AI-generated recommendations will need to be addressed. Regulatory frameworks will also need to evolve to ensure the safe and effective use of AI technologies.\n\n8. **Integration with Existing Systems**: For generative AI to be effective, it must be integrated with existing healthcare systems, such as EHRs and clinical workflows. This requires collaboration between AI developers and healthcare providers to ensure seamless implementation.\n\n9. **Training and Workforce Development**: The adoption of generative AI in healthcare will necessitate training for healthcare professionals to understand and effectively use these technologies. This includes not only technical training but also education on the ethical implications of AI in clinical practice.\n\n10. **Research and Collaboration**: Ongoing research and collaboration between AI experts, healthcare providers, and regulatory bodies will be crucial to advancing the capabilities of generative AI in healthcare. This will help ensure that innovations are grounded in clinical relevance and patient safety.\n\nIn summary, the future of generative AI in healthcare holds great promise for enhancing patient care, improving operational efficiencies, and driving innovation in medical research. However, careful consideration of ethical, regulatory, and practical challenges will be essential for its successful implementation.&quot;,<br>    &quot;summary&quot;: &quot;- **Transformative Applications**: Generative AI is set to revolutionize healthcare through personalized medicine, accelerated drug discovery, improved medical imaging, and enhanced clinical decision support, ultimately leading to better patient outcomes.\n\n- **Patient Engagement and Support**: AI-generated content can facilitate personalized patient education and support through virtual health assistants, improving treatment adherence and overall health management.\n\n- **Ethical and Integration Challenges**: Successful implementation of generative AI in healthcare will require addressing ethical concerns, ensuring integration with existing systems, and providing training for healthcare professionals, alongside ongoing research and collaboration among stakeholders.&quot;<br>}</pre><p>This structure is <strong>front-end-friendly,</strong> <strong>API-ready</strong>, and <strong>extensible</strong>.</p><h4>🔮 How You Can Extend This Workflow</h4><p>This setup can be easily extended once readers understand it.</p><ul><li>➕ Add a <strong>Validation Agent.</strong></li><li>➕ Add a <strong>Reviewer Agent.</strong></li><li>➕ Convert agents into <strong>LangGraph tools.</strong></li><li>➕ Add memory (Redis / Vector DB).</li><li>➕ Stream the responses to the frontend.</li></ul><h4>🎯 Final thoughts</h4><p>Building this agentic AI workflow was a turning point in my AI journey. By combining <strong>LangGraph for orchestration</strong>, <strong>LangChain for LLM interaction</strong>, and <strong>FastAPI for production readiness</strong>, this project demonstrates how even a simple two-agent graph can model real-world problem solving. Agentic AI’s strength lies not in complexity, but in clarity of responsibility, modularity, and extensibility.</p><p>If you’re starting your own Agentic AI journey, I encourage you to experiment with small graphs like this one. Once you understand how agents communicate and evolve states, you will unlock a new way of thinking about AI application design. As we move forward, I look forward to building, learning, and sharing what comes next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4833c7d9f0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Must know AI & LLM MCQs for beginners: part 2]]></title>
            <link>https://medium.com/@pratiksha.garkar/must-know-ai-llm-mcqs-for-beginners-part-2-e93691b67d29?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/e93691b67d29</guid>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 12:17:38 GMT</pubDate>
            <atom:updated>2025-11-16T11:41:28.550Z</atom:updated>
            <content:encoded><![CDATA[<h4>Artificial Intelligence and Large Language Models (LLMs) like GPT, Claude, and Llama have become the talk of the tech world. But how well do we really understand what’s going on under the hood?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6uqPXGTkwVgtO6qa1cCmxA.png" /></figure><p><strong>1. Some APIs allow you to access the log-probabilities of the generated tokens. What can you infer if a generated token has a very high probability score?</strong></p><p><strong>A)</strong> The information is guaranteed to be factually correct. <br><strong>B)</strong> The model was very “confident” in its choice for that token. <br>✅<strong> C) The token is very common in the English language. </strong><br><strong>D)</strong> The temperature setting was likely set to a high value.</p><p><strong>Explanation:</strong> A high probability score means the model was confident in its token choice, not that it’s necessarily correct.</p><p><strong>2. You fine-tune Llama 3 on a dataset of Socratic dialogues to make it a better tutor. When you then try to use it for JSON generation, it fails miserably. Why might a PEFT method like LoRA have prevented this?</strong></p><p><strong>A)</strong> LoRA adds more general knowledge to the model during training. <br><strong>B)</strong> LoRA trains faster, so there’s less time to forget old skills. <br><strong>C)</strong> LoRA keeps the original base model weights frozen and separate. <br>✅ <strong>D) LoRA automatically backs up the model before starting a job.</strong></p><p><strong>Explanation:</strong> LoRA (Low-Rank Adaptation) keeps base model weights frozen, preventing catastrophic forgetting during fine-tuning.</p><p><strong>3. Why are LLM hallucinations often so believable to human users?</strong></p><p><strong>A)</strong> Because they are always partially true.<br><strong>B)</strong> Because they are written with confident, fluent, and coherent language. ✅<strong>C)</strong> <strong>Because the model intentionally tries to deceive the user.</strong><br><strong>D)</strong> Because they are drawn from a hidden database of secret facts.</p><p><strong>Explanation: </strong>LLMs generate text that <em>sounds</em> confident and coherent, even when incorrect, making hallucinations convincing.</p><p><strong>4. Identifying nouns, verbs, and adjectives in a sentence is called:</strong></p><p><strong>A)</strong> Named Entity Recognition<br><strong>B)</strong> Lemmatization<br><strong>C) </strong>Stemming<br>✅<strong>D) Part-of-Speech (POS) Tagging</strong></p><p><strong>Explanation: </strong>POS tagging assigns grammatical labels (noun, verb, adjective, etc.) to each word — a core NLP preprocessing task.</p><p><strong>5. What is the “ReAct” (Reason and Act) prompting framework?</strong></p><p><strong>A)</strong> A method for making the model respond more emotionally.<br> B<strong>)</strong> A technique for retrieving information from a vector database.<br> ✅ <strong>C) A framework that interleaves reasoning traces and taking actions.</strong><br> D<strong>)</strong> A way to fine-tune a model for better conversational skills.</p><p><strong>Explanation:</strong><br> ReAct short for <strong>Reason + Act</strong> is a prompting framework that allows an AI model to both <strong>think and act</strong>. Instead of passively generating text, the model alternates between reasoning steps (why it’s doing something) and actions (executing an API call, searching, etc.).</p><p><strong>6. What is a primary reason to use a “GraphRAG” approach, which uses a knowledge graph alongside a vector database?</strong></p><p>A<strong>)</strong> It is significantly faster than using a vector database alone.<br> ✅ <strong>B) It allows the RAG system to understand explicit relationships between entities.</strong><br> C<strong>) </strong>It eliminates the need for a Large Language Model.<br> D<strong>)</strong> It is much cheaper to maintain.</p><p><strong>Explanation: </strong>While traditional <strong>RAG (Retrieval-Augmented Generation)</strong> retrieves data using embeddings and similarity, <strong>GraphRAG</strong> combines it with a <strong>Knowledge Graph </strong>enabling structured understanding of how entities relate.</p><p><strong>7. An AI adds detailed comments to complex code but not to simple code. Why?</strong></p><p>A<strong>)</strong> A feature designed to save tokens.<br> ✅ <strong>B) A bias from its training data.</strong><br> C<strong>) </strong>An inability to understand CRUD.<br> D<strong>)</strong> A random commenting style.</p><p><strong>Explanation: A</strong>I models learn from public codebases like GitHub. In these, <strong>complex functions</strong> usually have detailed comments, while <strong>simple ones don’t</strong>. Hence, the model <em>learns this bias</em> and reproduces it. A perfect example of <strong>how training data influences AI behavior</strong></p><p><strong>8. Best way to cut costs for analyzing verbose call transcripts?</strong></p><p>A<strong>)</strong> Run a spell-checker first.<br>B<strong>)</strong> Convert all text to lowercase.<br>✅ <strong>C) Use a small model to pre-clean.</strong><br>D<strong>)</strong> Compress the raw text with zip.</p><p><strong>Explanation: </strong>This is known as the <strong>Model Cascade</strong> approach using a <strong>small, cheap model</strong> to do the first cleaning or summarization pass.<br> It removes filler words (“um,” “you know”) before sending concise data to a larger model. The result: <strong>faster performance and reduced LLM cost</strong>.</p><p><strong>9. Why might “Glimmerflux” cost more tokens than “Shimmerflux”?</strong></p><p>A) The letter “G” is rare<br>✅<strong>B) “Glimmer” is less common<br></strong>C) One string is longer<br>D) It’s a random cost difference</p><p><strong>Explanation:</strong> LLMs <strong>break words into smaller subwords</strong> based on what they have seen during training.<br>If a word (or part of a word) is rare, the tokenizer must break it into more pieces.</p><ul><li><strong>“Shimmer”</strong> → common → may be a single token</li><li><strong>“Glimmer”</strong> → less common → may be split as <em>Glim + mer</em></li></ul><p>More splits = more tokens = more cost.<br>This is why <em>Glimmerflux</em> may use more tokens than <em>Shimmerflux</em> even though the words look similar.</p><p>10. <strong>Does the model’s system prompt consume tokens?</strong></p><p>A) No, it is separate metadata<br>✅<strong>B) Yes, it’s prepended to input <br></strong>C) Only if it’s over 100 tokens<br>D) Only on free API plans</p><p><strong>Explanation:</strong> When you send a request to an LLM, the API automatically prepends the <strong>system message</strong>, which defines rules, persona, and behavior.</p><p><strong>11. If an LLM gives different answers to the same prompt, what’s the cause?</strong></p><p>A) A bug in the API<br><strong>B) A non-zero temperature <br></strong>C) The model learns in real-time<br>D0 Time of day affected it</p><p><strong>Explanation: </strong>Temperature controls randomness:<br><strong>Temperature = 0</strong> → deterministic → same output every time<br><strong>Temperature &gt; 0</strong> → creative → multiple possible outputs<br>This is why creative chatbots sometimes answer differently even with identical inputs.</p><p><strong>12. How does a vector database find documents about “Java” but not “JavaScript”?</strong></p><p><strong>A) By finding vectors close to “Java” and far from “JavaScript.” <br></strong>B) Impossible with vector search<br>C) Using a NOT operator<br>D) Subtracting vectors</p><p><strong>Explanation: </strong>Vector databases work on <strong>semantic similarity</strong>, not keywords.</p><h4>These questions might look simple, but together they reveal the essence of how modern AI systems think, learn, and sometimes make mistakes. From understanding probabilities and fine-tuning to avoiding hallucinations and mastering NLP basics.</h4><h4><em>Want more bite-sized AI learning?</em><br>Follow me for weekly explainers and interactive quizzes on Machine Learning, NLP, and Generative AI.</h4><p><strong>If you found this helpful, </strong><a href="https://coff.ee/pratikshagb"><strong>You can Buy me a coffee</strong></a><strong> and follow me for more posts like this!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e93691b67d29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI, ML, Generative AI, and Agentic AI: explained in one article]]></title>
            <link>https://medium.com/@pratiksha.garkar/ai-ml-generative-ai-and-agentic-ai-explained-in-one-article-da7528d203e0?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/da7528d203e0</guid>
            <category><![CDATA[concepts-for-beginners]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Wed, 05 Nov 2025 13:02:09 GMT</pubDate>
            <atom:updated>2025-11-05T13:02:09.647Z</atom:updated>
            <content:encoded><![CDATA[<h4>From basic rule-based systems to autonomous agents with the ability to think, act, and develop over time, artificial intelligence (AI) has come a long way. Frameworks like LangChain and LangGraph are revolutionizing the way developers create intelligent systems in this age of generative and agentic AI.</h4><h4>However, words like AI, Machine Learning, Deep Learning, Generative AI, Agentic AI, LangChain, and LangGraph are frequently used interchangeably in this rapidly evolving field, which causes confusion.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E7gAmzm0tlqQJdL0gn0dDA.png" /><figcaption>Generated by GPT</figcaption></figure><h4>Why people confuse terms like AI, ML, and GenAI?</h4><p>Because AI, ML, and GenAI are closely related, overlap, and their differences aren’t always visible in practical applications, people frequently mix them up.</p><p><strong>1.AI(Artificial Intelligence): </strong>The goal of artificial intelligence is to build machines that are capable of carrying out tasks that typically require human intelligence.</p><p><strong>Includes:</strong><br>Rule-based systems<br>Machine learning (ML)<br>Deep learning (DL)<br>Generative AI, Agentic AI, etc.</p><p><strong>Example:</strong><br>A chatbot that follows pre-defined rules or an ML model that predicts sales.</p><p><strong>2. ML (machine learning):</strong> A branch of artificial intelligence in which systems are not explicitly programmed but instead learn patterns from data.</p><p><strong>Includes</strong>:<br>Supervised Learning (Classification, Regression)<br>Unsupervised Learning (Clustering)<br>Reinforcement Learning</p><p><strong>Example: </strong>A model that uses past data to forecast vehicle values.</p><p><strong>3. Deep Learning (DL): </strong>A branch of machine learning that models intricate interactions using neural networks, particularly multi-layered ones. This is where things become “intelligent”; deep learning is the foundation of contemporary computer vision, language modeling, and speech recognition.</p><p><strong>Includes:<br></strong>CNNs (Computer Vision)<br>RNNs, LSTMs (Sequence modeling)<br>Transformers (used in LLMs)</p><p><strong>Example: </strong>image recognition, speech recognition.</p><p><strong>4. Generative AI (GenAI): GenAI </strong>is a kind of AI that can produce new content, such as text, images, audio, or code, based on learnt patterns. It is typically constructed using LLMs or diffusion models. Built on Deep Learning using Transformer architecture.</p><p><strong>Includes:</strong><br>Large Language Models (LLMs) like GPT, Claude, Gemini<br>Diffusion models (like Stable Diffusion for images)</p><p><strong>Example:</strong><br>DALL·E generating images, GPT-4 generating essays or a code generator.</p><p><strong>5. Agentic AI (AI Agents): </strong>Beyond only creating material, agentic AI systems can use tools, memory, and feedback loops to plan, reason, act, and make decisions. To carry out multi-step workflows, they integrate LLM reasoning, memory, goal-oriented planning, and tool utilization (APIs, code execution).</p><p><strong>Includes</strong>:<br>LLM-based reasoning (thinking through a problem)<br>Tool use (e.g., call APIs, run Python, access databases)<br>Memory (store and recall past information)<br>Autonomy (execute multi-step goals)</p><p><strong>Example: A</strong>n AI that can automatically read documents, query databases, create summaries, and send emails.</p><p><strong>6. LangChain:</strong> A framework for building LLM-based applications with components.</p><p><strong>Includes</strong>: <br>Prompts, Chains, Agents, Tools, Memory and Vector Stores.</p><p>Example: A chatbot that uses LangChain to connect GPT-4 with a database and a vector store for RAG.</p><p><strong>7. LangGraph:</strong> An expansion and development of LangChain with an emphasis on <strong>Agentic systems and graph-based, stateful workflows</strong>. Makes use of a graph structure, where <strong>edges represent transitions</strong> and <strong>nodes represent steps or agents</strong>. Supports <strong>conditional branching and looping</strong> and <strong>manages multi-agent cooperation</strong>. It increases the dependability and traceability of agent orchestration.</p><p><strong>Example:</strong> A LangGraph workflow where: <br>Supervisor Agent → calls Extraction Agent → then Report Generator → then Email Agent.</p><p><strong>8. Vector Database (used in RAG systems): </strong>A database designed to store and retrieve high-dimensional <strong>embeddings</strong> (numerical representations of text/images).</p><p><strong>Common Tools:</strong><br>Pinecone, Cosmos, FAISS, Chroma, Milvus.</p><p><strong>9. RAG (Retrieval Augmented Generation): </strong>Architecture combining <strong>LLMs and vector search</strong> to answer questions using factual, external data. Retrieve contextually similar documents to enhance LLM answers (RAG: Retrieval Augmented Generation).</p><p><strong>Flow:</strong> Convert documents into embeddings (vectors) → Store them in a vector database<strong> </strong>→ Query → Vector DB → Retrieve similar documents Feed docs + query into LLM Generate grounded, context-aware response</p><p><strong>Summary:</strong> AI that learns has evolved into AI that creates, and now AI that acts. A new era of <strong>Agentic AI,</strong> intelligent systems that can reason, remember, and function on their own , is heralded by the merger of<strong> LLMs, LangChain, LangGraph, and RAG systems.</strong></p><p><strong>If you found this helpful, </strong><a href="https://coff.ee/pratikshagb"><strong>You can Buy me a coffee</strong></a><strong> and follow me for more posts like this!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da7528d203e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Must know AI & LLM MCQs for beginners: part 1]]></title>
            <link>https://medium.com/@pratiksha.garkar/must-know-ai-llm-mcqs-for-beginners-33855be3529e?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/33855be3529e</guid>
            <category><![CDATA[job-interview]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-concept]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 07:03:28 GMT</pubDate>
            <atom:updated>2025-11-06T07:14:42.532Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6uqPXGTkwVgtO6qa1cCmxA.png" /><figcaption>Generated by GPT</figcaption></figure><p>This article will examine multiple-choice questions (MCQs) and provide a succinct, understandable explanation for each. Anyone venturing into the realm of contemporary AI must grasp the fundamentals of Large Language Models (LLMs) and AI ethics. These examples will improve your comprehension, whether you’re learning prompt engineering or getting ready for certifications like Azure AI-900 and Google Cloud AI Essentials.</p><p><strong>1. Why shouldn’t you use both temperature and top_p together when generating text with an LLM?</strong></p><p><strong>A.</strong> It will cause the API to return a validation error.<br><strong>B.</strong> There are two different methods for controlling the same thing: randomness.<br><strong>C.</strong> The computational cost of using both is prohibitively high.<br>✅ <strong>D. </strong>Using both can lead to unpredictable and hard-to-debug output.</p><p><strong>Explanation:</strong><br>Both temperature and top_p (nucleus sampling) control the randomness of the model’s responses.<strong> Temperature</strong> adjusts how “creative” or “risky” the model is by scaling probabilities. <strong>Top_p</strong> limits the selection to the most probable subset of tokens whose <strong>cumulative probability is ≤ p.</strong><br>When both are applied together, the interaction can produce unstable or unexpected results, leading to outputs that are difficult to reproduce or debug.<br><strong>Best practice: Use either temperature or top_p, but not both.</strong></p><p><strong>2. What is the most fundamental challenge in de-biasing an AI model?</strong></p><p><strong>A.</strong> The de-biasing process is too computationally expensive. <br><strong>B.</strong> It is impossible to find enough data from minority groups. <br><strong>C.</strong> De-biasing a model will erase its useful knowledge. <br>✅ <strong>D.</strong> There is no universally agreed-upon definition of “fairness.”</p><p><strong>Explanation:</strong> AI bias is one of the biggest ethical challenges in machine learning. While we can use better datasets or adversarial training to reduce bias, the core problem is defining what fairness really means.</p><p>There are many competing definitions: <br><strong>Demographic parity:</strong> Equal outcomes across groups <br><strong>Equal opportunity:</strong> Equal chances given to similar qualifications <br><strong>Predictive parity:</strong> Equal accuracy across groups <br>These can conflict with each other, meaning there’s no single mathematical definition of fairness that works for all contexts.</p><p><strong>3. In AI safety, what does “Red Teaming” mean?</strong></p><p><strong>A.</strong> A method for fine-tuning a model using only high-quality data.<br><strong>B.</strong> The process of having one AI debate another to find the truth.<br>✅ <strong>C.</strong> A form of adversarial testing where humans try to make a model fail.<br><strong>D.</strong> The final stage of training, where the model’s safety features are installed.</p><p><strong>Explanation:</strong><br><strong>Red Teaming</strong> is an AI safety practice where experts (the “red team”) actively try to break, confuse, or exploit a model, for example, by prompting it to generate unsafe, biased, or misleading content.</p><p>The goal isn’t to harm the model, but to <strong>discover weaknesses before real users do</strong>. It’s a critical part of responsible AI deployment, helping ensure that systems are robust, safe, and ethically aligned.</p><p><strong>4. For generating repeatable unit test data, what temperature do you use?</strong></p><p><strong>A.</strong> 1.0 <br><strong>B</strong>. 0.5 <br>✅ <strong>C.</strong> 0.0 <br><strong>D.</strong> -1.0</p><p><strong>Explanation: </strong>To ensure that your AI model generates the same output for the same input (crucial for testing), you should use a temperature of 0.0. This makes the model <strong>deterministic, eliminating randomness and guaranteeing consistent </strong>results. This is particularly important when working on unit tests or any environment where repeatability is essential.</p><p><strong>5. You design an AI agent that can use a “search” tool. Your main agent loop is while goalnotmet:. What is a major risk with this simple loop?</strong></p><p>✅ <strong>A. </strong>The agent might get stuck in a repetitive loop, costing a lot of money. <strong>B.</strong> The while loop is an inefficient construct in modern programming. <br><strong>C. </strong>The search tool’s API might have a rate limit. <br><strong>D.</strong> The model might decide to change the goal halfway through.</p><p><strong>Explanation:</strong> A simple while loop like while goalnotmet: can lead to <strong>endless iterations</strong> if the goal is never met, causing the agent to repeatedly call the search tool and rack up costs. <br>The real risk lies in the <strong>lack of a terminating condition to break out</strong> of the loop, leading to an inefficient and costly process. Adding proper checks and exit conditions is vital for safety and cost-effectiveness.</p><p><strong>6. You are building a movie recommendation system. You create embeddings for each movie based on its text description. You find that “A Breathtaking Sci-Fi Space Odyssey” is rated very similar to “A Harrowing Journey into Deep Space.” This demonstrates that the embeddings are capturing:</strong></p><p><strong>A. </strong>Keyword overlap. <br><strong>B.</strong> Director and actor names. <br>✅ <strong>C.</strong> Semantic meaning. <br><strong>D.</strong> Box office revenue.</p><p><strong>Explanation:</strong> Although there is little term overlap between the titles, the embeddings preserve their semantic significance. This implies that even when the phrasing is different, the model is identifying similar themes, situations, and overall meanings in the descriptions. Because embeddings comprehend context rather than just matching phrases, they are particularly effective for jobs like recommendation systems.</p><p><strong>7. What is the most common unit for measuring context window size?</strong></p><p><strong>A.</strong> Characters <br><strong>B.</strong> Words <br>✅ <strong>C.</strong> Tokens <br><strong>D.</strong> Lines of code</p><p><strong>Explanation:</strong> When working with context window sizes in <strong>natural language processing</strong>, the most common unit used is tokens. A token typically represents a single word, punctuation, or sub-word (in languages that use subword tokenization). For example, “unhappiness” could be split into two tokens: “un” and “happiness”. Using tokens ensures that the model can process different language units effectively.</p><p><strong>8. To find similar songs, you’d look for embeddings that are:</strong></p><p><strong>A.</strong> Far apart in vector space <br>✅ <strong>B.</strong> Close together in vector space <br><strong>C.</strong> Perpendicular to each other <br><strong>D.</strong> Of the exact same length</p><p><strong>Explanation:</strong> In embedding spaces, proximity means semantic similarity. Songs with a similar “vibe” or theme will have embeddings that are close together in the vector space.</p><p><strong>9. What is the primary function of an embedding model within a RAG pipeline?</strong></p><p><strong>A.</strong> It generates the final answer to the user’s query. <br>✅ <strong>B.</strong> It converts the user’s query and document chunks into numerical vectors. <br><strong>C.</strong> It checks the generated answer for factual accuracy. <br><strong>D.</strong> It stores the source documents in a compressed format.</p><p><strong>Explanation:</strong> In a retrieval-augmented generation pipeline, the embedding model’s main task is to convert both the query and the document chunks into numerical vectors that can be used for efficient similarity search.</p><p><strong>10. A user’s prompt is split into two parts in your database: a trusted system prompt and an untrusted user input. A developer concatenates them with final_prompt = system_prompt + user_input. Why is this a potential security risk?</strong></p><p><strong>A. </strong>It is inefficient and increases latency. <br><strong>B.</strong> The user input might contain characters that break the string. <br>✅ <strong>C.</strong> It is vulnerable to prompt splitting and injection attacks. <br><strong>D.</strong> The database might return the parts in the wrong order.</p><p><strong>Explanation:</strong> Combining trusted and untrusted input can lead to prompt injection attacks. Attackers might exploit this by manipulating the user input to inject malicious code into the prompt, potentially compromising the system.</p><p>If you’re preparing for AI-related certifications like <strong>Azure AI-900</strong>, <strong>Google Cloud AI Essentials</strong>, or just diving deeper into <strong>LLMs and prompt engineering</strong>, mastering these fundamentals will give you a strong foundation.</p><p><strong>If you found this helpful, </strong><a href="https://coff.ee/pratikshagb"><strong>You can Buy me a coffee</strong></a><strong> and follow me for more posts like this!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33855be3529e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Era of Agentic AI]]></title>
            <link>https://medium.com/@pratiksha.garkar/the-era-of-agentic-ai-00fd817a8006?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/00fd817a8006</guid>
            <category><![CDATA[ai-risk]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Sat, 23 Aug 2025 08:20:03 GMT</pubDate>
            <atom:updated>2025-09-21T09:09:30.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2D039q5aM8TBoKcqOEJiA.png" /></figure><p>Many are referring to this period of rapid advancement in artificial intelligence as the “era of agentic AI,” as the focus has changed from passive, task-oriented models to more autonomous, decision-making systems. While ChatGPT and DALL·E are examples of generative AI that excel at producing content, agentic AI is more advanced. It may simulate human goal-oriented actions by planning, acting, and iterating. However, a new level of complexity, capability, and risk accompany this evolution.</p><p>This article will discuss the differences between <strong>Agentic AI and conventional Generative AI</strong>, <strong>the inner workings of AI agents</strong>, and the importance of comprehending the dangers of machine autonomy. This tutorial will help you understand the increasing impact of intelligent agents in the AI ecosystem and how to use them ethically, regardless of your background as a developer, product owner, or inquisitive tech enthusiast.</p><h4>What’s Agentic AI?</h4><p>Agents are AI systems that can make decisions, carry out tasks without human oversight, and adapt as conditions change.</p><p>A. <strong>Autonomy</strong> Acts without continuous human prompting.<br>B. <strong>Skill Acquisition Learns</strong>, adapts, and combines skills to perform complex tasks.<br>C. Efficiency Acts, adapts, and learns faster than humans.<br>D. <strong>Reliability</strong> Behaves predictably, according to its instructions.</p><h4>What’s the difference between Gen AI and Agentic AI?</h4><p><strong>Gen AI:</strong></p><ul><li>Gen AI tools like ChatGPT mostly respond to passive input-usually text or images. You give a prompt, they answer. That’s it.</li><li>Gen AI puts you in control at all times. Unless you ask them to, they don’t initiate or follow through.</li><li>Although Gen AI is quite good at creating content, it doesn’t really understand what it produces. Predicting the next word or token that will respond to your prompt is its main function.</li></ul><p><strong>Agentic AI:</strong></p><ul><li>The term “agentic AI” describes systems that, after being given basic instructions, may behave independently. With this paradigm, an agent doesn’t need constant guidance because it can react, plan, and act in real time.</li><li>Agents have the ability to function more independently as collaborators. It can determine the steps, decide what to do, and take action, often independently once you give it a task. steady course.</li><li>That creative capacity is combined with memory, thinking, and planning in agentic AI. It’s not just a discussion; it’s more like a system with a purpose.</li></ul><h4>How Do Agents Work?</h4><p>For AI agents to function properly, they require a larger framework of components for semi-autonomous decision-making.</p><ol><li><strong>LLMs</strong> enable the agent to reason and generate context-aware responses.</li><li><strong>Tools</strong> allow the agent to interact with external systems and complete tasks.</li><li><strong>Memory</strong> helps the agent learn from past experiences and improve over time.</li></ol><p>The following is a greatly simplified version of what happened:</p><p><strong>Perception:</strong> The AI agent is created and trained to notice input, such as text, images, sounds, or speech.</p><p><strong>Reasoning:</strong> The agent gets his assignment. Then it thought about how to achieve its goal. It determines which actions it will need to take to complete the task.</p><p><strong>Action:</strong> The agent reaches outside itself, interacting with tools like software applications, code interpreters, and the internet to carry out the plan and complete the task.</p><p><strong>Memory: </strong>The agent uses both short-term and long-term memory to reflect, self-correct, and improve its process for next time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F9re1fsp84PhMSZZhjmKmw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fva8flbk3QgnwZ0U-KssuA.png" /></figure><h4>Why is this such a big deal?</h4><p>Agentic AI does more than just generate ideas; it also turns them into reality. It perceives, plans, builds, adapts, and learns in the same way that humans do, but it is powered by superior artificial intelligence frameworks.</p><ul><li>Agentic AI builds on the foundations of machine learning and deep learning to plan tasks.</li><li>It employs memory to tackle complex issues.</li><li>It works more like a human helper than a basic response generator.</li><li>It improves performance by combining symbolic AI (rules and facts) with pattern-based learning.</li><li>It can reason in various modalities, combining language, visuals, sounds, and facial emotions to enhance comprehension.</li></ul><h4>What is the importance of governance?</h4><p><strong>Microsoft Tay — When an AI Learns the Wrong Lessons</strong></p><p>Microsoft introduced Tay, a Twitter chatbot that can engage with users and “learn” from their exchanges, in 2016. Showing off AI’s capacity for adaptation and gradual naturalization was the aim. <br>But within a day, <strong>Tay became a PR nightmare</strong> when racist, disrespectful, and toxic statements were posted by trolls on Twitter. Without any protections, Tay began imitating and spreading that dangerous material. Within a day of Tay’s launch, Microsoft was forced to take it down.</p><p>What went wrong?</p><ul><li>The system had no guardrails or governance built in.</li><li>There were no oversights, filters, or restrictions on what the AI could learn or replicate.</li><li>A technology meant to demonstrate innovation became a warning story about unchecked autonomy.</li></ul><h4>The Lesson:</h4><ul><li>Without governance, AI is capable of causing harm at breakneck speed in addition to making mistakes.</li><li>Governance means setting boundaries (what an AI can’t say or do).</li><li>It means accountability (humans monitoring actions).</li><li>It means transparency (knowing why an AI acted a certain way).</li></ul><h4>The risks and how to mitigate them?</h4><ul><li><strong>Algorithmic Bias:</strong> Biases in society may be strengthened or amplified by AI agents, producing unfair or discriminating results. <br><strong>Mitigation: </strong>When developing models, use a variety of representative datasets, carry out fairness audits, and use bias detection techniques.</li><li><strong>Lack of Transparency: </strong>AI systems have the potential to make difficult-to-understand decisions, which could compromise accountability.<br><strong>Mitigation: </strong>Make use of explainable AI tools. For grounded outputs, use methods such as Retrieval-Augmented Generation (RAG). To cross-check findings, use multi-agent debate systems. Create frameworks for governance and conduct frequent audits.</li><li><strong>Unchecked Autonomy: </strong>Independent AI agents have the ability to act outside of predetermined parameters, particularly in unexpected or unusual circumstances.<br><strong>Mitigation: </strong>Maintain human-in-the-loop supervision and establish explicit escalation procedures and operational boundaries.</li><li><strong>False or Misleading Outputs: </strong>Biases in society may be strengthened or amplified by AI agents, producing unfair or discriminating results.<br><strong>Mitigation: </strong>Biases in society may be strengthened or amplified by AI agents, producing unfair or discriminating results.</li></ul><p><strong>Conclusion:</strong> <strong><br></strong>The next wave of artificial intelligence, known as agentic AI, goes beyond content creation to create systems that have some autonomy in reasoning, acting, and adapting. This change brings with it new levels of risk even as it creates opportunities for previously unheard-of efficiency and creativity.</p><h4>If you found this helpful, follow me for more posts like this!</h4><p><strong>If you found this helpful, </strong><a href="https://coff.ee/pratikshagb"><strong>You can Buy me a coffee</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00fd817a8006" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Azure AI-900: Top MCQs with Answers]]></title>
            <link>https://blog.stackademic.com/mastering-azure-ai-900-top-mcqs-with-answers-41147a29b3cc?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/41147a29b3cc</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[preparation]]></category>
            <category><![CDATA[ai-900-exam]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 11:54:36 GMT</pubDate>
            <atom:updated>2025-11-08T08:40:44.063Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J1WU3UDCwTGd6QRBBdAGYg.png" /></figure><p><strong>If you&#39;ve</strong> already read my previous article on Azure AI-900 certification prep, you’re off to a great start! In this follow-up, I’m sharing <strong>a fresh set of multiple-choice questions (MCQs)</strong>, <strong>drag-and-drop exercises</strong>, and <strong>“Hot Area” scenarios</strong> that reflect the structure of the actual exam. Whether you’re brushing up or practicing for the first time, this collection will give you an extra edge toward <strong>clearing the AI-900 exam confidently</strong>. Whether you’re brushing up or practicing for the first time, this collection will give you an extra edge toward <strong>clearing the AI-900 exam confidently</strong>.</p><h4><strong>🤖 Responsible AI Principles</strong></h4><p>Understanding Microsoft’s guiding principles for responsible AI is a core part of AI-900. Below are a few representative questions:</p><p><strong>Q: You are designing an AI system that empowers everyone, including people who have hearing, visual, and other impairments. What principle is this?</strong></p><p>A. Fairness <br>B. Inclusiveness ✅ <br>C. Reliability and Safety <br>D. Accountability</p><p><strong>Answer: B. Inclusiveness</strong> — Microsoft’s AI principles emphasize inclusive design to support diverse human needs.</p><p><strong>Q: DRAG DROP — Match the Microsoft guiding principles for responsible AI to the appropriate descriptions.<br> To answer, drag the appropriate principle from the column on the left to its description on the right. Each principle may be used once, more than once, or not at all.<br>NOTE: Each correct selection is worth one point.<br>Select and Place:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*HvV5qPqNKw1h1VzkTf0y5Q.png" /></figure><p>A. Reliability and safety → Ensuring systems behave reliably in expected conditions ✅<br>B. Accountability → Enabling transparency and tracking decisions ✅<br>C. Privacy and security → Protecting user data and system access ✅</p><p>Q: To complete the sentence, select the appropriate option in the answer area.<br>Hot Area:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*SM4O0Kc9rjFj9F_sWdztVQ.jpeg" /></figure><p>A. Reliability and safety ✅</p><p><strong>Q: A company employs a team of customer service agents to provide telephone and email support to customers. The company develops a webchat bot to provide automated answers to common customer queries. Which business benefit should the company expect as a result of creating the webchat bot solution?</strong></p><p>A. increased sales<br>B. a reduced workload for the customer service agents ✅<br>C. improved product reliability</p><p><strong>Q: For a machine learning progress, how should you split data for training and evaluation?</strong></p><p>A. Use features for training and labels for evaluation.</p><p>B. Randomly split the data into rows for training and rows for evaluation. ✅</p><p>C. Use labels for training and features for evaluation.</p><p>D. Randomly split the data into columns for training and columns for evaluation.</p><p><strong>Q: You are developing a model to predict events by using classification.<br> You have a confusion matrix for the model scored on test data as shown in the following exhibit.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*RTR6DFJVOCShKrzK4wM59Q.png" /></figure><p>Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.<br>NOTE: Each correct selection is worth one point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*EcZpeDJEXtnbJRgAOtz4HQ.png" /></figure><p>A. 11, 1033 ✅</p><p><strong>Q: You build a machine learning model by using the automated machine learning user interface (UI). You need to ensure that the model meets the Microsoft transparency principle for responsible AI. What should you do?</strong></p><p>A. Set Validation type to Auto.</p><p>B. Enable Explain best model. ✅</p><p>C. Set Primary metric to accuracy.</p><p>D. Set Max concurrent iterations to 0.</p><p><strong>Q: For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*KOa6C1rNy4iMezZLHII-Jg.png" /></figure><p>A. No, Yes, No ✅</p><p><strong>Q: . DRAG DROP — Match the types of AI workloads to the appropriate scenarios. To answer, drag the appropriate workload type from the column on the left to its scenario on the right. Each workload type may be used once, more than once, or not at all. NOTE: Each correct selection is worth one point.<br>Select and Place:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*keZsEJtCv0s5jIq-vFME9Q.png" /></figure><p>A. Conversational AI, Computer Vision, NLP ✅</p><p>Q: To complete the sentence, select the appropriate option in the answer area. <br>Hot Area:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*EeizyoFYI9ew7STN1upJ9g.png" /></figure><p>A. reliability and safety ✅</p><p><strong>Q: You build a machine learning model by using the automated machine learning user interface (UI). You need to ensure that the model meets the Microsoft transparency principle for responsible AI. What should you do?</strong></p><p>A. Set Validation type to Auto.</p><p>B. Enable Explain best model. ✅</p><p>C. Set Primary metric to accuracy.</p><p>D. Set Max concurrent iterations to 0.</p><p><strong>If you found this helpful, </strong><a href="https://coff.ee/pratikshagb"><strong>You can Buy me a coffee</strong></a><strong>.</strong></p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41147a29b3cc" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/mastering-azure-ai-900-top-mcqs-with-answers-41147a29b3cc">Mastering Azure AI-900: Top MCQs with Answers</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Azure AI-900: Top MCQs with Answers]]></title>
            <link>https://blog.stackademic.com/mastering-azure-ai-900-top-mcqs-with-answers-322797c04e4b?source=rss-e3ae799e431------2</link>
            <guid isPermaLink="false">https://medium.com/p/322797c04e4b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[exam-preparation]]></category>
            <category><![CDATA[ai-900-exam]]></category>
            <category><![CDATA[preparation]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[PRATIKSHA GARKAR]]></dc:creator>
            <pubDate>Tue, 20 May 2025 07:33:06 GMT</pubDate>
            <atom:updated>2025-08-24T19:40:35.175Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5oqwuZC_YZzJfuEFI3cKaw.png" /></figure><p>The Microsoft Azure AI Fundamentals (AI-900) test is an excellent starting point for professionals and students looking to develop fundamental knowledge of artificial intelligence (AI) and machine learning (ML) concepts on Azure.<br>In this article, we’ll go over essential MCQ-style questions and answers to help you prepare for the exam with confidence.</p><p><strong>📋 Sample MCQs for Azure AI-900:<br> </strong><br><strong>✅ Question 1: Which of the following is an example of a computer vision workload?</strong><br>A. Translating text from one language to another<br>B. Predicting customer churn<br>C. Detecting objects in an image<br>D. Converting speech to text<br>Answer: C<br>Explanation: Detecting objects in images is a task handled by computer vision services.</p><p><strong>✅ Question 2: What Azure service is primarily used to build, train, and deploy machine learning models?</strong><br>A. Azure Bot Service<br>B. Azure Machine Learning<br>C. Azure Cognitive Search<br>D. Azure Synapse Analytics<br>Answer: B<br>Explanation: Azure Machine Learning is a platform for developing and managing ML models.</p><p><strong>✅ Question 3: Which Azure Cognitive Service would you use for sentiment analysis?</strong><br>A. Computer Vision<br>B. Language Understanding (LUIS)<br>C. Text Analytics<br>D. Azure Form Recognizer<br>Answer: C<br>Explanation: Text Analytics includes capabilities like sentiment analysis, key phrase extraction, and language detection.</p><p><strong>✅ Question 4: Which of the following best describes an AI workload?</strong><br>A. A database system used to store large volumes of data<br>B. A task that can be completed without using machine learning<br>C. A scenario where an application mimics human behavior<br>D. A tool for manually labeling data<br>Answer: C<br>Explanation: An AI workload typically involves simulating or replicating human intelligence, such as vision, speech, or decision-making.</p><p><strong>✅Question 5: What is the main benefit of using Azure Cognitive Services?</strong><br>A. They require custom model training for all tasks<br>B. They provide prebuilt AI capabilities via simple APIs<br>C. They offer a way to build databases with AI features<br>D. They automate the deployment of virtual machines<br>Answer: B<br>Explanation: Azure Cognitive Services offer pre-trained models through APIs, enabling quick AI integration.</p><p><strong>✅ Question 6: Which is an example of a challenge associated with Artificial Intelligence deployment?</strong><br>A. Lack of diversity in AI development teams<br>B. Insufficient transparency in AI algorithms<br>C. Limited accessibility for unskilled users<br>D. Overreliance on human judgment<br>Answer: B<br>Explanation: A common challenge in AI deployment is the lack of transparency in how AI algorithms make decisions (also known as the “black box” problem).</p><p><strong>✅ Question 7: Which are example applications of natural language processing (NLP)?</strong><br>A. Text analysis<br>B. Image recognition<br>C. Language translation<br>D. Automatic network diagnostics<br>Answer: A and C<br>Explanation: Text analysis and language translation are classic use cases of NLP. Image recognition relates to computer vision, and network diagnostics fall under systems analysis.</p><p><strong>✅ Question 8: What is an example concern associated with generative AI?</strong><br>A. Profitability<br>B. Trustworthiness<br>C. Font selection<br>D. Vendor wars<br>Answer: B<br>Explanation: Trustworthiness, including the potential to generate misleading or biased content, is a major concern in generative AI.</p><p><strong>✅ Question 9: Which is an example of an application of computer vision?</strong><br>A. Corporate branding<br>B. Chatbots<br>C. Medical imaging analysis<br>D. Network troubleshooting<br>Answer: C<br>Explanation: Medical imaging analysis, such as detecting tumors in X-rays, is a common use case for computer vision.</p><p><strong>✅ Question 10: Which guiding principle of responsible AI emphasizes the importance of treating everyone equally and without bias?</strong><br>A. Fairness<br>B. Privacy and security<br>C. Reliability and safety<br>D. Profitability<br>Answer: A<br>Explanation: Fairness ensures that AI systems are inclusive and do not reinforce existing biases or discrimination.</p><p><strong>✅ Question 11: Which are real-world examples of AI?</strong><br>A. Bash<br>B. IBM Watson<br>C. Juniper Networks<br>D. Microsoft PowerPoint<br>Answer: B<br>Explanation: IBM Watson is an AI platform. Bash is a command-line interface, and Microsoft PowerPoint is a presentation tool. Juniper Networks is a network equipment provider.</p><p><strong>✅ Question 12: Which is an example ethical consideration for Artificial Intelligence?</strong><br>A. Data accuracy<br>B. Transparency<br>C. Market competition<br>D. Speed of processing<br>Answer: B<br>Explanation: Transparency in AI decision-making is a key ethical consideration, ensuring users understand how conclusions are reached.</p><p><strong>✅ Question 13: Which is an example feature of Azure AI Document Intelligence?</strong><br>A. Prebuilt models only<br>B. Flexible deployment<br>C. No text extraction capabilities<br>D. Limited data collection<br>Answer: B<br>Explanation: Azure AI Document Intelligence supports flexible deployment, allowing users to extract structured data from documents using various configurations.</p><p><strong>✅ Question 14: What is an example of a capability of knowledge mining in Microsoft Azure?</strong><br>A. Limited data processing<br>B. Lack of AI integration<br>C. Narrow scope of analysis<br>D. Retrieval at scale<br>Answer: D<br>Explanation: Knowledge mining enables large-scale information retrieval and exploration using AI to extract insights from unstructured data.</p><p><strong>✅ Question 15: Which machine learning (ML) technique uses unlabeled data?</strong><br>A. Unsupervised<br>B. Supervised<br>C. Semi-supervised<br>D. Reinforcement<br>Answer: A<br>Explanation: Unsupervised learning involves working with data that has no labels and is used for clustering or pattern detection.</p><p><strong>✅ Question 16: Which type of clustering algorithm identifies clusters based on regions of high density separated by regions of low density?</strong><br>A. Centroid-based clustering<br>B. Distribution-based clustering<br>C. Hierarchical clustering<br>D. Density-based clustering<br>Answer: D<br>Explanation: Density-based clustering (e.g., DBSCAN) groups together points that are closely packed together and separates low-density regions.</p><p><strong>✅ Question 17: Which evaluation metric measures the average absolute difference between predicted and actual values in regression models?</strong><br>A. Coefficient of determination (R²)<br>B. Root mean squared error (RMSE)<br>C. Mean squared error (MSE)<br>D. Mean absolute error (MAE)<br>Answer: D<br>Explanation: MAE calculates the average of the absolute errors and is useful for understanding model prediction accuracy.</p><p><strong>✅ Question 18: Which statement is correct?</strong><br>A. Labeled data is primarily utilized in supervised learning<br>B. Unlabeled data is consistently close to ground truth<br>C. Unlabeled data is annotated with informative tags<br>D. Labeled data is used for unsupervised learning tasks<br>Answer: A<br>Explanation: Supervised learning requires labeled data where both input and expected output are provided.</p><p><strong>✅ Question 19: Which best describes the main purpose of the outer layer of nested functions in a deep learning model?</strong><br>A. To predict output labels based on input features<br>B. To transform input features into output predictions<br>C. To calculate output values for input features<br>D. To modify weights to minimize loss<br>Answer: B<br>Explanation: The outer layers in deep learning models are responsible for transforming the input through layers to generate final predictions.</p><p><strong>✅ Question 20: Which is an example function of a validation dataset in machine learning?</strong><br>A. To assess model performance during training<br>B. To train machine learning models<br>C. To fine-tune model hyperparameters<br>D. To evaluate model performance after training<br>Answer: C<br>Explanation: Validation datasets are used to tune hyperparameters and evaluate model performance during training without overfitting.</p><p>🧪<strong> Tips for Exam Prep</strong></p><ul><li>Focus on <strong>use cases</strong> of AI and ML in Azure.</li><li>Familiarize yourself with <strong>Azure Cognitive Services</strong>, <strong>Azure Machine Learning</strong>, and <strong>responsible AI principles</strong>.</li><li>Take <strong>Microsoft Learn’s AI-900 learning path</strong> and practice with quizzes.</li></ul><p>📌 <strong>Final Thoughts</strong></p><p>The AI-900 certification is ideal for anyone who wants to start a journey into the world of artificial intelligence. These MCQs provide a strong starting point for understanding the type of questions you’ll face on the exam.</p><h4><strong>If you found this helpful, follow me for more posts like this!</strong></h4><p>Support my journey with a<a href="https://coff.ee/pratikshagb"> coffee</a></p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=322797c04e4b" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/mastering-azure-ai-900-top-mcqs-with-answers-322797c04e4b">Mastering Azure AI-900: Top MCQs with Answers</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>