Elastic Network Interfaces – Networking and Connectivity – SOA-C02 Study Guide

Elastic Network Interfaces An Elastic Network Interface (ENI) is a virtual network interface in a VPC. When EC2 instances are created in a VPC, they automatically get a default network interface (eth0). This interface cannot be detached from this instance. You can choose to have a public IP address automatically assigned to this interface. However, […]

VxLan – Network Implementation – ANS-C01 Study Guide

VxLan Virtual Extensible LAN (VxLAN) is a standardized encapsulation protocol that stretches layer 2 connections over a layer 3 routed network, and it is primarily used in larger enterprises, service providers, and cloud data centers. VxLAN is an overlay encapsulation protocol that scales up to 16 million logical networks by adding a 24-bit ID to […]

Writing a main() Method – Building Blocks – 1Z0-829 Study Guide

Writing a main() Method A Java program begins execution with its main() method. In this section, you learn how to create one, pass a parameter, and run a program. The main() method is often called an entry point into the program, because it is the starting point that the JVM looks for when it begins […]

Extracting metrics from a confusion matrix – Evaluating and Optimizing Models – MLS-C01 Study Guide

Extracting metrics from a confusion matrix The simplest metric that can be extracted from a confusion matrix is known as accuracy. Accuracy is given by the following equation, as shown in Figure 7.2: Figure 7.2 – Formula for accuracy For the sake of demonstration, Figure 7.3 shows a confusion matrix with data. Figure 7.3 – […]

Installing the CloudWatch Agent on an EC2 Instance – CloudWatch and CloudWatch Metrics – SCS-C02 Study Guide

Installing the CloudWatch Agent on an EC2 Instance In order to install the CloudWatch agent on an EC2 instance, you will need to have an EC2 instance that is running and with which the SSM can communicate successfully. One of the easiest ways to do this is to use an EC2 instance running Amazon Linux. […]

Jumbo Frames – Network Implementation – ANS-C01 Study Guide

Jumbo Frames Direct Connect supports jumbo frames on the customer interconnect point from 1,522 to 9,023 bytes (14 bytes Ethernet header + 4 bytes VLAN tag + bytes for the IP datagram + 4 bytes FCS) at the OSI link layer 2. Jumbo frame support allows for a more efficient transmission of frames over an […]

Warm Standby – Ensuring Business Continuity – SAP-C02 Study Guide

Warm Standby The warm standby approach goes a step further compared to the pilot light one. It extends the same concept but also maintains a running copy, although scaled down, of your workload. So, your service is already up and running, and the only thing you need is to scale up the compute resources required […]

Cram Quiz – Data Protection at Rest and in Transit – SOA-C02 Study Guide

Cram Quiz Answer these questions. The answers follow the last question. If you cannot answer these questions correctly, consider reading this section again until you can. 1. Which of the following AWS services does not make use of ACM certificates? A. Elastic Load Balancing B. Amazon API Gateway C. AWS CloudFormation D. AWS CodeCommit 2. Which of […]

Division assignment – Operators and Control Statements – Apex Programming – Salesforce Certified Platform Developer I Study Guide

Division assignment (/=): Divides the current value of a variable by a value and assigns the result to the same variable. Decimal dividend = 20.0; Decimal divisor = 4.0; dividend /= divisor; // Equivalent to: dividend = dividend /divisor; System.debug(‘Result: ‘ + dividend); // Output: Result: 5.0 Control statements in Apex are used to control […]

Evaluating and Optimizing Models – MLS-C01 Study Guide

It is now time to learn how to evaluate and optimize machine learning models. During the process of modeling, or even after model completion, you might want to understand how your model is performing. Each type of model has its own set of metrics that can be used to evaluate performance, and that is what […]