[Perform Day 2 Operations]

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
Get Premium NCP-CN Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
31 comments · newest first
GE
Georgiana
10 months ago
D seems off, the namespaces are mixed up.
AN
Anastacia
10 months ago
I think B is the right choice, though.
FR
Freida
10 months ago
Wait, 30 days for logs? That's a long time!
GA
Gail
10 months ago
C has the wrong retention units, right?
AU
Audra
11 months ago
Option A looks correct for the retention periods.
JE
Jean
11 months ago
I have a vague memory of retention settings, but I can't recall if it was days or hours. I think option C is wrong because it uses hours instead of days.
GR
Graciela
11 months ago
I practiced a similar question about retention periods last week, and I think it was crucial to ensure the namespaces matched. Option A seems to fit that requirement.
RI
Ricki
11 months ago
I'm not entirely sure, but I feel like the retention periods need to be clearly defined in the right context. I might be leaning towards option B, but I need to double-check.
ST
Stefany
11 months ago
I remember we discussed the importance of specifying the correct namespace for each tenant in the ConfigMap. I think option A looks right.
KA
Kati
12 months ago
This is a tricky one. I need to make sure I'm interpreting the namespaces and ConfigMaps correctly. I'll go through each option carefully and try to visualize how the logging system would be configured.
TO
Tora
12 months ago
Okay, I think I've got this. The key is to match the retention periods specified in the question to the YAML configurations provided. I'll double-check my work, but I'm feeling good about this one.
LA
Lakeesha
12 months ago
Hmm, I'm a bit confused by the different namespaces and ConfigMaps. I'll need to make sure I understand how the logging system is set up before I can confidently select the right YAML output.
GE
Genevive
1 year ago
This looks like a straightforward YAML configuration question. I'll need to carefully read through the details and options to determine the correct retention periods for each tenant.
BI
Billy
1 year ago
This is a great example of how DevOps teams need to manage multi-tenant environments. Gotta keep those logs organized!
AR
Artie
1 year ago
Yes, Option A sets the retention period correctly for each tenant.
AR
Artie
1 year ago
I think Option A is correct.
AR
Artie
1 year ago
Option A
VI
Viola
1 year ago
I'm not sure, but after hearing your opinions, I think I will go with option A as well.
LI
Lizbeth
1 year ago
The namespace names give a good clue that the retention periods should be different for each tenant. Option A is the way to go.
EL
Elouise
1 year ago
That makes sense. Each tenant should have its own specific retention period based on their needs.
EL
Elouise
1 year ago
Option A is correct. It sets a retention period of 30 days for tenant-innovation and 7 days for tenant-analytics.
PA
Patria
1 year ago
Haha, who would confuse days with hours? I bet the exam writers had a good laugh coming up with that trick.
EL
Elvera
1 year ago
User 2: Definitely, gotta pay attention to those details.
DA
Dante
1 year ago
User 1: I know right, that's a sneaky trick!
EL
Eladia
1 year ago
I like how the question provides a detailed exhibit to help us understand the context. The answer is definitely option A.
DI
Diane
1 year ago
Wow, this question really tests our attention to detail! The retention period is clearly specified in days, not hours.
LU
Lura
1 year ago
Wow, this question really tests our attention to detail! The retention period is clearly specified in days, not hours.
DE
Denna
1 year ago
B) yamlCollapseWrapCopyapiVersion: v1kind: ConfigMapmetadata:name: logging-innovation-confignamespace: tenant-innovationdata:values.yaml: |loki:structuredConfig:limits_config:retention_period: 30d---apiVersion: v1kind: ConfigMapmetadata:name: logging-analytics-confignamespace: tenant-innovationdata:values.yaml: |loki:structuredConfig:limits_config:retention_period: 7d
HU
Hui
1 year ago
A) yamlCollapseWrapCopyapiVersion: v1kind: ConfigMapmetadata:name: logging-innovation-confignamespace: tenant-innovationdata:values.yaml: |loki:structuredConfig:limits_config:retention_period: 30d---apiVersion: v1kind: ConfigMapmetadata:name: logging-analytics-confignamespace: tenant-analyticsdata:values.yaml: |loki:structuredConfig:limits_config:retention_period: 7d
CO
Corazon
1 year ago
I agree with Tiffiny. Option A seems to be the most accurate one based on the requirements given.
TI
Tiffiny
1 year ago
I think the answer is A because it specifies the retention period for each tenant correctly.