IT Questions and Answers :)

Saturday, February 22, 2020

Modern ethernet protocol relies on CSMA/CD to provide reliable communications. Does 802.11 WLANs also use CSMA/CD?

Modern ethernet protocol relies on CSMA/CD to provide reliable communications. Does 802.11 WLANs also use CSMA/CD?

  • Yes - CSMA/CD will set proper throughput
  • No - CSMA/CD is never used in wi-fi WLANs
  • No - CSMA/CD is never used in modern networks
  • Yes - CSMA/CD will setup channel number 
Modern ethernet protocol relies on CSMA/CD to provide reliable communications. Does 802.11 WLANs also use CSMA/CD?

EXPLANATION

CSMA/CD isn't ever used for Wifi LANs but the question specifically uses the word "modern" and MODERN wired LANs don't use it either. Modern wired networks rely on collision detection being performed by the switch - and the explanation offered even says:
CSMA/CD - Carrier sense multiple access with collision detection - is a media access control method used most notably in early Ethernet technology for local area ..
Note: "... used most notably in EARLY Ethernet technology ..."
Refer: https://en.wikipedia.org/wiki/Carrier_sense_multiple_access_with_collision_detection

 

Share:

Which Exchange cmdlet shows who has access to a particular user's mailbox and what type of access they have?

Which Exchange cmdlet shows who has access to a particular user's mailbox and what type of access they have?

  • Look-MailboxPermission -Identity username
  • Open-MailboxPermission -Identity username
  • Get-MailboxPermission -Identity username
  • View-MailboxPermission -Identity username 
Which Exchange cmdlet shows who has access to a particular user's mailbox and what type of access they have?

EXPLANATION

​This question seems to get asked a lot, and people are unaware how easy the answer really is. Here it is:
  • List all mailboxes to which a particular user has Full Access permissions:










PS C:\> Get-Mailbox | Get-MailboxPermission -User vasil
Identity             User                 AccessRights
--------             ----                 ------------
HuKu                 Vasil Michev         {FullAccess}
retail               Vasil Michev         {FullAccess}
sharednew            Vasil Michev         {FullAccess}
testplan2            Vasil Michev         {FullAccess}
WC                   Vasil Michev         {FullAccess}
  • List all shared/user/room/whatever mailboxes to which particular user has Full Access permissions:









PS C:\> Get-Mailbox -RecipientTypeDetails UserMailbox,SharedMailbox -ResultSize Unlimited | Get-MailboxPermission -User vasil
Identity             User                 AccessRights
--------             ----                 ------------
HuKu                 Vasil Michev         {FullAccess}
retail               Vasil Michev         {FullAccess}
sharednew            Vasil Michev         {FullAccess}testplan2            Vasil Michev         {FullAccess}
  • List all mailboxes to which members of a particular security group have access:





PS C:\> Get-Mailbox | Get-MailboxPermission -User secgrp
Identity             User                 AccessRights
--------             ----                 ------------
Bathroom             secgrp               {FullAccess}
  • List all mailboxes to which a user has Send As permissions:





PS C:\> Get-Mailbox | Get-RecipientPermission -Trustee vasil
Identity                            Trustee                             AccessControlType                   AccessRights
--------                            -------                             -----------------                   ------------
sharednew                           Vasil Michev                        Allow                               {SendAs}
  • List all user mailboxes to which members of a particular security group have Send As access:





PS C:\> Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited | Get-RecipientPermission -Trustee secgrp
Identity                            Trustee                             AccessControlType                   AccessRights
--------                            -------                             -----------------                   ------------
HuKu                                secgrp                              Allow                               {SendAs}
  • List all mailboxes to which a particular security principal has Send on behalf of permissions:






PS C:\> Get-Mailbox | ? {$_.GrantSendOnBehalfTo -match "vasil"}
Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
Bathroom                  bathroom             amspr03mb084     49.5 GB (53,150,220,288 bytes)
WC                        WC                   dbxpr03mb096     9.5 GB (10,200,547,328 bytes)
Share:

What was the first version of Windows to incorporate the Aero Glass theme?

What was the first version of Windows to incorporate the Aero Glass theme?

  • Windows Vista
  • Windows 8
  • Windows XP
  • Windows 7 

