Account

Posts of AWS, Azure, GCP Certifications

newest first

#840Photo
Views255−72%vs avg
Forwards—
Reactions—
Comments—
#834Photo
Views796−11%vs avg
Forwards—
Reactions—
Comments—
#820Text

🚀 Advanced DevOps Quiz #4 Kubernetes | Terraform | GitOps | Cloud Security Test your DevOps knowledge with these advanced, real-world scenario-based questions! Q1. Kubernetes A Kubernetes Pod is stuck in CrashLoopBackOff. Which command helps retrieve logs from its previous terminated container? A) kubectl get pods B) kubectl logs <pod-name> --previous C) kubectl describe node D) kubectl get services ✅ Answer: B) kubectl logs <pod-name> --previous Explanation: The --previous flag retrieves logs from the previously terminated container instance. Q2. Terraform Which Terraform command displays proposed infrastructure changes without actually applying them? A) terraform init B) terraform apply C) terraform plan D) terraform destroy ✅ Answer: C) terraform plan Explanation: Terraform Plan previews the changes Terraform intends to make before execution. Q3. GitOps Which tool continuously monitors and synchronizes Kubernetes cluster state with the desired state stored in Git? A) Jenkins B) Docker C) Argo CD D) Ansible ✅ Answer: C) Argo CD Explanation: Argo CD follows the GitOps approach by continuously reconciling the Kubernetes cluster with the desired configuration in Git. Q4. Cloud Security Which AWS service helps detect suspicious activities and potential threats in your AWS environment? A) Amazon Route 53 B) AWS GuardDuty C) Amazon EFS D) AWS CloudFormation ✅ Answer: B) AWS GuardDuty Explanation: GuardDuty continuously analyzes supported AWS data sources to identify potential security threats and malicious activities. Q5. Kubernetes Security How can applications running on Amazon EKS securely access AWS services without storing static AWS access keys inside containers? A) Store credentials in ConfigMaps B) Hardcode keys in Dockerfiles C) Use IAM Roles for Service Accounts (IRSA) D) Use administrator credentials for all Pods ✅ Answer: C) Use IAM Roles for Service Accounts (IRSA) Explanation: IRSA associates Kubernetes service accounts with IAM roles, allowing workloads to obtain temporary AWS credentials without embedding static access keys.

Open in Telegram
Views1,270+41%vs avg
Forwards—
Reactions—
Comments—