Join the discussion
Question 1/152
A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task:

Which of the following technologies is the administrator using?

Which of the following technologies is the administrator using?
Correct Answer: D
Explanation
The code snippet is written in Terraform language, which is a tool for building, changing, and versioning infrastructure as code. Terraform uses a declarative syntax to describe the desired state of the infrastructure and applies the changes accordingly. The code defines a resource of type aws_instance, which creates an AWS EC2 instance, and sets the attributes such as the AMI ID, instance type, security group IDs, and key name. The code also uses a count parameter to create three identical instances and assigns them different names using the count.index variable. This is the correct technology that the administrator is using. The other options are incorrect because they use different languages and syntaxes for infrastructure as code. References: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Cloud and Virtualization Technologies, page 559.
The code snippet is written in Terraform language, which is a tool for building, changing, and versioning infrastructure as code. Terraform uses a declarative syntax to describe the desired state of the infrastructure and applies the changes accordingly. The code defines a resource of type aws_instance, which creates an AWS EC2 instance, and sets the attributes such as the AMI ID, instance type, security group IDs, and key name. The code also uses a count parameter to create three identical instances and assigns them different names using the count.index variable. This is the correct technology that the administrator is using. The other options are incorrect because they use different languages and syntaxes for infrastructure as code. References: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Cloud and Virtualization Technologies, page 559.
Add Comments
- Other Question (152q)
- Q1. A systems administrator is deploying three identical, cloud-based servers. The administrat...
- Q2. A systems administrator detected corruption in the /data filesystem. Given the following o...
- Q3. A Linux administrator wants to find out whether files from the wget package have been alte...
- Q4. A Linux administrator rebooted a server. Users then reported some of their files were miss...
- Q5. A Linux administrator has set up a new DNS forwarder and is configuring all internal serve...
- Q6. A Linux system is getting an error indicating the root filesystem is full. Which of the fo...
- Q7. A systems administrator wants to back up the directory /data and all its contents to /back...
- Q8. A systems administrator is tasked with creating a cloud-based server with a public IP addr...
- Q9. An administrator would like to securely connect to a server and forward port 8080 on a loc...
- Q10. A systems administrator is working on a security report from the Linux servers. Which of t...
- Q11. A systems administrator made some unapproved changes prior to leaving the company. The new...
- Q12. A junior administrator updated the PostgreSQL service unit file per the data-base administ...
- Q13. An administrator needs to make some changes in the IaC declaration templates. Which of the...
- Q14. Some servers in an organization have been compromised. Users are unable to access to the o...
- Q15. Users report that connections to a MariaDB service are being closed unexpectedly. A system...
- Q16. Which of the following can be used as a secure way to access a remote terminal?...
- Q17. A Linux administrator has installed a web server, a database server, and a web application...
- Q18. Based on an organization's new cybersecurity policies, an administrator has been instructe...
- Q19. A Linux administrator is troubleshooting SSH connection issues from one of the workstation...
- Q20. In order to copy data from another VLAN, a systems administrator wants to temporarily assi...
- Q21. A systems administrator is deploying three identical, cloud-based servers. The administrat...
- Q22. A user is asking the systems administrator for assistance with writing a script to verify ...
- Q23. A systems administrator is troubleshooting connectivity issues and trying to find out why ...
- Q24. A Linux administrator cloned an existing Linux server and built a new server from that clo...
- Q25. A systems administrator notices the process list on a mission-critical server has a large ...
- Q26. A cloud engineer needs to launch a container named web-01 in background mode. Which of the...
- Q27. Which of the following commands will display the operating system?...
- Q28. A server is experiencing intermittent connection issues. Some connections to the Internet ...
- Q29. As a Systems Administrator, to reduce disk space, you were tasked to create a shell script...
- Q30. A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available fo...
- Q31. An administrator is running a web server in a container named web, but none of the error o...
- Q32. A Linux systems administrator is configuring a new filesystem that needs the capability to...
- Q33. An administrator thinks that a package was installed using a snap. Which of the following ...
- Q34. As part of the requirements for installing a new application, the swappiness parameter nee...
- Q35. A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted u...
- Q36. A Linux administrator is installing a web server and needs to check whether web traffic ha...
- Q37. A Linux administrator booted up the server and was presented with a non-GUI terminal. The ...
- Q38. A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but r...
- Q39. A developer needs to launch an Nginx image container, name it Web001, and ex-pose port 808...
- Q40. A user created the following script file: # ! /bin/bash # FILENAME: /home/user/ script . s...
- Q41. A Linux administrator needs to expand a volume group using a new disk. Which of the follow...
- Q42. Based on an organization's new cybersecurity policies, an administrator has been instructe...
- Q43. A systems administrator needs to check if the service systemd-resolved.service is running ...
- Q44. Which of the following specifications is used to perform disk encryption in a Linux system...
- Q45. A Linux systems administrator receives a notification that one of the server's filesystems...
- Q46. A development team asks an engineer to guarantee the persistency of journal log files acro...
- Q47. Employees in the finance department are having trouble accessing the file /opt/work/file. ...
- Q48. A systems administrator wants to delete app . conf from a Git repository. Which of the fol...
- Q49. A systems administrator is encountering performance issues. The administrator runs 3 comma...
- Q50. A Linux administrator is troubleshooting the root cause of a high CPU load and average. (E...
- Q51. overwrite any existing files. Which of the following commands would indicate that the file...
- Q52. A systems administrator is notified that the mysqld process stopped unexpectedly. The syst...
- Q53. A Linux administrator needs to create a new cloud.cpio archive containing all the files fr...
- Q54. To harden one of the servers, an administrator needs to remove the possibility of remote a...
- Q55. After installing a new version of a package, a systems administrator notices a new version...
- Q56. A systems administrator is notified that the mysqld process stopped unexpectedly. The syst...
- Q57. Some servers in an organization have been compromised. Users are unable to access to the o...
- Q58. Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark app...
- Q59. A Linux administrator needs to correct the permissions of a log file on the server. Which ...
- Q60. A systems administrator creates a public key for authentication. Which of the following to...
- Q61. Users report that connections to a MariaDB service are being closed unexpectedly. A system...
- Q62. After listing the properties of a system account, a systems administrator wants to remove ...
- Q63. A new application container was built with an incorrect version number. Which of the follo...
- Q64. A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testin...
- Q65. A developer reported an incident involving the application configuration file /etc/httpd/c...
- Q66. A Linux administrator created the directory /project/access2all. By creating this director...
- Q67. A systems technician is working on deploying several microservices to various RPM-based sy...
- Q68. A Linux administrator provisioned a new web server with custom administrative permissions ...
- Q69. An administrator is trying to diagnose a performance issue and is reviewing the following ...
- Q70. Following the migration from a disaster recovery site, a systems administrator wants a ser...
- Q71. A systems administrator is configuring a Linux system so the network traffic from the inte...
- Q72. One leg of an LVM-mirrored volume failed due to the underlying physical volume, and a syst...
- Q73. Which of the following tools is commonly used for creating CI/CD pipelines?...
- Q74. A junior administrator is trying to set up a passwordless SSH connection to one of the ser...
- Q75. A junior systems administrator has just generated public and private authentication keys f...
- Q76. A Linux administrator was asked to run a container with the httpd server inside. This cont...
- Q77. Users have reported that the interactive sessions were lost on a Linux server. A Linux adm...
- Q78. The group named support is unable to make changes to the config file. An administrator is ...
- Q79. A Linux administrator is troubleshooting an issue in which an application service failed t...
- Q80. Junior system administrator had trouble installing and running an Apache web server on a L...
- Q81. A junior administrator is setting up a new Linux server that is intended to be used as a r...
- Q82. While inspecting a recently compromised Linux system, the administrator identified a numbe...
- Q83. A new Linux systems administrator just generated a pair of SSH keys that should allow conn...
- Q84. A Linux administrator needs to create an image named sda.img from the sda disk and store i...
- Q85. A Linux administrator is troubleshooting SSH connection issues from one of the workstation...
- Q86. A Linux system is having issues. Given the following outputs: # dig @192.168.2.2 mycomptia...
- Q87. A Linux administrator is troubleshooting a memory-related issue. Based on the output of th...
- Q88. A Linux administrator wants to prevent the httpd web service from being started both manua...
- Q89. A Linux administrator needs to resolve a service that has failed to start. The administrat...
- Q90. A Linux administrator is tasked with adding users to the system. However, the administrato...
- Q91. Several users reported that they were unable to write data to the /oracle1 directory. The ...
- Q92. A Linux administrator is providing a new Nginx image from the registry to local cache. Whi...
- Q93. A systems administrator detected corruption in the /data filesystem. Given the following o...
- Q94. Based on an organization's new cybersecurity policies, an administrator has been instructe...
- Q95. A systems administrator is troubleshooting connectivity issues and trying to find out why ...
- Q96. A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND e...
- Q97. As a Systems Administrator, to reduce disk space, you were tasked to create a shell script...
- Q98. A systems administrator is troubleshooting connectivity issues and trying to find out why ...
- Q99. An administrator is trying to diagnose a performance issue and is reviewing the following ...
- Q100. A systems administrator is receiving tickets from users who cannot reach the application a...
- Q101. A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND e...
- Q102. A systems administrator is compiling a report containing information about processes that ...
- Q103. A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted u...
- Q104. A developer has been unable to remove a particular data folder that a team no longer uses....
- Q105. A junior Linux administrator is tasked with installing an application. The installation gu...
- Q106. A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted u...
- Q107. A user is asking the systems administrator for assistance with writing a script to verify ...
- Q108. A DevOps engineer needs to download a Git repository from https://git.company.com/admin/pr...
- Q109. A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are val...
- Q110. A Linux administrator cloned an existing Linux server and built a new server from that clo...
- Q111. A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on...
- Q112. The applications team is reporting issues when trying to access the web service hosted in ...
- Q113. A Linux administrator was notified that a virtual server has an I/O bottleneck. The Linux ...
- Q114. Junior system administrator had trouble installing and running an Apache web server on a L...
- Q115. An administrator would like to mirror the website files on the primary web server, www1, t...
- Q116. A Linux administrator is troubleshooting a systemd mount unit file that is not working cor...
- Q117. A Linux administrator is scheduling a system job that runs a script to check available dis...
- Q118. An administrator created an initial Git repository and uploaded the first files. The admin...
- Q119. An administrator thinks that a package was installed using a snap. Which of the following ...
- Q120. A Linux administrator is scheduling a system job that runs a script to check available dis...
- Q121. A systems administrator has been unable to terminate a process. Which of the following sho...
- Q122. A Linux engineer needs to block an incoming connection from the IP address 2.2.2.2 to a se...
- Q123. A Linux administrator modified the SSH configuration file. Which of the following commands...
- Q124. In which of the following filesystems are system logs commonly stored?...
- Q125. A developer has been unable to remove a particular data folder that a team no longer uses....
- Q126. A Linux administrator modified the SSH configuration file. Which of the following commands...
- Q127. A systems administrator is tasked with changing the default shell of a system account in o...
- Q128. A systems administrator is investigating a service that is not starting up. Given the foll...
- Q129. As a Systems Administrator, to reduce disk space, you were tasked to create a shell script...
- Q130. A Linux administrator needs to expand a volume group using a new disk. Which of the follow...
- Q131. Some servers in an organization have been compromised. Users are unable to access to the o...
- Q132. An administrator transferred a key for SSH authentication to a home directory on a remote ...
- Q133. A Linux administrator needs to expand a volume group using a new disk. Which of the follow...
- Q134. A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are val...
- Q135. A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testin...
- Q136. A systems technician is working on deploying several microservices to various RPM-based sy...
- Q137. An administrator recently updated the BIND software package and would like to review the d...
- Q138. Which of the following technologies can be used as a central repository of Linux users and...
- Q139. A junior administrator is setting up a new Linux server that is intended to be used as a r...
- Q140. A systems administrator is investigating why one of the servers has stopped connecting to ...
- Q141. A systems administrator is investigating an issue in which one of the servers is not booti...
- Q142. A Linux administrator is scheduling a system job that runs a script to check available dis...
- Q143. A Linux administrator is adding a new configuration file to a Git repository. Which of the...
- Q144. A systems administrator is investigating why one of the servers has stopped connecting to ...
- Q145. A user is unable to log on to a Linux workstation. The systems administrator executes the ...
- Q146. A Linux user reported the following error after trying to connect to the system remotely: ...
- Q147. Application code is stored in Git. Due to security concerns, the DevOps engineer does not ...
- Q148. A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of th...
- Q149. A DevOps engineer wants to allow the same Kubernetes container configurations to be deploy...
- Q150. A systems administrator received a notification that a system is performing slowly. When r...
- Q151. A Linux administrator is configuring a new internal web server fleet. The web servers are ...
- Q152. A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard ...
