Search Header Logo

4.5 - 4.7 Review - Missed Questions

Authored by Wayground Content

Education

12th Grade

4.5 - 4.7 Review - Missed Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to change the current group ID during a login session?

groupmod

groups

usermod

newgrp

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of your users, Karen Scott, has recently married and is now Karen Jones. She has requested that her username be changed from kscott to kjones with no other values changed. Which of the following commands would accomplish this?

usermod -l kscott kjones

usermod -l kjones kscott

usermod -u kscott kjones

usermod -u kjones kscott

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands would you use to view the current soft limits on a Linux machine?

ulimit -u

ulimit -n

ulimit -a

ulimit -c

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of the following command? chage -M 60 -W 10 jsmith

Forces jsmith to keep the password for 60 days before changing it while also giving a warning 10 days before expiration.

Deletes the jsmith user account after 60 days and gives a warning 10 days before expiration.

Sets the password for jsmith to expire after 60 days and sets a minimum of 10 days before a user can change the password again.

Sets the password for jsmith to expire after 60 days and gives a warning 10 days before expiration.

Sets the password for jsmith to expire after 10 days and gives a warning 60 days before expiration.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are the administrator for a small company, and you need to add a standard new group of users to the system. The group's name is sales. Which command accomplishes this task?

addgroup sales

addgroup --system sales

groupadd -r sales

groupadd sales

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are a system administrator and you notice that a particular user's processes are consuming an unusually high amount of system resources, causing performance issues for other users. You decide to use the ulimit command to limit the resources available to this user's processes. Which of the following options would be the MOST effective solution and why?

Use the -n option to limit the maximum number of files that the user can open.

Use the -t option to limit the amount of CPU time a process can use.

Use the -u option to limit the number of concurrent processes the user can run.

Use the -f option to limit the file size of files created using the shell session.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands removes a user from all secondary group memberships?

usermod -G

usermod -G ""

usermod -aG

usermod -g

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?