deployment Flashcards

(11 cards)

1
Q

Why is deployment considered “the bridge between development and user value,” and what risks arise if deployment is treated as an afterthought?

A

Deployment ensures that code moves from a developer’s environment into production where real users interact with it. If treated lightly, risks include:

User trust erosion (bugs in production).

Financial loss (downtime, failed transactions).

Operational inefficiency (manual fixes, hotfix chaos).

Security vulnerabilities (misconfigured servers, exposed secrets).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Compare the deployment pipeline of a web app vs a mobile app. Why is iteration faster on the web?

A

Web apps: Immediate updates via server changes; users access via URL. Low distribution cost.

Mobile apps: Must pass app store reviews, handle device fragmentation, and push updates through user installs. Distribution is slower and costlier.

Iteration speed: Web apps bypass store approval, so fixes and features can be rolled out instantly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Your team deploys a new feature that breaks payment processing. What rollback strategies could you apply, and what are the trade-offs?

A

Blue-Green Deployment: Switch traffic back to the stable environment. Fast, but requires duplicate infrastructure.

Canary Release: Roll back only the faulty subset. Controlled, but slower.

Version Control Revert: Deploy previous commit. Simple, but may undo unrelated changes.

Trade-off: Speed vs precision — the choice depends on system criticality and infrastructure cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When would you choose serverless (e.g., AWS Lambda) over container orchestration (e.g., Kubernetes) for deployment?

A

Serverless: Best for event-driven, unpredictable workloads (e.g., image processing, chatbots). Low ops overhead, pay-per-use.

Kubernetes: Best for complex, long-running services needing scaling, networking, and resilience. Higher ops cost but more control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is minimizing manual deployment steps critical, and how does CI/CD solve this?

A

Manual steps: Introduce human error, config drift, and inconsistent environments.

CI/CD: Automates builds, tests, and deployments. Ensures reproducibility, faster iteration, and safer rollouts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What deployment-specific security practices must be enforced for both web and mobile apps?

A

Web: HTTPS, CORS policies, secret management, access controls.

Mobile: Secure API keys, permissions transparency, store compliance, encrypted storage.

Both: Regular patching, monitoring, and compliance audits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why is deployment not the “end of the story,” and what tools/processes ensure ongoing reliability?

A

Reason: Apps evolve; bugs, security patches, and new features require continuous updates.

Tools: Logging (Datadog, ELK), error tracking (Sentry), analytics (Google Analytics), alerting (PagerDuty).

Process: Scheduled updates, documentation, and proactive monitoring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly