30 questions0s
See the answer and explanation right after each question
1
You accidentally
git push a .env file containing an AWS access key to a public GitHub repo. What is the FIRST thing you should do?2
How do the roles of
.env and .env.example differ?3
What is the core difference between HashiCorp Vault dynamic secrets and AWS Secrets Manager static rotation?
4
What is the main reason the TLS 1.3 handshake is faster than TLS 1.2?
5
What does "forward secrecy" in TLS mean?
6
How does mTLS (mutual TLS) differ from regular TLS, and which use case fits it best?
7
Why do real systems use "hybrid encryption" (asymmetric + symmetric) instead of asymmetric alone?
8
In envelope encryption with AWS KMS, what are the "DEK" and "KEK"?
9
Why is using AES-ECB mode a fundamental cryptography mistake?
10
What mechanism does a "dependency confusion attack" rely on?
11
Why is
npm ci recommended in CI instead of npm install?12
How does Sigstore "keyless signing" differ from GPG signing?
13
How do SPDX and CycloneDX differ in their main focus?
14
How do the severity (CVSS score) and the exploitability of a CVE in your specific app differ?
15
What does the
--ignore-unfixed pattern in Trivy mean, and what is the trade-off?16
An identity policy allows
s3:GetObject on arn:aws:s3:::data/*, but the Organization's SCP (Service Control Policy) has a Deny for s3:*. When the user calls s3:GetObject, what is the result?17
Which trust policy pattern solves the "confused deputy problem" when granting cross-account access to a third-party SaaS?
18
You find the following policy attached to a CI role. Why is it dangerous?
{ "Effect": "Allow", "NotAction": "iam:*", "Resource": "*" }
19
Why is a container's security boundary fundamentally weaker than a VM's?
20
What is the security problem with the following Dockerfile?
FROM node:24 COPY .env /app/.env COPY . /app WORKDIR /app CMD ["node", "server.js"]
21
What does CVE-2019-5736 (runc escape) let a malicious container do?
22
What replaced PSP (Pod Security Policy) in K8s 1.25?
23
In what form does a K8s Secret object store data, and how secure is it by default?
24
A default-deny NetworkPolicy is in place in the namespace, but a pod can still call other pods. What is the most likely cause?
25
How do SAST and DAST differ?
26
The team has installed gitleaks in a pre-commit hook (Husky). Why are secret scanning in CI and GitHub push protection still needed?
27
How does a ZAP active scan differ from a baseline scan, and what is the risk of running it against the wrong environment?
28
According to NIST SP 800-61 Rev. 2, what is the correct incident response lifecycle order?
29
Within what time frame does GDPR Article 33 require the controller to notify the Data Protection Authority of a data breach?
30
When investigating an incident on an EC2 instance suspected of being compromised, what is the most correct first action to protect the evidence?