Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Shared admin login: dev_team / Password1 for all developers | AAn unmanaged tool and dependency: packages are added without vetting, so malicious or vulnerable code can enter the software | |
| 2npm install any-package --force (no version checks or approval) | Blogging = OFF; alerts = NONE; access_log_review = never | |
| 3Unprotected source code: a public repository with no access restrictions exposes code and secrets to attackers | CPermissions are too open, so any user or intruder can change the source code. It should follow least privilege with only the access each role needs. | |
| 4No monitoring: without logs or alerts, suspicious activity in the environment goes unnoticed | Dgit remote add origin https://public-repo.com/payroll-app (visibility: public, API key in config.js) | |
| 5chmod 777 /project/source (every user can read, edit and delete the code) | ETools are unmanaged, with no approved list, updates or tracking. Only approved, patched tools should be allowed and recorded. | |
| 6Developers install any free tool they like on the build server, and no one keeps a list | FA weak access control: everyone shares one easily guessed admin account, so actions can't be traced and attackers can gain full access |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
insecure development environment — A workspace where weak controls over people, tools, code and data let vulnerabilities enter the software or let attackers reach it.repo.visibility = "public"GRANT ALL PRIVILEGES ON *.* TO 'dev';IF library.version < latest THEN
FLAG library AS outdatedlogging = False
alerts = Falsegit add .env
git commit -m "update"
git push origin main