OCI Networking Flashcards

1
Q

What is CIDR

A

CIDR is Classless inter-domain routing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a subnet mask?

A

A subnet mask separates the IP address into the network and host addresses ().

Subnetting further devides the host part of an IP address into a subnet and host address ()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Virtual Cloud Network?

A

A private network that you set up in the Oracle data centers, with firewall rules and specific types of communication gateways that you can choose to use.

A VCN resides within a single region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which are the allowed OCI VCN size ranges?

A

The allowed range is /16 to /30. /8 and /32 are not supported.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which are the IP adresses reserved in a VCN?

A

Thre IP addresses are reserved in an OCI VCN
The first two and last one.
This is different from a classic network where the first and last are reserved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a VNIC?

A

Virtual Network Interface Card
VNIC is a component that enables a compute instance to connect to a VCN.
The VNIC determines how the instance connects with endpoints inside and outside the VCN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many private IP addresses has an Instance?

A

At least ONE primary private IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many VNICs can an Instance have?

A

Each Instance can have 2 or more Virtual Network Interface cards (one primary and one secondary).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a public IP?

A

Public IP is a IPv4 address that is reachable from the internet; assigned to a private IP object on the resource (Instance, load balancer).

You can assign a given resource multiple public IPs across one or more VNICs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many types of Public IP Addresses are in the OCI?

A

2 Types of Public IPs:

  • Ephemeral
  • Reserved
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Ephemeral Public IP Address

A

A Ephemeral Public IP Address is Temporary and exists only for the lifetime of the instance.

Can be assigned only to primary Private IP only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Reserved Public IP?

A

A Rserved Public IP is a persistent and existing beyond the lifetime of the Instance it’s assigned to (can be unassigned and then reassigned to another instance)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a route table?

A

Contains rules about how IP packets can travel to different IP addresses out of the VCN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Of which a Route Table consists?

A

A rout table consists of a set of rules; each rule specifies:

  • Destination CIDR block
  • Route target (the next hop) for the traffic that matches that CIDR (classless inter-domain routing)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How many route tables a subnet has?

A

Each subnet has only One route table.

The route table is specified at the creation of the Subnet. But it can be edited later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When is a route table used?

A

Route table is used only if the destination IP address is not in the VCN’s CIDR block.

17
Q

What is a NAT gateway?

A

NAT Gateway - Network Address Translation - gives an entire private network access to the internet without assigning wach host a public IP.

Hosts can initiate outbound connections to the internet and receive responses, but not receive inbound connections initiated from the internet.
Use cases: patches, updates.

18
Q

What is a Service Gateway?

A

The Service Gateway lets resources in VCN access public OCI services such as Object Storage, but without using internet or NAT gateway.

19
Q

What is a CIDR Service

A

Service CIDR label represent all the public CIDRs for a given Oracle Service or a group of Oracle services
E.g.: OCI Object Storage
All Services

20
Q

What is a Dynamic Routing Gateway?

A

A virtual router that provides a path for private traffic between your VCN and destinations other than the internet (example OCI - customer datacenters).

21
Q

What are the types of Peering supported by the OCI?

A

Local Peering

Remote peering

22
Q

What is Local Peering?

A

VCN peering is the process of connecting multiple VCNs

Local VCN peering is the process of connecting two VCNs in the same region so that their resources can communicate using private IP addresses.

23
Q

What is a Local Peering Gateway (LPG)

A

A local peering gateway is a component on a VCN for routing traffic to a loccaly peered VCN.

24
Q

Can two peered VCNs have overlapping CIDRs?

A

No

25
Q

What is Remote VCN peering?

A

Remote VCN peering is the process of connecting two VCNs in different regions so that their resources can communicate using private IP addresses.

Requires a remote peering connection (RPC) to be created on the DRGs. RPC’s job is to act as a connection point for a remotely peered VCN.

26
Q

What is a Security List

A

A Security List is a set of firewall rules associated with a subnet and applied to all instances launched inside the subnet.

Security lists consists of rules that specify the types of traffic allowed in and out of the subnet.

27
Q

What is a Network Security Group (NSG)?

A

A Network Security Group (NSG) provides a virtual firewall for a set of cloud resources that all have the same security posture.

NSG consists of a set of rules that apply only to a set of VNICs of your choice in a single VCN.

28
Q

What is a Stateful Security Rule?

A

A Statefull Security Rule allows automatically for any incomming traffic a response, regardless of any egress rule

29
Q

What is a Stateless Security Rule?

A

A Stateless Security Rule does not allow outgoing traffic automattically based on the incoming traffic.

30
Q

What are the Default Components with which the VCN comes?

A

Default Route Table
Default Security List
Default set of DHCP options

You cannot delete these resources, but you can modify them