All Coursera Quiz Answers

Application Security Support Fundamentals Coursera Quiz Answers

In this article i am gone to share Coursera Course: Application Security Support Fundamentals by CompTIA | All Weeks Quiz Answers | Application Security Support Fundamentals Coursera Quiz Answers with you..

Enrol Link:ย  Application Security Support Fundamentals

Application Security Support Fundamentals Coursera Quiz Answers


 

WEEK 1 QUIZ ANSWERS

Practice Quiz: Operating Linux Computers Quiz Answers

Question 1)
Which of the following best explains the importance of Secure Shell (SSH)

  • SSH offers encrypted local access to Linux devices.
  • SSH displays the output of a command in screen-sized pages.
  • SSH offers encrypted remote access to Linux devices.
  • SSH displays recent commands entered on a Linux system.

Question 2)
An administrator entered a command that included the >> redirector, followed by a second command that used cat. Which of the following best describes what the administrator did?

  • The administrator first redirected the output of a command into a file using cat and then displayed the file contents using >>.
  • The administrator first redirected the output of a command into a file using >> and then displayed the file contents using cat.
  • The administrator first displayed the help file for a command using >> and then closed the help file using cat.โ€ฏ
  • The administrator first displayed the history of recent commands using >> and then issued a recent command using cat.โ€ฏ

Question 3)
Which of the following represent advantages of using the command-line interface (CLI)? Select 2.โ€ฏ

  • It consumes fewer computer resources.
  • It provides a mouse-driven environment.
  • It’s easiest to run scripts on the CLI.
  • It displays information using easy-to-read icons.
  • It’s required by Linux systems.

 

Practice Quiz: Managing Linux Servers Quiz Answers

Question 1)
Which of these commands changes to the directory where most configuration files are stored?

  • cd /var
  • cd /etc
  • touch /var
  • touch /etc

Question 2)
A file named bluebasket.txt exists in a directory named projects in Kai Garcia’s home directory. Kai’s username is kgarcia. What is the absolute path for this file?

  • /home/kgarcia/projects/bluebasket.txt
  • /kgarcia/home/projects/bluebasket.txt
  • /projects/bluebasket.txt
  • /home/projects/bluebasket.txt./kgarcia

Question 3)
Which of these commands adds the rw permission for the group associated with the file file1.txt?

  • chmod rw+g file1.txt
  • chown g+rw file1.txt
  • chmod g+rw file1.txt
  • chmod g-rw file1.txt

Question 4)
Which of these commands changes the owner to joe for file1.txt?

  • chmod joe file1.txt
  • chown :joe file1.txt
  • chown joe file1.txt
  • chown file1.txt joe

Question 5)
Which of the following statements best describes name resolution?

  • Name resolution manages Linux user accounts.
  • Name resolution relates computer names and IP addresses.
  • Name resolution assigns IP addresses to computers.
  • Name resolution tests network connectivity between two systems.

 

Practice Quiz: Managing Linux Apps Quiz Answers

Question 1)
Which of these commands displays interactive system performance information?โ€ฏ

  • cat /proc/cpuinfo
  • top
  • perf
  • cat /proc/meminfoโ€ฏ

Question 2)
Which of the following statements best describes a service?

  • Services are interactive user programs, such as Vim or Google Chrome.
  • Services are long-running programs that provide functionality.
  • Services run once and automatically stop.
  • Services are parts of the operating system (OS) that interact with users.

Question 3)
Which of these commands causes the httpd service to start when the system boots?

  • systemctl enable httpd
  • systemctl start httpdโ€ฏ
  • systemctl boot httpd
  • systemctl system httpd

Question 4)
Which of these statements best describes MySQL?

  • MySQL is a closed-source relational database.
  • MySQL is an open-source relational database.
  • MySQL is an open-source web server.
  • MySQL is a closed-source firewall.

 

WEEK 2 QUIZ ANSWERS

Practice Quiz: Scripting Fundamentals Quiz Answers

Question 1)
A network engineer, who has several years of experience in coding and scripting, is mentoring a new team member. The new team member asks what the term โ€œcodingโ€ really means.
Which of the following best answers the new team memberโ€™s question?

  • โ€œCodingโ€ means working in the Linux command line.
  • โ€œCodingโ€ means compiling words into machine code executables.
  • โ€œCodingโ€ means writing in the syntax of a particular language.
  • โ€œCodingโ€ means processing 1s and 0s at the hardware level.

Question 2)
Every Bash shell script starts with a line of code called the โ€œshebangโ€ or โ€œshbangโ€ line which designates the Bash interpreter.
How does the “shbang” line appear?

  • #./bin/bash!
  • !#/bin/bash
  • #!/bin/bash
  • !/bin/bash

