Configuring a Custom Event Bus When you want to receive events, you will need an event bus. This is the pipeline in the AWS system of resources that receives the events. The event bus comprises rules that are examined as the different events come into the event bus. You can have multiple event buses, and […]
5.2 Classes, Interfaces, and Methods A class is a fundamental component that defines an object’s functionality and characteristics. The basic structure of an Apex class consists of class variables also known as properties, and methods defined within the class. It serves as a template or blueprint from which objects are created and defines the behavior […]
Creating a New Package Up to now, all the code we’ve written in this chapter has been in the default package. This is a special unnamed package that you should use only for throwaway code. You can tell the code is in the default package, because there’s no package name. On the exam, you’ll see […]
Understanding Event-Driven Architecture EDA is a software design pattern in which the flow of the system is determined by events rather than a central control flow. In EDA, the system responds to events that occur asynchronously, such as messages received from AWS services, custom events, or even third-party Software as a Service (SaaS) applications. An […]
Summary Hybrid networking and the underlying technologies that are used were the focus of this chapter. We covered the basics of the two lower layers of the OSI model. You learned about the optical connections at layer 1, and for layer 2 we covered link aggregation, VLANs, and jumbo frames. There are several different types […]
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. You have configured a network access control list to permit inbound traffic to an EC2 web server from a set of customer IP addresses. The NACL is configured to […]
Redundant Imports Wait a minute! We’ve been referring to System without an import every time we printed text, and Java found it just fine. There’s one special package in the Java world called java.lang. This package is special in that it is automatically imported. You can type this package in an import statement, but you […]
Exam Readiness Drill – Chapter Review Questions Apart from a solid understanding of key concepts, being able to think quickly under time pressure is a skill that will help you ace your certification exam. That is why working on these skills early on in your learning journey is key. Chapter review questions are designed to […]
Containers If, instead of deploying your workloads directly on virtual machines, you prefer to deploy them using containers, multiple options are offered to you. First, do you need to manage and have control over the virtual machines running the containers? If you don’t, you can opt for AWS Fargate, which provides a serverless environment to […]
Merge: Is only available for certain standard objects in Salesforce, such as Account, Contact, Lead, and Case, and you can merge up to three records at a time. Account masterAccount = new Account(Name = ‘MyName’); insert masterAccount; Account duplicateAccount = new Account(Name = ‘MyName’); insert duplicateAccount; Database.merge(masterAccount, duplicateAccount); masterAccount = [SELECT Id, Name, (SELECT Id […]