Question 41

Create a volume group,and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.

Question 42

Which of the following Ansible tasks copies the file example.txtto a manage system?
- rsync:
  • Question 43

    Which of the following elements are presents in a Vagrant box file? (Choose two correct answers.)
  • Question 44

    Configure the permissions of /var/tmp/fstab
    Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
    the file /var/tmp/fstab is owned by the root user.
    the file /var/tmp/fstab belongs to the group root.
    the file /var/tmp/fstab should not be executable by anyone.
    the user natasha is able to read and write /var/tmp/fstab.
    the user harry can neither write nor read /var/tmp/fstab.
    all other users (current or future) have the ability to read /var/tmp/fstab.

    Question 45

    SIMULATION
    According the following requirements to create user, user group and the group members:
    - A group named admin.
    - A user named mary, and belong to admin as the secondary group.
    - A user named alice, and belong to admin as the secondary group.
    - A user named bobby, bobby's login shell should be non-interactive. Bobby not belong to admin as the secondary group.
    Mary, Alice, bobby users must be set "password" as the user's password.