Back to sections

Cloud Platforms Quiz

Test what you actually know about Cloud Platforms. Free sample questions below, from easy to hard, with instant explanations.

easy

1. Which AWS service provides scalable object storage with 99.999999999% (11 nines) durability?

Amazon EFS
Amazon RDS
Amazon EBS
Amazon S3Correct

'11 nines' of durability means the odds of ever losing your data are astronomically small, and Amazon S3 gets there by automatically storing multiple copies of every object across different data centers in a region. EBS, EFS, and RDS are built to be fast and available, but they aren't engineered for that same extreme level of data durability.

medium

2. Which combination ensures encryption of data at rest AND in transit for an RDS PostgreSQL database?

Enable Encryption at rest + use SSL/TLS in app connection stringCorrect
Put RDS in private subnet
Enable AWS KMS key rotation
Use IAM authentication only

Data has two different places it needs protecting: sitting on disk, and traveling over the network. RDS's encryption-at-rest (backed by KMS) covers the first, and forcing your app to connect over SSL/TLS covers the second, together closing both gaps, which none of the other single options do alone.

hard

3. You need cross-region active-active DR for a stateful app (e.g., PostgreSQL). Which pattern is most resilient and consistent?

Multi-primary with conflict resolution (e.g., YugabyteDB, CockroachDB)Correct
DNS failover to cold standby
Async replication (e.g., RDS Read Replica)
Backup/restore every 5 mins

Active-active means both regions can accept writes at the same time, which creates a real problem: what happens when the same row gets edited in two places at once? Multi-primary databases like YugabyteDB and CockroachDB are specifically built to detect and resolve those conflicts, something a simple read replica or periodic backup was never designed to handle.

easy

4. Which principle ensures workloads remain available during a zone or region failure?

Fault Tolerance
Scalability
Elasticity
High Availability (HA)Correct

High Availability means having enough redundant copies of your app spread across different data centers (zones or regions) that if one goes down, traffic just flows to the ones that are still up. Elasticity and scalability are about handling more LOAD, not about surviving a failure, which is a different problem.

medium

5. A team updates an important image file on their website, but for the next several hours users all over the world keep seeing the old version even after refreshing. Their site uses a CDN. What most likely needs to happen?

Add more availability zones
Increase the auto-scaling group size
Invalidate or purge the cached copy on the CDNCorrect
Switch the file to block storage

A CDN keeps cached copies of files at edge locations for a set time, so an update to the origin file doesn't automatically appear until that cache expires or is manually invalidated. Adding more servers or availability zones has nothing to do with stale cached content.

hard

6. Your Terraform state is in S3 (AWS). You’re expanding to Azure. How do you manage state securely across clouds?

Store state in Git
Use separate backends (S3 + Azure Blob)
Use HashiCorp Vault to encrypt state files
Migrate to Terraform Cloud/Enterprise with remote stateCorrect

Terraform state is just a file that tracks what resources it's already created, and it needs one consistent home so it doesn't get out of sync. Terraform Cloud gives you a single backend that works for both AWS and Azure, with locking and version history built in, instead of juggling two separate, differently-secured storage locations.

easy

7. Which GCP service is equivalent to AWS Lambda and Azure Functions?

Google Compute Engine
Cloud Run
Cloud FunctionsCorrect
Google Kubernetes Engine

Cloud Functions is Google's version of 'run this small piece of code whenever something triggers it, and I don't want to manage any servers', which is exactly what AWS Lambda and Azure Functions do too. Cloud Run is similar but runs a full container instead of just a single function, so it's a different tool for a different job.

medium

8. Your AKS cluster pods can’t reach Azure Key Vault. You’ve assigned Managed Identity to AKS, but curl https://myvault.vault.azure.net fails with 403. What’s missing?

Azure AD app registration
Private Endpoint for Key Vault
Key Vault Firewall allows AKS subnet
Access Policy or RBAC granting get secret permission to the Managed IdentityCorrect

Having a Managed Identity just proves who the pod IS, it doesn't automatically grant that identity permission to do anything. Key Vault still needs an explicit Access Policy (or RBAC role) saying 'this identity is allowed to read secrets', and until that's added, every request gets rejected with a 403 no matter how the network or Azure AD is set up.

hard

9. How do you ensure CloudTrail logs are tamper-evident and retained for 7 years for compliance?

Enable CloudTrail + S3 Object Lock in Governance Mode + replication to separate accountCorrect
Stream logs to CloudWatch Logs
Enable CloudTrail + S3 Standard storage
Use AWS Backup for CloudTrail

For logs to be trustworthy as compliance evidence, it must be provably impossible to quietly edit or delete them. S3 Object Lock enforces that no one, not even an admin, can modify or delete the logs before the retention period ends, and copying them to a completely separate account means even a compromised primary account can't destroy the evidence.

easy

10. A new intern joins the support team and only needs to view application logs, but was accidentally given full administrator access to the cloud account. What security principle was violated?

Auto-scaling
Content delivery
Least privilegeCorrect
Data redundancy

Least privilege means giving someone only the permissions they actually need to do their job, nothing more. Granting the intern full admin access when they only need log viewing breaks this rule and creates unnecessary risk if their account is compromised.

Ready for the real thing?

Take the full timed Cloud Platforms quiz and see your score.

    Welcome to OpsQuiz!

    Real scenario-based DevOps questions, hands-on practice, and clear explanations for every answer.