quizzes/remoting.quiz.json

{
  "$schema": "https://raw.githubusercontent.com/jdhitsolutions/PSQuizMaster/main/psquiz.schema.json",
  "metadata": {
    "name": "PowerShell Remoting",
    "author": "Jeff Hicks",
    "description": "A short quiz on PowerShell remoting concepts.",
    "version": "0.2.1",
    "id": "32248289-3ca9-4fb6-acde-524c809bf50e",
    "updated": "2023-07-05 15:36:18Z"
  },
  "questions": [
    {
      "question": "What command do you run to enter an interactive remoting session?",
      "answer": "Enter-PSSession",
      "distractors": [
        "New-PSSession",
        "New-CimSession",
        "Enter-CimSession",
        "Winrm"
      ],
      "note": "Don't confuse PSSessions with CimSessions."
    },
    {
      "question": "What is the default PowerShell remoting port?",
      "answer": "5985",
      "distractors": [
        "5986",
        "22",
        "80",
        "443"
      ],
      "note": "If using SSL, the default port will be 5986."
    },
    {
      "question": "What PSDrive contains remoting configuration?",
      "answer": "WSMan",
      "distractors": [
        "CimSession",
        "WinRM",
        "Remoting",
        "Remote"
      ],
      "note": "You will need elevated privileges to modify this drive."
    },
    {
      "question": "What command do you run to create a new PSSession?",
      "answer": "New-PSSession",
      "distractors": [
        "New-CimSession",
        "New-WSManSession",
        "New-RemoteSession",
        "Invoke-Command"
      ],
      "note": ""
    },
    {
      "question": "What is the advantage of PowerShell remoting over legacy protocols?",
      "answer": "Remoting uses a single port and is encrypted by default.",
      "distractors": [
        "PowerShell Remoting allows any user to connect.",
        "PowerShell Remoting and legacy remoting protocols are the same.",
        "PowerShell Remoting doesn't require WMI",
        "PowerShell Remoting only creates persistent connections."
      ],
      "note": "Read the about_remote to learn more."
    },
    {
      "question": "What PSDrive can you use to manage your remoting configuration?",
      "answer": "WSMan",
      "distractors": [
        "SSH",
        "PSSession",
        "WinRM",
        "Remote"
      ]
    }
  ]
}