nerdexam
CompTIA

FC0-U61 · Question #125

Which of the following permissions is required to run a .bat file?

The correct answer is B. Execute. To launch and run a batch (.bat) file on an operating system, the user must have the 'Execute' permission enabled for that file.

Security

Question

Which of the following permissions is required to run a .bat file?

Options

  • ADelete
  • BExecute
  • CWrite
  • DModify

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    94% (48)
  • D
    4% (2)

Why each option

To launch and run a batch (.bat) file on an operating system, the user must have the 'Execute' permission enabled for that file.

ADelete

Delete permission allows removing the file from the file system, but it does not enable the file to be run or executed.

BExecuteCorrect

The 'Execute' permission explicitly grants a user or process the ability to run a program, script, or batch file, which is necessary for a .bat file to function. Without this permission, the operating system will prevent the file from being launched.

CWrite

Write permission allows changes to the file's content or attributes, but it does not grant the right to run the file.

DModify

Modify permission typically includes read, write, and delete permissions, but 'Execute' is the specific and distinct permission required to run an executable file.

Concept tested: File system permissions - execute

Source: https://learn.microsoft.com/en-us/windows/security/identity-protection/access-control/access-control-overview

Topics

#file permissions#execute permission#operating system security

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice