IT Questions and Answers :)

Tuesday, April 23, 2019

In CSS, which one of these symbols is the child selector?

In CSS, which one of these symbols is the child selector?

  • -
  • +
  • >
In CSS, which one of these symbols is the child selector?

EXPLANATION

The greater-than symbol ">" is the child selector in CSS and is written between two elements, the first element being the parent and the second element being the child. From the W3Schools website,
"The child selector selects all elements that are the immediate children of a specified element."

SOURCE

https://www.w3schools.com/css/css_combinators.asp

Share:

Monday, April 22, 2019

What is the command to restart IIS services on the command line?

What is the command to restart IIS services on the command line?

  • iisrestart
  • iisreset
  • iisrecycle
  • iisrefresh 

What is the command to restart IIS services on the command line?

EXPLANATION

An IIS server can be restarted without rebooting the entire machine by running the iisreset command on the command line.  There is a button on the IIS management console that can also do this; additionally, you can manually restart the services involved.


Take IISReset as a suite of commands that helps you manage IIS start / stop etc.
Which means you need to specify option (/switch) what you want to do to carry any operation.
Default behavior OR default switch is /restart with iisreset so you do not need to run command twice with /start and /stop.
Hope this clarifies your question. Check this MS DOS help picture you will understand.



Share:

I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

  • Hybrid Cloud
  • Private Cloud
  • Public Cloud
  • Virtual Private Cloud 

 
I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

EXPLANATION

This type of architecture would be a hybrid cloud. Why? Because we are using both, the public cloud, and your on premises servers i.e the private cloud. To make this hybrid architecture easy to use, wouldn’t it be better if your private and public cloud were all on the same
network(virtually). This is established by including your public cloud servers in a virtual private cloud, and connecting this virtual cloud with your on premise servers using a VPN(Virtual Private Network).

SOURCE

https://www.edureka.co/blog/interview-questions/top-aws-architect-interview-questions-2016/
Share:

Which of these would manually trigger a synchronization for Azure AD Connect through PowerShell?

Which of these would manually trigger a synchronization for Azure AD Connect through PowerShell?

  • start-adsyncsynccycle -policytype alfa
  • start-adsyncsynccycle -policytype delta
  • start-adsyncsynccycle -policytype all
  • start-adsyncsynccycle 
Which of these would manually trigger a synchronization for Azure AD Connect through PowerShell?

EXPLANATION

You can still force an export by using the synchronization service manager.
A server in staging mode continues to receive changes from Active Directory and Azure AD. It always has a copy of the latest changes and can very fast take over the responsibilities of another server.
If you make configuration changes to your primary server, it is your responsibility to make the same changes to the server in staging mode.
start-adsyncsynccycle -policytype delta

SOURCE

https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-operations
Share:

What command does someone type in a terminal session in Linux to turn it into a superuser session?

What command does someone type in a terminal session in Linux to turn it into a superuser session?

  • sudo -i
  • chmod
  • wget
  • chkdsk 

EXPLANATION

 chmod In Unix-like operating systems, is the command and system call which may change the access permissions to file system objects. It may also alter special mode flags. The request is filtered by the umask. The name is an abbreviation of change mode.



Wget is a computer program that retrieves content from web servers. It is part of the GNU Project. Its name derives from World Wide Web and get. It supports downloading via HTTP, HTTPS, and FTP
CHKDSK is a system tool in DOS, OS/2 and Windows. It verifies the file system integrity of a volume and fixes logical file system errors. It is similar to the fsck command in Unix.
sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for "superuser do" as the older versions of sudo were designed to run commands only as the superuser.
 
Share:

What keyboard combination allows you to restore out of a Windows remote desktop session back to your desktop so you can use Alt + Tab to switch apps on your desktop, not the RDP session and then allows you to restore to full screen RDP again?

What keyboard combination allows you to restore out of a Windows remote desktop session back to your desktop so you can use Alt + Tab to switch apps on your desktop, not the RDP session and then allows you to restore to full screen RDP again?

  • Ctrl Alt Tab
  • Ctrl Shift Tab
  • Ctrl Alt Break
  • Alt Shift Break 


EXPLANATION

Pressing Ctrl + Alt + Fn + B maximizes the RDP session.

SOURCE

https://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/rdp-full-screen-wo-break-pause-key/0aba31a9-b375-443b-8066-a57d41ea333c 
Share:

I have keys but do not lock. I have space but have no room. You can enter but not come in what am I?

I have keys but do not lock. I have space but have no room. You can enter but not come in what am I?

  • Hard Drive
  • The Riddler
  • Keyboard
  • Windows

EXPLANATION

I have keys but no locks I have space but no room You can enter but cant go outside. Thank you for visiting our website. Below you will be able to find all I have keys but no locks I have space but no room You can enter but cant go outside . This is an excellent riddle which is tricky at the same time.

SOURCE

 https://www.answersking.com/i-have-keys-but-no-locks-i-have-space-but-no-room-you-can-enter-but-cant-go-outside/

Share:

Popular Posts

Blog Archive