Q1. What is the difference between an S3 bucket policy and an IAM policy?
Both are JSON documents that grant permissions, but they attach to different things. - IAM policies are attached to identities (users, groups, roles) and define what thos...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (19 available).
Both are JSON documents that grant permissions, but they attach to different things. - IAM policies are attached to identities (users, groups, roles) and define what thos...
Linux permissions have three classes (user, group, other) and three bits each: read (4), write (2), and execute (1). - ls -l shows them as rwxr-xr--. The leading characte...
GCP IAM binds principals to roles on resources. A service account is a special identity for workloads rather than humans. - Principals: users, groups, service accounts, d...
Microsoft Entra ID, formerly Azure AD, is a cloud identity provider using modern protocols such as OAuth 2.0, OpenID Connect, and SAML. On-premises Active Directory Domai...
Both control traffic in a VPC, but at different layers. - Security groups are stateful and attached to ENIs or instances. Return traffic is automatically allowed. Rules a...
Never concatenate user input into SQL. Use prepared statements with bound parameters, which separate code from data. ```php $stmt = $pdo->prepare('SELECT * FROM users WHE...
Sessions persist state across stateless HTTP requests. session_start() creates or resumes a session identified by a cookie (PHPSESSID) and stores data server-side. Securi...
A role is an identity with permission policies but no permanent credentials. A trusted principal calls AWS STS AssumeRole and receives temporary credentials. Flow: 1. The...
Defence in depth: - Identity: least-privilege IAM roles, workload identity, no long-lived static keys, and RBAC scoped per namespace. - Network: private subnets, security...
Treat the pipeline as production infrastructure with its own threat model. - Secrets: never hardcode them. Use a secrets manager or OIDC federation so the pipeline gets s...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.