Question 3)
A security engineer reviews a script found online to help automate certain tasks. The engineer notices numerous hash characters (#) in the script and does not understand it.
What is the purpose of the hash (#) character in a bash script?

  • To hide parts of active code.
  • To start a mathematical calculation.
  • To display text as a script runs.
  • To add a comment to certain sections of code.

Question 4)
A coworker is trying to run a logical test in their code, and is having trouble. They ask for your help in choosing the right operator to compare two conditions and return a value of false if both conditions are the same.
Which of the following operators will return the value of false if both conditions are the same?

  • ||
  • ==
  • !=
  • >=

Question 5)
What is the purpose of scripting in terms of device management?

  • To enhance security by obscurity
  • To streamline common tasks
  • To provide redundancy
  • To improve task visibility to stakeholders

 

Automation Scripting Fundamentals Module Assessment Answers

Question 1)
Which of the following best describes a programming language?

  • It is a group of commands processed sequentially, and is specific to an operating system.
  • It is a code used by developers to create applications.
  • It is a sequence of 1s and 0s processed at the hardware level.
  • It is machine code written as low-level but readable CPU instructions that developers can analyze.

Question 2)
Your friend asks for a programming language to learn that is free, easy, and popular. What programming language would you suggest?

  • Python
  • C
  • JavaScript
  • Java

Question 3)
Which of the following statements best describes the benefit of a script editor?

  • A script editor automatically creates a script template.
  • A script editor automatically compiles the script.
  • A script editor offers syntax checking.
  • A script editor translates standard text into a script.

Question 4)
Your friend is learning a programming language and is frustrated with having to type in commands, making syntax mistakes, and needing help with debugging.
What can you suggest to make working with the language easier?

  • Use a grammar checking tool.
  • Use an integrated design environment.
  • Use a word processing program.
  • Use a web browser.

Question 5)
What is the file extension for PowerShell scripts?

  • .sh
  • .psh
  • .ps1
  • .pwr

Question 6)
What is the file extension for Linux scripts?

  • .sh
  • .lnx
  • .ps1
  • .bash

Question 7)
A user asks what #!/bin/bash (known as “shbang”) means at the top of the Linux script you’re writing.
Which of the explanations below best describes this script element?

  • It tells a Linux computer to process script commands using the Bash shell.
  • It tells a Linux computer to run all programs in the Bash shell.
  • It tells a Windows computer to process script commands using PowerShell.
  • It tells a Linux computer to close the Bash shell before running scripts.

Question 8)
Which of the following describes the information you will likely find in script comment lines? (Select TWO)

  • You might find examples of syntax or settings.
  • You might find the script’s purpose.
  • You might find which command interpreter to use.
  • You might find the time the script is scheduled to be run.

Question 9)
You have created the script entry tar -cf tarball.tar file*
Which of the comments below best explains the use of this script entry?

  • #Delete all files
  • #Back up files
  • #Run the script in tar
  • #Reboot the server

Question 10)
A manager asks you why the team should use a code repository.
Which of the options below best describes the advantages of a code repository? (Select TWO)

  • Code repositories provide version control.
  • Code repositories provide vulnerability scanning.
  • Code repositories provide merged changes.
  • Code repositories provide syntax checking.

Question 11)
Which of the following best describes a script function?

  • Functions repeat a section of code a predictable number of times.
  • Functions repeat a section of code an indeterminate number of times until a logical condition is met.
  • Functions are discrete code blocks that perform a repeatable task.
  • Functions label a value that can change as the script executes.

Question 12)
Which of the following best describes the difference between automation and orchestration?

  • Automation describes many orchestrated tasks, and orchestration describes one task.
  • Automation is a programming language, and orchestration is a script.
  • Automation describes one task, and orchestration describes many automated tasks.
  • Automation is a script, and orchestration is a programming language.

Question 13)
A coworker comments about having to repeat tasks on a server daily and sometimes forgetting steps.
Which of these solutions could you suggest to automate these tasks?

  • Use a virtual machine to complete the tasks.
  • Use a screen capture tool to complete the tasks.
  • Write a script to complete the tasks.
  • Use a container to complete the tasks.

Question 14)
You’re discussing an application deployment process with a coworker. This person links several self-initiating tasks together into a long series.
What is this is an example of?

  • Change management
  • Automation
  • Segmentation
  • Orchestration

Question 15)
You ran a script that you downloaded from the Internet and which you didn’t fully understand. It deleted files from your system, which you later discovered in the comments is normal for this script.
What risk does this scenario describe?

  • Unintended consequences
  • Password exposure
  • Trojan
  • Malicious intent

Question 16)
A user asks for help with a Linux script. The user points out that they have both read and write permissions to the script, but it won’t run.
What’s the problem?

  • Users need the execute (x) permission to run scripts.
  • Scripts must be run as part of a larger automation process.
  • Users need to type ./ before a script to run it.
  • Only administrators can run scripts on Linux systems.

Question 17)
You want to run a Linux script named backup.sh from a directory not on the command PATH, where Linux looks for executable files.
Which of the following commands will accomplish this?

  • ./backup.sh
  • run backup.sh
  • #backup.sh
  • backup.sh

 

Module Assessment


  • Linux App Server Fundamentals Module Assessment

  • Data Management Fundamentals Module Assessment