Category: Uncategorized

  • Describe the features available in a session of the standalone experience

    A session is a particular conversation within Copilot and consists of one or more prompts. A session may be initiated through prompts you enter directly in the prompt bar, by running a promptbook, or a prompt suggestion.

    Copilot has features that are common across all sessions and the individual prompts that make up a session, including:

    • The process log
    • Actions you can take a prompt and its response
    • Prompt feedback
    • The pin board

    Process log

    For every prompt Copilot runs, Copilot generates a process log that is visible to the user. The user can see what capability is used to generate the response. This is important because it enables the user to determine whether the response was generated from a trusted source. In the screenshot that follows, the process log shows that Copilot chose the Incident Analysis capability. The process log also shows that the final output went through safety checks, which is part of Microsoft’s commitment to responsible AI.

    Screen capture showing process log, which shows the selected skill and that a safety check was run on the composed message.

    Action you can take on prompt and its response

    There’s a consistent set of actions available for every prompt/response pair in the Copilot standalone experience. Actions include:

    • Pin an individual prompt and its corresponding response to the pin board by selecting the pin icon.
    • Edit a prompt.
    • Rerun a prompt.
    • Delete a prompt.
    • Export a prompt.
    • Copy a response.
    • Provide feedback on a response
    Screen capture showing highlighting the actions available on a prompt/response pair.
    oracle e business suite training courses malaysia

  • Use the Copy Data activity

    The Copy Data activity is one of the most common uses of a data pipeline. Many pipelines consist of a single Copy Data activity that is used to ingest data from an external source into a lakehouse file or table.

    You can also combine the Copy Data activity with other activities to create a repeatable data ingestion process – for example by using a Delete data activity to remove existing data, a Copy Data activity to replace the deleted data with a file containing data from an external source, and a Notebook activity to run Spark code that transforms the data in the file and loads it into a table.

    The Copy Data tool

    Screenshot of the Copy Data tool in Microsoft Fabric.

    When you add a Copy Data activity to a pipeline, a graphical tool takes you through the steps required to configure the data source and destination for the copy operation. A wide range of source connections is supported, making it possible to ingest data from most common sources. In OneLake, this includes support for lakehouse, warehouse, SQL Database, and others.

    Screenshot of the Copy Data tool showing the SQL Database support in Microsoft Fabric.

    Copy Data activity settings

    After you’ve added a Copy Data activity to a pipeline, you can select it in the pipeline canvas and edit its settings in the pane underneath.

    Screenshot of a Copy Data activity in Microsoft Fabric.

    When to use the Copy Data activity

    Use the Copy Data activity when you need to copy data directly between a supported source and destination without applying any transformations, or when you want to import the raw data and apply transformations in later pipeline activities.

    oracle linux administration training courses malaysia
  • Understand pipelines

    Pipelines in Microsoft Fabric encapsulate a sequence of activities that perform data movement and processing tasks. You can use a pipeline to define data transfer and transformation activities, and orchestrate these activities through control flow activities that manage branching, looping, and other typical processing logic. The graphical pipeline canvas in the Fabric user interface enables you to build complex pipelines with minimal or no coding required.

    Screenshot of a pipeline in Microsoft Fabric.

    Core pipeline concepts

    Before building pipelines in Microsoft Fabric, you should understand a few core concepts.

    Activities

    Activities are the executable tasks in a pipeline. You can define a flow of activities by connecting them in a sequence. The outcome of a particular activity (success, failure, or completion) can be used to direct the flow to the next activity in the sequence.

    There are two broad categories of activity in a pipeline.

    • Data transformation activities – activities that encapsulate data transfer operations, including simple Copy Data activities that extract data from a source and load it to a destination, and more complex Data Flow activities that encapsulate dataflows (Gen2) that apply transformations to the data as it is transferred. Other data transformation activities include Notebook activities to run a Spark notebook, Stored procedure activities to run SQL code, Delete data activities to delete existing data, and others. In OneLake, you can configure the destination to a lakehouse, warehouse, SQL database, or other options.
    • Control flow activities – activities that you can use to implement loops, conditional branching, or manage variable and parameter values. The wide range of control flow activities enables you to implement complex pipeline logic to orchestrate data ingestion and transformation flow.
    oracle peoplesoft training courses malaysia
  • Implement infrastructure resiliency with Kubernetes

    To implement infrastructure-based resiliency, you can use a service mesh. Aside from resiliency without changing code, a service mesh provides traffic management, policy, security, strong identity, and observability. Your app is decoupled from these operational capabilities, which are moved to the infrastructure layer. Architecturally speaking, a service mesh is composed of two components: a control plane and a data plane.

    Diagram of a typical service mesh architecture.

    The control plane component has many components that support managing the service mesh. The components inventory typically includes:

    • A management interface, which could be a UI or an API.
    • Rules and policy definitions that define how the service mesh should implement specific capabilities.
    • Security management for things like strong identity and certificates for mTLS.
    • Metrics or observability to collect and aggregate metrics and telemetry from the apps.
    oracle siebel crm training courses malaysia
  • Implement application resiliency

    The resiliency features of .NET are built upon the Polly project and made available through Microsoft.Extensions. You can add a standard resilience strategy that uses sensible defaults by adding a single line of code to your app.

    Add resilience to your app

    To add resilience to an app built using a microservices architecture, using HTTP requests between individual services, take these steps:

    1. Add the Microsoft.Extensions.Http.Resilience package to your project.
    2. Add a resilience handler to your HttpClient service calls.
    3. Configure the resilience strategy.

    Add the NuGet package to your project

    Run the following command to add the resiliency NuGet package:

    .NET CLICopy

    dotnet add package Microsoft.Extensions.Http.Resilience
    

    Running this command from the terminal in the apps project folder will add the package reference to the project file.

    Then add the following using statement in your application’s startup class :

    C#Copy

    using Microsoft.Extensions.Http.Resilience;
    

    Add a resilience strategy

    You can now add a standard resilience strategy to your HttpClient service. .NET provides this out-of-the-box configuration combining a number of strategies.

    A diagram showing the strategies included in the Standard Resilience Handler. From overall timeout, retry, bulkhead, circuit breaker, and attempt timeout.

    The request handler goes through each of these strategies in order form left to right:

    • Total request timeout strategy: This sets a total amount of time that the request can take. You can think of this as setting the upper time limit for all the other strategies.
    • Retry strategy: This strategy controls the options on number of retries, backoff, and jitter. These options can’t exceed the total timeout set in the previous strategy.
    • Circuit breaker strategy: This strategy opens the circuit if the failure ratio exceeds the threshold.
    • Attempt timeout strategy: This strategy sets a timeout for each individual request. If the request takes longer than this time, then an exception is thrown.

    You can add this standard strategy, with all the default values by adding this extension method:

    C#Copy

    .AddStandardResilienceHandler();
    

    For example if you have declared a WebApplication, and you want to add a resilience strategy to the HttpClient service use this code:

    C#Copy

    builder.Services.AddHttpClient<ServiceBeingCalled>(httpClient =>
    {
        httpClient.BaseAddress = new Uri("https://service.endpoint/");
    }).AddStandardResilienceHandler();
    

    The first line of the preceding code adds a standard resilience handler to the HTTPClient. This will use all the default settings for the retry and circuit breaker strategies.

    php programming training courses malaysia
  • Retry strategy

    A Retry strategy is exactly what the name implies. The request is retried after a short wait if an error response is received. The wait time increases with each retry. The increase can be linear or exponential.

    After the maximum number of retries is reached, the strategy gives up and throws an exception. From the user’s perspective, the app usually takes longer to complete some operations. The app might also take some time before informing the user that it couldn’t complete the operation.

    Circuit Breaker strategy

    A Circuit Breaker strategy gives a target service a break after a repeated number of failures by pausing trying to communicate with it. The service could be experiencing a serious problem and be temporarily unable to respond. After a defined number of consecutive failures, the connection attempts are paused, opening the circuit. During this wait, additional operations on the target service fail immediately without even trying to connect the service. After the wait time has elapsed, the operation is attempted again. If the service successfully responds, the circuit is closed and the system goes back to normal.

    Infrastructure-based resiliency

    To implement infrastructure-based resiliency, you can use a service mesh. Aside from resiliency without changing code, a service mesh provides traffic management, policy, security, strong identity, and observability. Your app is decoupled from these operational capabilities, which are moved to the infrastructure layer.

    Comparison to code-based approaches

    An infrastructure-based resiliency approach can use a metrics-based view that allows it to adapt dynamically to cluster conditions in real time. This approach adds another dimension to managing the cluster but doesn’t add any code.

    power bi training courses malaysia
  • Application and infrastructure resiliency

    Resiliency is the ability to recover from transient failures. The app’s recovery strategy restores normal function with minimal user impact. Failures can happen in cloud environments, and your app should respond in a way that minimizes downtime and data loss. In an ideal situation, your app handles failures gracefully without the user ever knowing there was a problem.

    Because microservice environments can be volatile, design your apps to expect and handle partial failures. A partial failure, for example, can include code exceptions, network outages, unresponsive server processes, or hardware failures. Even planned activities, such as moving containers to a different node within a Kubernetes cluster, can cause a transient failure.

    Resiliency approaches

    In designing resilient applications, you often have to choose between failing fast and graceful degradation. Failing fast means the application will immediately throw an error or exception when something goes wrong, rather than try to recover or work around the problem. This allows issues to be identified and fixed quickly. Graceful degradation means the application will try to keep operating in a limited capacity even when some component fails.

    In cloud-native applications, it’s important for services to handle failures gracefully rather than fail fast. Since microservices are decentralized and independently deployable, partial failures are expected. Failing fast would allow a failure in one service to quickly take down dependent services, which reduce overall system resiliency. Instead, microservices should be coded to anticipate and tolerate both internal and external service failures. This graceful degradation allows the overall system to continue operating even if some services are disrupted. Critical user-facing functions can be sustained, avoiding a complete outage. Graceful failure also allows disturbed services time to recover or self-heal before impacting the rest of the system. So for microservices-based applications, graceful degradation better aligns with resiliency best practices like fault isolation and rapid recovery. It prevents local incidents from cascading across the system.

    There are two fundamental approaches to support a graceful degradation with resiliency: application and infrastructure. Each approach has benefits and drawbacks. Both approaches can be appropriate depending on the situation. This module explains how to implement both code-based and infrastructure-based resiliency.

    Code-based resiliency

    To implement code-based resiliency, .NET has an extension library for resilience and transient failure handling, Microsoft.Extensions.Http.Resilience.

    It uses a fluent, easy-to-understand syntax to build failure-handling code in a thread-safe manner. There are several resilience policies that define failure-handling behavior. In this module, you apply the Retry and Circuit Breaker strategies to HTTP client operations.

    prince2 certification training courses malaysia
  • Microservices orchestration

    Contoso loves the results of using a microservices architecture so far. The overall web application calls individual microservices to provide and manipulate data.

    But as more services are added, the overall system becomes more complex to scale out and manage. Orchestrators can help.

    What is an orchestrator?

    An orchestrator is a tool that helps you manage, scale, and maintain a containerized application.

    Using orchestrators for production-ready applications is essential if your application is based on microservices or is split across multiple containers. As noted earlier, in a microservice-based approach, each microservice owns its model and data. The microservice is autonomous from a development and deployment point of view. These kinds of systems are complex to scale out and manage. Therefore, to have a production-ready and scalable multi-container application, you absolutely need an orchestrator.

    python programming training courses malaysia
  • What are microservices?

    The cloud drives today’s application development and IT systems management. Modern cloud applications need to be fast, agile, massively scalable, and reliable.

    Using containers can help you deploy applications that meet all of those requirements. But putting an application into a container without following a strategic design pattern is like getting into a vehicle and hoping to find your way to a new city without using a map or GPS. You might end up at your destination, but the route probably won’t be direct or the most efficient.

    A microservices architecture is useful in this scenario. Microservices give you an approach to software development and deployment that’s perfectly suited to the agility, scalability, and reliability requirements of modern cloud applications.

    What is a microservices architecture?

    In a microservices architecture, a large application is split up into a set of smaller services. Each service runs in its own process and communicates with other processes by using protocols like HTTP/HTTPS, WebSocket, or Advanced Message Queuing Protocol (AMQP). Each microservice implements a specific, end-to-end domain or business capability within a certain context boundary. Each microservice must be developed autonomously and must be independently deployable. Finally, each microservice should own its related domain data model and domain logic. Microservices can be based on different data storage technologies (SQL, NoSQL) and different programming languages.

    red hat certified architect rhca malaysia

  • Review app configuration concepts

    Creating microservices for a distributed environment presents a significant challenge. Cloud-hosted microservices often run in multiple containers in various regions. Implementing a solution that separates each service’s code from configuration eases the triaging of issues across all environments.

    In this unit, explore how to integrate ASP.NET Core and Docker configuration features with Azure App Configuration to tackle this challenge in an effective way.

    You’ll review the:

    • ASP.NET Core configuration infrastructure.
    • Kubernetes configuration abstraction—the ConfigMap.
    • Azure App Configuration service.
    • .NET Feature Management library.
    • Feature flag components implemented in the app.
    red hat certified engineer rhce malaysia