Declaring Variables You’ve seen some variables already. A variable is a name for a piece of memory that stores data. When you declare a variable, you need to state the variable type along with giving it a name. Giving a variable a value is called initializing a variable. To initialize a variable, you just type […]
Chapter 1. Implementing Routing in the Data Center 5. Which statement about IPv6 and routing protocols are true? a. Link-local addresses are used to form routing adjacencies. b. OSPFv3 is the only routing protocol that supports IPv6. c. Loopback addresses are used to form routing adjacencies. d. MBGP does not support the IPv6 protocol. 6. […]
Creating a Lifecycle Policy for an S3 Bucket This exercise uses the AWS Management Console. To create a Lifecycle policy on a new S3 bucket, perform the following steps: Figure 9.2: Configuration for S3 bucket screen This will bring up the Lifecycle rules section in the middle of the main screen. It should have a […]
Getting hands-on with Amazon Comprehend In this section, you will build a pipeline where you can integrate AWS Lambda with Amazon Rekognition and Amazon Comprehend. You will then read an image file stored in an S3 bucket and detect the language of the text that has been extracted from the image. You will also use […]
Territory hierarchy access It is possible to create a hierarchy to represent your organization’s sales territories. This essentially facilitates automatic account assignment based on criteria to denote it belonging to a particular branch of the territory model. Chapter 12, Territory Management, covers territory management in further detail. Programmatic sharing Using what used to be known […]
Gateways A gateway is a device or software that interconnects dissimilar systems. A gateway translates between two networks with different protocols, as shown in Figure 7.5. Routers and gateways are terms that are often used interchangeably, and while there is a lot of overlap in functionality, there are also differences that distinguish the roles they are used for. […]
5.5 NullPointerException In Apex, a NullPointerException occurs when you attempt to access or manipulate an object that is null. In other words, you are trying to perform an operation on an object reference that doesn’t point to any instance of an object. This can lead to runtime errors and unexpected behavior in your Apex code. […]
Defining Text Blocks Earlier we saw a simple String with the value “hello”. What if we want to have a String with something more complicated? For example, let’s figure out how to create a String with this value: “Java Study Guide” by Scott & Jeanne Building this as a String requires two things you haven’t […]
AWS WAF This section covers the following objective of Domain 5 (Networking and Content Delivery) from the official AWS Certified SysOps Administrator – Associate (SOA-C02) exam guide: 5.1 Implement networking features and connectivity CramSaver If you can correctly answer these questions before going through this section, save time by skimming the Exam Alerts in this […]
Important note It is a best practice not to overprovision your function’s timeout settings. Always understand your code performance and set a function timeout accordingly. Overprovisioning a function timeout results in Lambda functions running longer, causing unexpected costs. If you are using asynchronous API calls in your Lambda function, then it is good to write […]