312-97 Practice Test

312-97 Practice Test practice questions, page 4 of 4, with answer review and explanations.

Question 16

Craig Kelly has been working as a software development team leader in an IT company over the past 8 years. His team is working on the development of an Android application product. Sandra Oliver, a DevSecOps engineer, used DAST tools and fuzz testing to perform advanced checks on the Android application product and detected critical and high severity issues. She provided the information about the security issues and the recommendations to mitigate them to Craig’s team. Which type of security checks performed by Sandra involve detection of critical and high severity issues using DAST tools and fuzz testing?

  1. Deploy-time checks
  2. Commit-time checks
  3. Test-time checks
  4. Build-time checks

Question 17

Gabriel Jarret has been working as a senior DevSecOps engineer in an IT company located in Houston, Texas. He is using Vault to manage secrets and protect sensitive data. On February 1, 2022, Gabriel wrote the secret using vault kv put secret/wejskt command. On February 10, 2022, his team detected a brute-force attack using Splunk monitoring tool. Gabriel would like to delete the secrets in the vault that he wrote on February 1, 2022. Which of the following commands should Gabriel use to delete a secret in Vault secret management tool?

  1. vault kv del secret/wejskt
  2. vault kv -delete secret/wejsktyup[
  3. vault kv -del secret/wejskt
  4. vault kv delete secret/wejskt

Question 18

Michael Rady recently joined an IT company as a DevSecOps engineer. His organization develops software products and web applications related to online marketing. Michael deployed a web application on Apache server. He would like to safeguard the deployed application from diverse types of web attacks by deploying ModSecurity WAF on Apache server. Which of the following command should Michael run to install ModSecurity WAF?

  1. sudo apt install libapache2-mod-security2 –x
  2. sudo apt install libapache2-mod-security2 –z
  3. sudo apt install libapache2-mod-security2 –w
  4. sudo apt install libapache2-mod-security2 –y

Question 19

Rachel McAdams applied for the position of DevSecOps engineer at TetraSoft Pvt. Ltd. She gave her interview on February 23, 2022, and was selected as a DevSecOps engineer. Her team is working on securing Ruby on Rails application. Rachel’s team leader asked her to integrate Brakeman SAST tool with Jenkins. To perform the integration, she navigated to Jenkins Plugin Manager and installed Warnings Next Generation Plugin. To run the tool in Jenkins, she invoked Brakeman as part of an Execute shell build step. In the Execute shell column, she wrote the following commands with brakeman options bash -l -c ‘ rvm install 3.0.0 && \ rvm use 3.0.0@brakeman -create && \ gem install brakeman && \ brakeman -no-progress -no-pager -no-exit-on-warn -o brakeman-output.json What is the function of the -no-exit-on-warn option in the above-mentioned command?

  1. It tells Brakeman to return a 1 exit code even if warnings are found
  2. It tells Brakeman to return a 2 exit code even if warnings are found
  3. It tells Brakeman to return a 3 exit code even if warnings are found
  4. It tells Brakeman to return a 0 exit code even if warnings are found

Question 20

DWART is an IT company that develops cyber security software and web applications. The organization ensures that all users should be identified and authorized, enforces proper auditing, secures data at rest, ensures that the attacker cannot bypass the security layers, implements multiple layers of defense, maintains proper data integrity, and performs proper input validation for the application. Based on the above-mentioned information, which of the following secure coding principles is achieved by DWART?

  1. Secure by implementation
  2. Secure by communication
  3. Secure by design
  4. Secure by default