Real Interview Questions for the Cloud Engineer at Ericsson
NewPractice MCQs
Answers count toward the Cloud Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A Terraform 1.9 configuration creates subnets with `count = length(var.subnet_cidrs)` and `aws_subnet.public[count.index]`, where `var.subnet_cidrs` is `["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]`, so the CIDRs map to indexes 0, 1 and 2. A teammate deletes the middle CIDR and runs `terraform plan`. Which change does the plan show?
Answer to see the discussion.
MCQ-2A deploy tree at `/srv/deploy` holds `charts/app/values.yaml`, `legacy/Values.YAML`, `charts/app/templates.yaml/` (a directory), `vendor/istio/values.yaml` and `vendor-notes/values.yaml`. Run from the repo root, you need every file whose name contains `values` and ends in `.yaml` (any case), outside `vendor/`, and nothing else. Which command does it?
Answer to see the discussion.
MCQ-3A Cloud Engineer's role `nginx` sets `nginx_port: 80` in `defaults/main.yml` and `nginx_port: 8080` in `vars/main.yml`. Its `tasks/main.yml` renders `templates/site.conf.j2`, which uses `{{ nginx_port }}`. The playbook invokes the role with `roles: [{ role: nginx, nginx_port: 9000 }]` on a host with no other definition of the variable. Which port does the rendered config contain?
Answer to see the discussion.
MCQ-4A Cloud RAN control service runs as a Deployment with `replicas: 6` on Kubernetes 1.30, with `maxSurge: 2` and `maxUnavailable: 1`. Each new pod becomes Ready 25 s after start through its readiness probe, and the Service sends traffic only to Ready pods. An old pod is removed only after its replacement is Ready. What is the lowest number of Ready pods serving traffic at any point in the rollout?
Answer to see the discussion.
MCQ-5A plugin platform runs untrusted code from 300 tenants on one Linux cluster. Each plugin call must start within 500 ms, and a plugin that escapes its sandbox must not reach another tenant's data. A cold VM boot measures 1.2 s and a container start measures 150 ms. Which placement meets both constraints?
Answer to see the discussion.
MCQ-6A Cloud Engineer runs a three-replica message broker on Kubernetes 1.30 as a StatefulSet with a `volumeClaimTemplates` entry named `data`. Replicas are `broker-0`, `broker-1` and `broker-2`, and peers store cluster membership by hostname. During a node drain, `broker-1` is deleted and its pod is recreated. What name and storage does the replacement pod get?
Answer to see the discussion.
MCQ-7A telemetry platform ingests 4,000 network nodes at 250 messages/s each, about 1,000,000 messages/s in total. Each partition sustains 20,000 messages/s on its leader, and the design keeps 30% of that capacity free so a broker failover does not build a backlog that delays near real-time alerts. How many partitions should the telemetry topic get?
Answer to see the discussion.
MCQ-8A monolithic charging system serves 6,000 requests/s at peak on 20 identical pods, and its rating step does 15% of that work. An event will push load to 4 times peak, but only rating needs to grow. The team is splitting rating into its own service and must choose pod counts for the event. Which pod plan should it commit to?
Answer to see the discussion.
MCQ-9A Cloud Engineer runs `kubectl apply -f web.yaml` on a cluster running Kubernetes 1.30. The file starts with `apiVersion: v1` and `kind: Deployment`, and its spec sets `replicas: 3` with a `selector.matchLabels` that matches the pod template labels. The command fails with `no matches for kind "Deployment" in version "v1"` and no pods are created. Which change fixes the manifest?
Answer to see the discussion.
Curated: · Written: · Reviewed: