<< Prev Question Next Question >>

Question 78/195

An operations engineer is planning to start a container running a PostgreSQL database. The engineer wants the container to start automatically at system startup, mount the /home/db directory as /var/lib/postgresql inside the container, and expose port 5432 to the OS. Which of the following commands should the engineer run to achieve this task?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (195q)
Question 1: A Linux administrator copied a Git repository locally, creat...
Question 2: A Linux administrator is troubleshooting SSH connection issu...
Question 3: Which of the following commands should a technician use to c...
Question 4: A systems administrator created a user cron to run a schedul...
Question 5: A Linux administrator needs to create a new user named user0...
Question 6: A Linux administrator has defined a systemd script docker-re...
Question 7: A Linux administrator is providing a new Nginx image from th...
Question 8: A systems administrator is creating new user accounts on sev...
Question 9: Users have been unable to reach www.comptia.org from a Linux...
Question 10: Which of the following best describes JSON?...
Question 11: A Linux user is trying to execute commands with sudo but is ...
Question 12: The group named support is unable to make changes to the con...
Question 13: A DevOps engineer needs to allow incoming traffic to ports i...
Question 14: A Linux administrator is configuring Apache on a system and ...
Question 15: Which of the following options represents disk mirroring?...
Question 16: A systems administrator receives the following message after...
Question 17: A systems administrator is compressing old log files in orde...
Question 18: Users report that connections to a MariaDB service are being...
Question 19: The development team created a new branch with code changes ...
Question 20: A Linux administrator is installing a web server and needs t...
Question 21: A database administrator requested the installation of a cus...
Question 22: An administrator is trying to diagnose a performance issue a...
Question 23: Which of the following tools is commonly used for creating C...
Question 24: A systems administrator is reconfiguring existing user accou...
Question 25: Application code is stored in Git. Due to security concerns,...
Question 26: The group owner of the / home/ test directory would like to ...
Question 27: A junior administrator is setting up a new Linux server that...
Question 28: A Linux administrator tries to install Ansible in a Linux en...
Question 29: An administrator is investigating why a Linux workstation is...
Question 30: A systems administrator needs to disable root login for SSH....
Question 31: A systems administrator needs to create a new service unit f...
Question 32: In order to copy data from another VLAN, a systems administr...
Question 33: The journald entries have filled a Linux machine's /var volu...
Question 34: A user (userA) has reported issues while logging in to the s...
Question 35: An administrator recently updated the BIND software package ...
Question 36: A Linux administrator rebooted a server. Users then reported...
Question 37: Which of the following specifications is used to perform dis...
Question 38: A Linux administrator found many containers in an exited sta...
Question 39: During a security scan, the password of an SSH key file appe...
Question 40: A Linux administrator is trying to remove the ACL from the f...
Question 41: A Linux administrator needs to analyze a failing application...
Question 42: A Linux systems administrator needs to add additional code t...
Question 43: A User on a Linux workstation needs to remotely start an app...
Question 44: Which of the following tools is BEST suited to orchestrate a...
Question 45: Employees in the finance department are having trouble acces...
Question 46: A Linux engineer needs to get information from the foo.com d...
Question 47: A Linux administrator is troubleshooting an issue in which a...
Question 48: A Linux administrator is troubleshooting an issue in which u...
Question 49: An administrator installed an application from source into /...
Question 50: A Linux administrator is configuring network traffic forward...
Question 51: Users connecting to a MySQL database on a Linux system repor...
Question 52: A Linux systems administrator wants to validate the network ...
Question 53: When trying to log in remotely to a server, a user receives ...
Question 54: An administrator logs in to a Linux server and notices the c...
Question 55: A user created the following script file: # ! /bin/bash # FI...
Question 56: The systemd logs are disappearing after a restart, even thou...
Question 57: A Linux administrator intends to start using KVM on a Linux ...
Question 58: A systems administrator wants to delete app . conf from a Gi...
Question 59: A Linux engineer receives the following notification from a ...
Question 60: The MySQL database process that was running on a Linux serve...
Question 61: A Linux administrator needs to transfer a local file named a...
Question 62: Users report that they cannot access some files located in t...
Question 63: An administrator wants to reorganize the /etc/sudoers config...
Question 64: An administrator is provisioning an Apache web server. When ...
Question 65: A systems administrator needs to reconfigure a Linux server ...
Question 66: Which of the following is a way to enable a production web s...
Question 67: A user reported issues when trying to log in to a Linux serv...
Question 68: A systems administrator is cloning a system partition /dev/s...
Question 69: A hardened physical Linux system allows regular, unprivilege...
Question 70: Users are reporting that a Linux server is responding slowly...
Question 71: A junior administrator updated the PostgreSQL service unit f...
Question 72: An administrator accidentally deleted the /boot/vmlinuz file...
Question 73: A systems administrator changed the file permissions on the ...
Question 74: A junior administrator is trying to set up a passwordless SS...
Question 75: After trying to install an RPM package unsuccessfully, a sys...
Question 76: A systems administrator created a web server for the company...
Question 77: A user is asking the systems administrator for assistance wi...
Question 78: An operations engineer is planning to start a container runn...
Question 79: A new disk was presented to a server as /dev/ sdd. The syste...
Question 80: A Linux administrator needs to list the packages that are cu...
Question 81: A systems administrator needs to clone the partition /dev/sd...
Question 82: A systems administrator is checking the system logs. The adm...
Question 83: A systems administrator is deploying three identical, cloud-...
Question 84: Users report that they cannot access some files located in t...
Question 85: A new file was added to a main Git repository. An administra...
Question 86: A user generated a pair of private-public keys on a workstat...
Question 87: A Linux administrator is configuring a two-node cluster and ...
Question 88: The applications team is reporting issues when trying to acc...
Question 89: A Linux administrator is troubleshooting an SSHD issue on a ...
Question 90: A systems administrator wants to be sure the sudo rules just...
Question 91: A systems administrator is troubleshooting a connectivity is...
Question 92: A systems administrator made some changes in the ~/.bashrc f...
Question 93: A technician wants to temporarily use a Linux virtual machin...
Question 94: A systems administrator is working on a security report from...
Question 95: Joe, a user, is unable to log in to the Linux system Given t...
Question 96: A systems administrator wants to upgrade /bin/ someapp to a ...
Question 97: A systems administrator has been unable to terminate a proce...
Question 98: A Linux administrator has defined a systemd script docker-re...
Question 99: A Linux administrator needs to determine whether a hostname ...
Question 100: A server administrator has scheduled a cron job to run YUM u...
Question 101: A Linux systems administrator has applied the necessary conf...
Question 102: A systems administrator is enabling LUKS on a USB storage de...
Question 103: A Linux administrator logs in to a system and identifies tha...
Question 104: Joe, a user, is unable to log in to the system. The Linux ad...
Question 105: A Linux administrator generated a list of users who have roo...
Question 106: A Linux administrator needs to run a web application on a se...
Question 107: Which of the following would significantly help to reduce da...
Question 108: An administrator wants to execute a long-running script in t...
Question 109: A Linux administrator discovers that a configured schedule i...
Question 110: A Linux administrator changed a systemd configuration. Howev...
Question 111: A Linux administrator created a virtual clone of a physical ...
Question 112: Which of the following should be used to verify the integrit...
Question 113: A systems administrator is tasked with preventing logins fro...
Question 114: An administrator thinks that the user Joe may be running an ...
Question 115: Which of the following best describes the function of Linux ...
Question 116: Users report issues when trying to securely connect to a web...
Question 117: An administrator made a change to a system's network configu...
Question 118: A Linux administrator needs to harden a system and guarantee...
Question 119: A Linux administrator needs to determine if prerequisites ar...
Question 120: A Linux administrator is tasked with adding users to the sys...
Question 121: A Linux administrator is troubleshooting a memory-related is...
Question 122: An administrator wants to copy files from /opt/tools to the ...
Question 123: Which of the following characteristics of YAML and JSON are ...
Question 124: A Linux administrator is scheduling a system job that runs a...
Question 125: A Linux administrator is configuring a new internal web serv...
Question 126: A systems administrator creates a public key for authenticat...
Question 127: An administrator thinks that a package was installed using a...
Question 128: An organization's business office needs to collaborate on qu...
Question 129: An administrator started a long-running process in the foreg...
Question 130: A security team discovers that a web server has been running...
Question 131: A Linux administrator reviews a set of log output files and ...
Question 132: A Linux administrator needs to deploy an Apache web server i...
Question 133: Which of the following is a benefit of a service mesh?...
Question 134: While inspecting a recently compromised Linux system, the ad...
Question 135: Following the migration from a disaster recovery site, a sys...
Question 136: A systems technician needs to install a third-party software...
Question 137: A Linux administrator needs to obtain a list of all volumes ...
Question 138: A systems administrator is receiving tickets from users who ...
Question 139: An administrator is running a web server in a container name...
Question 140: An administrator is troubleshooting a database service outag...
Question 141: An application requires a configuration file be placed in ea...
Question 142: A Linux systems administrator receives a report that a user ...
Question 143: A non-privileged user is attempting to use commands that req...
Question 144: A cloud engineer needs to launch a container named web-01 in...
Question 145: A systems administrator intends to use a UI-JID to mount a n...
Question 146: A junior Linux administrator is tasked with installing an ap...
Question 147: A user sends a request to access a virtual server via SSH. W...
Question 148: An administrator transferred a key for SSH authentication to...
Question 149: After system startup, the X Window System GUI login interfac...
Question 150: A DevOps engineer is working on a local copy of a Git reposi...
Question 151: A systems administrator is tasked with mounting a USB drive ...
Question 152: A DevOps engineer wants to allow the same Kubernetes contain...
Question 153: A Linux systems administrator is configuring a new filesyste...
Question 154: The administrator comptia is not able to perform privileged ...
Question 155: A Linux administrator needs to expand a volume group using a...
Question 156: An administrator added the port 2222 for the SSH server on m...
Question 157: A Linux administrator is configuring a log collector agent t...
Question 158: The journald entries have filled a Linux machine's /var volu...
Question 159: A Linux system is failing to boot with the following error: ...
Question 160: A Linux administrator is updating the file that contains the...
Question 161: Which of the following is the best tool for dynamic tuning o...
Question 162: An administrator would like to mirror the website files on t...
Question 163: A Linux administrator needs to create an image named sda.img...
Question 164: A new drive was recently added to a Linux system. Using the ...
Question 165: A systems administrator is reviewing the following output on...
Question 166: A user is attempting to log in to a Linux server that has Ke...
Question 167: A Linux administrator is attempting to capture all network t...
Question 168: A Linux administrator needs to check the content of a log fi...
Question 169: A Linux administrator needs to remove all local firewall rul...
Question 170: A systems administrator wants to permit access temporarily t...
Question 171: A systems administrator requires that all files that are cre...
Question 172: A systems administrator notices the process list on a missio...
Question 173: A Linux user would like the shell changed to /bin/bash. Whic...
Question 174: Using AD Query, the security gateway connections to the Acti...
Question 175: Which of the following can reduce the attack surface area in...
Question 176: A systems administrator needs to check if the service system...
Question 177: A systems administrator changed the file permissions on the ...
Question 178: A cloud engineer needs to block the IP address 192.168.10.50...
Question 179: A Linux systems administrator needs to compress a file named...
Question 180: A systems administrator wants to check if the ntpd service i...
Question 181: A systems administrator receives reports that several virtua...
Question 182: A developer wants to ensure that all files and folders creat...
Question 183: Which of the following concepts describes the approach of ke...
Question 184: A hardened physical Linux system allows regular, unprivilege...
Question 185: A systems administrator is trying to track down a rogue proc...
Question 186: A Linux engineer has been notified about the possible deleti...
Question 187: A systems administrator created a new directory with specifi...
Question 188: Which of the following actions is required to establish pass...
Question 189: Which of the following enables administrators to configure a...
Question 190: What is the main objective when using Application Control?...
Question 191: A web application that uses a database for managing logins n...
Question 192: A senior administrator has placed a private key for user adm...
Question 193: Which of the following paths stores the configuration files ...
Question 194: A Linux administrator created a new file system. Which of th...
Question 195: Due to low disk space, a Linux administrator finding and rem...