Exam NCP-CN Topic 3 Question 107 Discussion
Actual exam question for Nutanix's NCP-CN exam
Question #: 107
Topic #: 3
Question #: 107
Topic #: 3

A DevOps team faces a growing challenge of managing logs from multiple applications in an NKP cluster.
With several teams working on different projects, it is essential to implement a Multi-Tenant Logging system that allows each team to access their own logs securely and efficiently. Initially, two namespaces have been configured for each project, as shown in the exhibit. Then a ConfigMap has also been configured for each tenant, which contains the logging configuration. Which YAML output corresponds to a retention period of
30 days for tenant-innovation and seven days for tenant-analytics?
Suggested Answer: A Vote an answer
The NKPA course explains that NKP uses Grafana Loki as part of its logging stack to implement a multi- tenant logging system, allowing teams to access their logs securely within their respective namespaces. The exhibit indicates two namespaces, tenant-innovation and tenant-analytics, each with a ConfigMap for logging configuration. The requirement is to set a retention period of 30 days for tenant-innovation and 7 days for tenant-analytics.
The correct YAML output (Option A) configures Loki's retention period using ConfigMaps in the appropriate namespaces:
* For tenant-innovation, the ConfigMap logging-innovation-config in the tenant-innovation namespace sets retention_period: 30d.
* For tenant-analytics, the ConfigMap logging-analytics-config in the tenant-analytics namespace sets retention_period: 7d.
The Nutanix Cloud Native (NCP-CN) 6.10 Study Guide states: "In NKP, configure multi-tenant logging with Grafana Loki by creating a ConfigMap per namespace, specifying retention periods under loki.
structuredConfig.limits_config.retention_period (e.g., 30d for 30 days, 7d for 7 days)." The d suffix denotes days, aligning with the requirement for 30 days and 7 days retention periods.
Incorrect Options:
* B: The second ConfigMap incorrectly uses the tenant-innovation namespace instead of tenant-analytics, breaking the multi-tenant isolation.
* C: The retention periods are set to 30h and 7h (hours), not 30d and 7d (days), which does not meet the requirement.
* D: Both ConfigMaps use a generic tenant namespace, which does not match the specific namespaces (tenant-innovation, tenant-analytics) shown in the exhibit.
:
Nutanix Kubernetes Platform Administration (NKPA) Course, Section on Multi-Tenant Logging with Loki.
Nutanix Cloud Native (NCP-CN) 6.10 Study Guide, Chapter on Day 2 Operations.
Nutanix Cloud Bible, NutanixKubernetesPlatform Section: https://www.nutanixbible.com Grafana Loki Documentation: https://grafana.com/docs/loki
The correct YAML output (Option A) configures Loki's retention period using ConfigMaps in the appropriate namespaces:
* For tenant-innovation, the ConfigMap logging-innovation-config in the tenant-innovation namespace sets retention_period: 30d.
* For tenant-analytics, the ConfigMap logging-analytics-config in the tenant-analytics namespace sets retention_period: 7d.
The Nutanix Cloud Native (NCP-CN) 6.10 Study Guide states: "In NKP, configure multi-tenant logging with Grafana Loki by creating a ConfigMap per namespace, specifying retention periods under loki.
structuredConfig.limits_config.retention_period (e.g., 30d for 30 days, 7d for 7 days)." The d suffix denotes days, aligning with the requirement for 30 days and 7 days retention periods.
Incorrect Options:
* B: The second ConfigMap incorrectly uses the tenant-innovation namespace instead of tenant-analytics, breaking the multi-tenant isolation.
* C: The retention periods are set to 30h and 7h (hours), not 30d and 7d (days), which does not meet the requirement.
* D: Both ConfigMaps use a generic tenant namespace, which does not match the specific namespaces (tenant-innovation, tenant-analytics) shown in the exhibit.
:
Nutanix Kubernetes Platform Administration (NKPA) Course, Section on Multi-Tenant Logging with Loki.
Nutanix Cloud Native (NCP-CN) 6.10 Study Guide, Chapter on Day 2 Operations.
Nutanix Cloud Bible, NutanixKubernetesPlatform Section: https://www.nutanixbible.com Grafana Loki Documentation: https://grafana.com/docs/loki
by Hugo at May 18, 2026, 10:12 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).