EXPLANATION

Windows Aero (a backronym for Authentic, Energetic, Reflective, and Open)[1] is a design language introduced in the Windows Vista operating system. The changes made in the Aero interface affected many elements of the Windows interface, including the incorporation of a new look, along with changes in interface guidelines reflecting appearance, layout, and the phrasing and tone of instructions and other text in applications.
Windows Aero was in force during the development of Windows Vista and Windows 7. In 2012, with the development of Windows 8 and Windows Server 2012, Microsoft moved on to a design language codenamed "Metro".

On Windows Vista and Windows 7 computers that meet certain hardware and software requirements, the Aero Glass theme is used by default, primarily incorporating various animation and transparency effects into the desktop using hardware acceleration and the Desktop Window Manager (DWM). In the "Personalize" section added to Control Panel of Windows Vista, users can customize the "glass" effects to either be opaque or transparent, and change the color it is tinted. Enabling Aero Glass also enables other new features, including an enhanced Alt-Tab menu and taskbar thumbnails with live previews of windows, and "Flip 3D", a window switching mechanism which cascades windows with a 3D effect.
Windows 7 features refinements in Aero Glass, including larger window buttons by default (minimize, maximize, close and query), revised taskbar thumbnails, the ability to manipulate windows by dragging them to the top or sides of the screen (to the side to make it fill half the screen, and to the top to maximize), the ability to hide all windows by hovering the Show Desktop button on the taskbar, and the ability to minimize all other windows by shaking one.
Use of DWM, and by extension the Aero Glass theme, requires a video card with 128 MB of graphics memory (or at least 64 MB of video RAM and 1 GB of system RAM for on-board graphics) supporting pixel shader 2.0, and with WDDM-compatible drivers. Aero Glass is also not available in Windows 7 Starter, only available to a limited extent on Windows Vista Home Basic, and is automatically disabled if a user is detected to be running a non-genuine copy of Windows.[16][17] Windows Server 2008 and Windows Server 2008 R2 also support Aero Glass as part of the "Desktop Experience" component, which is disabled by default.[18]


Share:

Friday, February 21, 2020

In Microsoft Azure, What server size/series uses credits and slows down if the credits run out?

In Microsoft Azure, What server size/series uses credits and slows down if the credits run out?

  • F series
  • D series
  • B series
  • A series 
In Microsoft Azure, What server size/series uses credits and slows down if the credits run out?

EXPLANATION

The B-series VMs are ideal for workloads that do not need the full performance of the CPU continuously, like web servers, proof of concepts, small databases and development build environments. These workloads typically have burstable performance requirements. The B-series provides you with the ability to purchase a VM size with baseline performance and the VM instance builds up credits when it is using less than its baseline.
When the VM has accumulated credit, the VM can burst above the baseline using up to 100% of the vCPU when your application requires higher CPU performance. If the CPU usage goes above 25% it will start to consume credit. WHen the credits run out the server will run at baseline rate.

SOURCE

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/b-series-burstable
Share:

Which of the following lines of code is not in proper Syntax for its language?

Which of the following lines of code is not in proper Syntax for its language?

  • VISIBLE "HAI WORLD!!!1!"
  • console.log(Hello World!);
  • cout << "Hello World!" << endl;
  • TALK TO THE HAND "Hello, World!" 
Which of the following lines of code is not in proper Syntax for its language?

EXPLANATION

The correct answer is console.log(Hello World!); The code is written in JavaScript and it is missing the apostrophes around 'Hello World!' The working version of this code would be: console.log('Hello World!');
The rest of the lines of code are all completely legal for their own language. The first being C++ the code cout << "Hello World!" << endl; will print the words "Hello World!" to the console and then move to the next line.
The next answer is written in ArnoldC which is a language based off of quotes from movies that featured Arnold Schwarzenegger. YOU HAVE BEEN TERMINATED
The final, and my favorite is called LOLCODE, which is a c based language that features language used by the stereotypical lolcatz. If you would like to learn more about this language there is a website dedicated to its use. you can find it here at http://lolcode.org

PS. Yes I sourced wikipedia, it only let me source one website.

SOURCE

https://en.wikipedia.org/wiki/Esoteric_programming_language




Share:

Popular Posts