APURV
  • Home
  • Journey
  • Projects
  • Blogs
  • Interview
  • Exams
Resume
APURV

Building scalable, secure, and production-ready cloud infrastructure. Automation first.

NAVIGATION

HomeExperienceProjectsCertificationsSkills

TECH STACK

AWSGCPK8sCI/CDLinuxDocker

CONNECT

LinkedInGitHubEmailResume

© 2026 Apurv Gujjar. All rights reserved.
APURV
  • Home
  • Journey
  • Projects
  • Blogs
  • Interview
  • Exams
Resume
HomeInterview PortalDevSecOps
Vulnerabilities • SAST • Secrets
ALL HANDBOOKS
🎯Linux🐙Git & GitHub🤖GitHub Actions🌐Networking☁AWS🛠Terraform🐳Docker☸Kubernetes🔄GitOps📊Monitoring🛡DevSecOps⚙SRE🏗System Design💰Cost Optimization🚨Incident Scenarios👤HR & Behavioral☁GCP🐍Python☁AWS Architect
🛡

DevSecOps

// INTERVIEW & ARCHITECTURE HANDBOOK
Vulnerabilities • SAST • Secrets

Learn DevSecOps core architecture, production scenario-based questions, incident response, and real-world engineering solutions.

🛡️ Security & DevSecOps: Interactive Q&A Handbook#



🟢 Security & DevSecOps Q&A#

❓ Q1: What is DevSecOps?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: DevSecOps integrates security practices, tooling, and automated scanning directly into every phase of the standard software development lifecycle (SDLC), rather than treating security audits as an afterthought before release.

❓ Q2: Compare SAST, DAST, and IAST.#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer:

  • SAST (Static Application Security Testing): Analyzes source code or binaries without executing them (White-box testing) to identify coding errors, vulnerabilities, and credential leaks early.
  • DAST (Dynamic Application Security Testing): Analyzes a running application from the outside (Black-box testing) to discover runtime vulnerabilities, authentication weaknesses, and injection flaws.
  • IAST (Interactive Application Security Testing): Combines SAST and DAST by executing inside the application runtime using instrumented agents, analyzing code paths and inputs in real-time.

❓ Q3: What is Dependency Scanning?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: Dependency Scanning analyzes project dependency lockfiles (e.g., package-lock.json, go.sum) to match package versions against known vulnerability databases (like CVE databases), alerting if code imports libraries containing security issues.

❓ Q4: What is an SBOM?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: An SBOM (Software Bill of Materials) is a machine-readable nested inventory listing all software components, third-party libraries, dependencies, and license details utilized to build an application, allowing teams to track CVE exposures.

❓ Q5: What is Supply Chain Security?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: Supply Chain Security is the practice of securing the entire software lifecycle from development to deployment. This includes verifying the integrity of base images, securing CI/CD pipelines, signing commits, auditing dependencies, and protecting registry storage against unauthorized access.

❓ Q6: Define CVE and CVSS.#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer:

  • CVE (Common Vulnerabilities and Exposures): A standardized, unique identifier assigned to publicly disclosed cybersecurity vulnerabilities (e.g., CVE-2021-44228 for Log4j).
  • CVSS (Common Vulnerability Scoring System): A numerical rating system (ranging from 0.0 to 10.0) that measures the severity of a vulnerability based on exploitability, impact, and complexity.

❓ Q7: Explain Container Scanning.#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: Container Scanning checks container images (typically using tools like Trivy, Clair, or Grype) for vulnerabilities inside operating system libraries, base filesystems, and packages installed within the image.

❓ Q8: How do you design an automated Secret Rotation policy?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer:

  1. Storage: Save secrets in a centralized manager (AWS Secrets Manager, HashiCorp Vault).
  2. Automation: Write a serverless function (e.g., Lambda) triggered periodically (e.g., every 30 days).
  3. Rotation workflow:
    • Create a new credential version in the target system (e.g., database).
    • Update the secret manager database key.
    • Test connection using the new credentials.
    • Deprecate the old credentials.

❓ Q9: How do you secure a Kubernetes cluster?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer:

  1. RBAC: Enforce strict Least Privilege role mappings.
  2. Network Policies: Restrict pod communication.
  3. Secrets Encryption: Encrypt etcd storage at rest.
  4. PSS: Apply Pod Security Standards (restricting root containers).
  5. Control Plane hardening: Restrict access to the API server IP.

❓ Q10: What are CIS Benchmarks?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: CIS (Center for Internet Security) Benchmarks are globally recognized, consensus-based best practice guidelines used to configure and audit security settings for operating systems, cloud environments (AWS, Azure), and container orchestration platforms (Kubernetes).

❓ Q11: Explain OWASP Top 10.#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: The OWASP Top 10 is a regularly updated report representing the ten most critical security vulnerabilities affecting web applications (e.g., SQL injections, broken authentication, cryptographic failures, and server-side request forgery).

❓ Q12: What is Image Signing?#

Click on the dropdown below to reveal the technical answer.

💡 Reveal Technical Answer

Answer: Image Signing uses cryptographic key pairs (e.g., using Cosign) to sign a container image after building it. The deployment target (e.g., Kubernetes via a validating webhook) verifies the signature before running the container, ensuring that only trusted, unmodified images run in production.


MonitoringBack to PortalSRE
On This Page
Security & DevSecOps Q&A
APURV

Building scalable, secure, and production-ready cloud infrastructure. Automation first.

NAVIGATION

HomeExperienceProjectsCertificationsSkills

TECH STACK

AWSGCPK8sCI/CDLinuxDocker

CONNECT

LinkedInGitHubEmailResume

© 2026 Apurv Gujjar. All rights reserved.