Correct question:
What is the missing line?
>>> myDeque = deque('math')
>>> myDeque
deque(['m', 'a', 't'])
Answer:
myDeque.pop()
Explanation:
The double ended queue, deque found in the python collection module is very similar to a python list and can perform operations such as delete items, append and so on.
In the program written above, the missing line is the myDeque.pop() as the pop() method is used to delete items in the created list from the right end of the list. Hence, the 'h' at the right end is deleted and we have the output deque(['m', 'a', 't'])
myDeque.popleft () deletes items from the right.
Seven Domains of IT Infrastructure Seven domains can be found in a typical IT infrastructure. They are as follows: User Domain, Workstation Domain, LAN Domain, LAN-to-WAN Domain, Remote Access Domain, WAN Domain, and System/Application Domain.
Explanation:
User Domain : The User Domain covers all theusers (of any rank) that haveaccess to the other six domains.
RISKS:
-
User can destroy data in application(intentionally or not) and delete all
- User can insert infected CD or USBflash drive into the work computer
Workstation Domain : A computer of an individual user where the production takes place
RISKS:
- The workstation’s OS can have a known software vulnerability thatallows a hacker to connect remotelyand steal data.
- A workstation’s hard drive can fail causing lost data
LAN Domain : Contains all of the workstations,hubs, switches, and routers. TheLAN is a trusted zone
RISKS:
-
A worm can spread through the LANand infect all computers in it.
- LAN server OS can have a knownsoftware vulnerability.
WAN Domain : Stands for Wide Area Network and consists of the Internet and semi-private lines
RISKS:
- Service provider can have a major network outage.
- Server can receive a DOS or DDOS attack.
- A FTP server can allow anonymously uploaded illegal software
LAN / WAN Domain : The boundary between the trusted and un-trusted zones.The zones are filtered with a firewall
RISKS:
- Weak ingress/egress traffic filteringcan degrade performance.
- A firewall with unnecessary portsopen can allow access from the Internet
System / Application Storage Domain : This domain is made up of user-accessed servers suchas email and database
RISKS:
- A fire can destroy primary data
- A DOS attack can cripple the organization’s email
Remote Access Domain :The domain in which a mobileuser can access the local network remotely, usually through a VPN
RISKS:
- Communication circuit outage candeny connection.
- Remote communication from officecan be unsecured.
- VPN tunneling between remotecomputer and ingress/egress routercan be hacked