




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Aimed at software engineers, this exam tests the ability to design, develop, and manage applications using cloud-native technologies. Key areas include DevOps, serverless architecture, RESTful APIs, CI/CD pipelines, and deploying containerized applications on platforms like Kubernetes and OpenShift.
Typology: Exams
1 / 116
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which architectural pattern is best suited for building loosely coupled, independently deployable services that communicate via asynchronous messages? A) Monolithic architecture B) Event-driven architecture C) Layered architecture D) Client-server architecture Answer: B Explanation: Event-driven architecture promotes loose coupling and asynchronous communication between services, making it ideal for scalable, independently deployable microservices that react to events or messages. Question 2. What is a key benefit of container orchestration platforms like Kubernetes? A) Manual deployment management B) Automated scaling and self-healing of containerized applications C) Monolithic application deployment D) Static resource allocation without scaling capabilities Answer: B Explanation: Kubernetes automates deployment, scaling, and self-healing of containerized applications, ensuring high availability and efficient resource utilization.
Question 3. Which principle of the Twelve-Factor App methodology emphasizes strict separation of config from code? A) Dependencies B) Config C) Logs D) Backing Services Answer: B Explanation: The 'Config' principle advocates storing configuration in environment variables, separating it from code to enable different configurations across environments. Question 4. Which cloud service component is most suitable for implementing serverless functions triggered by database changes? A) Virtual Machines B) Cloud Functions / AWS Lambda with event triggers C) Container Registry D) Load Balancer Answer: B Explanation: Cloud Functions (or Lambda) can be triggered by database events (e.g., via pub/sub or stream processing) enabling serverless, event-driven processing.
Question 7. Which data consistency model allows for updates to be propagated asynchronously, providing higher availability at the expense of eventual consistency? A) Strong consistency B) Eventual consistency C) Immediate consistency D) Linearizability Answer: B Explanation: Eventual consistency allows data to be asynchronously propagated across replicas, offering high availability but with the trade-off of eventual data consistency. Question 8. Which scaling method involves adding more machines or nodes to distribute load? A) Vertical scaling B) Horizontal scaling C) Caching D) Sharding Answer: B Explanation: Horizontal scaling involves adding more nodes or machines to handle increased load, providing better scalability compared to vertical scaling.
Question 9. Which caching strategy involves storing copies of data closer to the user, often via a CDN? A) Distributed cache B) Local cache C) Content Delivery Network (CDN) D) Database replication Answer: C Explanation: CDNs cache static content geographically closer to users, reducing latency and improving performance. Question 10. Which approach is recommended for disaster recovery in multi- region deployments? A) Single-region deployment with backups B) Multi-region deployment with data replication and automated failover mechanisms C) Manual data transfer between regions D) No backup strategy is necessary Answer: B Explanation: Multi-region deployment with data replication ensures high availability and resilience, enabling automatic failover during outages. Question 11. Which cloud service model allows developers to deploy applications without managing underlying infrastructure?
B) Cloud Storage / Amazon S C) Cloud Spanner D) BigQuery Answer: B Explanation: Cloud Storage or S3 are object storage services optimized for storing large, unstructured data like media files, backups, and archives. Question 14. Which database type is best suited for handling high-velocity transactional data with complex relationships? A) NoSQL document database B) Relational database (e.g., Cloud SQL) C) Data warehouse (e.g., BigQuery) D) Key-value store Answer: B Explanation: Relational databases handle complex relationships and transactional consistency, making them suitable for OLTP workloads. Question 15. Which messaging pattern is characterized by producers publishing messages to a topic and multiple consumers subscribing to receive messages? A) Point-to-point messaging B) Publish/subscribe (pub/sub) C) Request-response
D) Queue-based messaging Answer: B Explanation: Publish/subscribe pattern involves publishers sending messages to topics, and multiple subscribers receiving messages, facilitating decoupled communication. Question 16. Which stream processing service is designed for real-time analytics and data transformation? A) Cloud Dataflow / Apache Beam B) BigQuery C) Cloud Storage D) Cloud SQL Answer: A Explanation: Cloud Dataflow, built on Apache Beam, enables real-time stream processing, analytics, and data transformation pipelines. Question 17. What is a primary challenge associated with cold starts in serverless computing? A) Increased latency during function invocation after periods of inactivity B) Excessive resource consumption C) Difficulties in scaling functions horizontally D) Inability to trigger functions asynchronously
Explanation: API Gateways can route a percentage of traffic to different API versions, enabling canary deployments and gradual rollouts. Question 20. Which Kubernetes resource is used to expose a set of Pods as a network service within a cluster? A) Pod B) Deployment C) Service D) ConfigMap Answer: C Explanation: The Service resource in Kubernetes creates a stable network endpoint for Pods, enabling internal or external access. Question 21. Which deployment strategy involves gradually shifting traffic from an old version to a new version to minimize risk? A) Blue/green deployment B) Rolling update C) Canary deployment D) Shadow deployment Answer: C Explanation: Canary deployment shifts a small percentage of traffic to the new version, monitoring for issues before full rollout.
Question 22. Which tool is commonly used for Infrastructure as Code (IaC) provisioning in cloud environments? A) Terraform B) Jenkins C) Docker Compose D) Kubernetes YAML files Answer: A Explanation: Terraform allows defining, provisioning, and managing cloud infrastructure through declarative configuration files. Question 23. Which CI/CD practice involves deploying a new version of the application alongside the current version, then gradually shifting traffic? A) Blue/green deployment B) Canary deployment C) Rolling update D) Recreate deployment Answer: B Explanation: Canary deployment introduces the new version gradually, monitoring performance and errors before full transition.
A) Unstructured logging B) Structured logging C) Log rotation D) Log aggregation Answer: B Explanation: Structured logging encodes logs in formats like JSON, making them easier to analyze and query automatically. Question 27. Which monitoring component allows for collecting custom application metrics beyond default system metrics? A) Prometheus custom metrics API B) Cloud Logging C) Standard system metrics D) Log analysis tools Answer: A Explanation: Prometheus allows defining and collecting custom application- specific metrics, enhancing observability. Question 28. Which alerting method is most effective for notifying on-call engineers about critical system failures? A) Email notifications B) PagerDuty or Slack alerts
C) Manual log inspection D) Periodic reports Answer: B Explanation: PagerDuty and Slack enable real-time notifications, ensuring prompt response to critical incidents. Question 29. Which SRE practice involves analyzing past incidents to improve system reliability? A) Post-mortem analysis B) Continuous deployment C) Load testing D) Code review Answer: A Explanation: Post-mortems analyze incidents to identify root causes and implement improvements, fostering reliability. Question 30. Which IAM principle ensures that users are granted only the permissions necessary to perform their roles? A) Role-based access control (RBAC) B) Least privilege principle C) Identity federation D) Multi-factor authentication
Explanation: TDE encrypts stored data within databases or storage services, ensuring data at rest is protected from unauthorized access. Question 33. Which security standard is primarily concerned with protecting payment card information? A) HIPAA B) PCI DSS C) GDPR D) SOC 2 Answer: B Explanation: PCI DSS (Payment Card Industry Data Security Standard) sets requirements for securing payment card information. Question 34. Which security measure involves validating and sanitizing user input to prevent injection attacks? A) Input validation B) Encryption C) Access control D) Logging Answer: A Explanation: Input validation ensures user inputs are safe and conform to expected formats, preventing vulnerabilities like SQL injection and XSS.
Question 35. Which service is best suited for managing secrets such as API keys and passwords securely? A) Cloud Secret Manager / HashiCorp Vault B) Cloud Storage C) Cloud SQL D) Pub/Sub Answer: A Explanation: Cloud Secret Manager and Vault securely store, manage, and access sensitive information like API keys and passwords. Question 36. Which compliance standard primarily addresses the protection of health information? A) GDPR B) HIPAA C) PCI DSS D) SOC 2 Answer: B Explanation: HIPAA (Health Insurance Portability and Accountability Act) sets standards for safeguarding protected health information (PHI).
A) Pod B) Deployment C) Service D) ConfigMap Answer: B Explanation: Deployments manage rolling updates, rollbacks, and scaling of application Pods in Kubernetes. Question 40. Which deployment pattern involves deploying a duplicate environment identical to production, then switching traffic between environments? A) Blue/green deployment B) Canary deployment C) Rolling update D) Recreate deployment Answer: A Explanation: Blue/green deployment maintains two identical environments; traffic is switched from one to the other for zero-downtime updates. Question 41. Which tool helps automate infrastructure provisioning using declarative configuration files? A) Terraform
B) Jenkins C) Docker Compose D) Cloud SDK Answer: A Explanation: Terraform allows defining infrastructure as code, enabling automated provisioning and management of cloud resources. Question 42. Which deployment approach minimizes downtime by gradually replacing instances of the application? A) Blue/green deployment B) Rolling update C) Recreate deployment D) Snapshot deployment Answer: B Explanation: Rolling updates replace instances incrementally, reducing downtime and allowing for quick rollback if needed. Question 43. Which cloud PaaS service is optimized for deploying containerized applications without managing infrastructure? A) Cloud Run B) Compute Engine C) Kubernetes Engine