Docsity

Alibaba Log Service ACA Cloud Security Associate Practice Exam, Exams of Cybersecurity

Toggle sidebar
bg1
Alibaba Log Service ACA Cloud Security
Associate Practice Exam
**Question 1.** Which Alibaba Cloud Log Service component is primarily responsible for
collecting logs from ECS instances?
A) Logstore
B) Logtail
C) LogHub
D) LogProcessor
Answer: B
Explanation: Logtail is the agent installed on ECS instances that forwards system and application
logs to Log Service.
**Question 2.** In Log Service, what is the maximum number of Logstores you can create per
project?
A) 100
B) 1,000
C) 5,000
D) Unlimited
Answer: B
Explanation: Each Log Service project can contain up to 1,000 Logstores, which hold logs for
different sources or purposes.
**Question 3.** Which of the following best describes a “Logstore” in Alibaba Cloud Log
Service?
A) A virtual machine that processes logs
B) A container for indexed log data
C) A network gateway for log transmission
D) An encryption key for log data
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59

Partial preview of the text

Download Alibaba Log Service ACA Cloud Security Associate Practice Exam and more Exams Cybersecurity in PDF only on Docsity!

Associate Practice Exam

Question 1. Which Alibaba Cloud Log Service component is primarily responsible for collecting logs from ECS instances? A) Logstore B) Logtail C) LogHub D) LogProcessor Answer: B Explanation: Logtail is the agent installed on ECS instances that forwards system and application logs to Log Service. Question 2. In Log Service, what is the maximum number of Logstores you can create per project? A) 100 B) 1, C) 5, D) Unlimited Answer: B Explanation: Each Log Service project can contain up to 1,000 Logstores, which hold logs for different sources or purposes. Question 3. Which of the following best describes a “Logstore” in Alibaba Cloud Log Service? A) A virtual machine that processes logs B) A container for indexed log data C) A network gateway for log transmission D) An encryption key for log data

Associate Practice Exam

Answer: B Explanation: A Logstore is a logical storage unit where logs are stored, indexed, and queried. Question 4. When configuring Logtail on an ECS instance, which parameter defines the frequency of log upload? A) FlushInterval B) BatchSize C) RetryCount D) UploadTimeout Answer: A Explanation: FlushInterval sets how often Logtail pushes buffered logs to Log Service. Question 5. Which Log Service feature enables real‑time detection of security anomalies by correlating logs from multiple services? A) Log Archive B) Log Alert C) Log Analytics D) Log Sharding Answer: C Explanation: Log Analytics provides built‑in queries and dashboards for real‑time security correlation. Question 6. To protect log data at rest in Log Service, which encryption method is used by default? A) AES‑ 256 CMK managed by KMS B) RSA‑ 2048 public‑key encryption

Associate Practice Exam

A) VPC Flow Log B) RDS Slow Query Log C) Alibaba Cloud CDN Access Log D) Third‑party SaaS application logs via webhook Answer: D Explanation: Log Service provides native collectors for Alibaba Cloud services; third‑party SaaS logs require custom ingestion (e.g., via Logtail or API). Question 10. What is the default retention period for logs in a newly created Logstore if you do not specify one? A) 7 days B) 30 days C) 90 days D) 180 days Answer: B Explanation: By default, Log Service retains logs for 30 days unless a different TTL is configured. Question 11. Which of the following best describes “Logtail Config” in Log Service? A) A set of firewall rules for log traffic B) A JSON/YAML file defining log parsing rules and destinations C) An encryption policy for log data at rest D) A billing plan for log storage Answer: B Explanation: Logtail Config contains parsing, filtering, and shipping rules for logs collected by Logtail.

Associate Practice Exam

Question 12. When you enable “Log Archive” for a Logstore, where are the archived logs stored? A) In an Alibaba Cloud OSS bucket B) In a dedicated RDS instance C) In a separate Logstore within the same project D) In an encrypted EBS volume attached to ECS Answer: A Explanation: Log Archive moves older logs to an OSS bucket for long‑term, cost‑effective storage. Question 13. Which IAM policy element is required to grant a RAM user permission to write logs to a specific Logstore? A) ecs:CreateInstance B) logs:PutLogs C) vpc:CreateVpc D) kms:GenerateDataKey Answer: B Explanation: The logs:PutLogs action allows writing log entries to a Logstore. Question 14. In Log Service, which query language is used to search and analyze logs? A) SQL B) LogQL C) Lucene Query Syntax D) CloudWatch Insights Answer: C Explanation: Log Service uses Lucene‑based query syntax for log searching and analysis.

Associate Practice Exam

Answer: C Explanation: Log Alarm lets you define alert rules based on log query results, such as detecting repeated failed logins. Question 18. When integrating WAF logs with Log Service, which Logstore type should you select to retain logs for compliance purposes? A) Real‑time Logstore with 7‑day TTL B) Long‑term Logstore with 365‑day TTL C) Temporary Logstore with 1‑day TTL D) Encrypted Logstore with 30‑day TTL Answer: B Explanation: A Logstore with a long TTL (e.g., 365 days) satisfies compliance retention for WAF security logs. Question 19. Which of the following statements about Log Service’s “Log Backup” feature is correct? A) It creates a point‑in‑time snapshot of a Logstore that can be restored to any region. B) It continuously replicates logs to a secondary Logstore within the same project. C) It exports logs to an OSS bucket on a scheduled basis. D) It encrypts logs using a user‑provided PEM file. Answer: C Explanation: Log Backup schedules export of logs to an OSS bucket for archival or downstream processing. Question 20. How does Log Service ensure data integrity during log transmission from Logtail to the Logstore? A) By using HTTPS with TLS encryption and MD5 checksum verification

Associate Practice Exam

B) By sending logs over UDP without acknowledgment C) By compressing logs with ZIP and sending via FTP D) By storing logs locally on ECS until manual upload Answer: A Explanation: Logtail uses HTTPS with TLS and validates MD5 checksums to guarantee integrity and confidentiality. Question 21. Which of the following is NOT a valid way to ingest logs into Log Service? A) Using Logtail on ECS B) Enabling VPC Flow Log destination to Log Service C) Directly writing logs via the PutLogs API D) Uploading logs via SFTP to a Logstore endpoint Answer: D Explanation: Log Service does not provide an SFTP endpoint; logs must be sent via Logtail, API, or native service integrations. Question 22. When you need to restrict a RAM user to read logs only from a specific Logstore, which permission should you grant? A) logs:GetLogStore B) logs:DescribeLogStores C) logs:GetLog D) logs:ListLogStores Answer: C Explanation: logs:GetLog allows reading log entries from a specific Logstore while preventing write operations.

Associate Practice Exam

Explanation: Exceeding TTL results in automatic deletion, not a quota alarm. Write QPS, shard count, and entry size can trigger quota alerts. Question 26. In the context of Log Service, what does “Log Index” refer to? A) A unique identifier for each Logstore B) A data structure that enables fast search on specific fields C) The physical location of logs on disk D) A list of users authorized to view logs Answer: B Explanation: Log Indexes are created on fields to accelerate query performance. Question 27. Which of the following is a recommended way to protect sensitive fields (e.g., passwords) in logs before they reach Log Service? A) Enable Log Service automatic redaction B) Use Logtail’s “masking” feature in the config file C) Store logs in plain text and rely on KMS encryption D) Increase Logstore TTL to 365 days Answer: B Explanation: Logtail can mask or filter sensitive data before transmission, preventing it from being stored in Log Service. Question 28. When you enable “Cross‑Region Replication” for a Logstore, which of the following is true? A) Logs are duplicated to a Logstore in another region in near real‑time. B) Only the metadata of logs is replicated, not the actual log content. C) Replication incurs no additional cost.

Associate Practice Exam

D) The source Logstore becomes read‑only. Answer: A Explanation: Cross‑Region Replication copies log data to a target Logstore in a different region for disaster recovery. Question 29. Which Log Service metric would you monitor to detect a sudden spike in failed login attempts? A) WriteQPS B) LogstoreSize C) ErrorLogCount (custom query) D) CPUUtilization of ECS instance Answer: C Explanation: By creating a custom metric based on a query that counts failed login events, you can monitor spikes. Question 30. What is the purpose of “Log Service Access Control List (ACL)”? A) To define network firewall rules for Logtail traffic B) To grant or deny RAM users’ permissions on specific Logstores C) To encrypt logs with different keys per user D) To schedule automatic log deletions Answer: B Explanation: Log Service ACLs control which RAM users or roles can read/write specific Logstores. Question 31. Which of the following statements about Log Service’s “Retention Policy” is correct? A) Retention can be set per log entry individually.

Associate Practice Exam

Question 34. Which of the following actions can you perform directly from the Log Service console without using the API? A) Create a new KMS CMK for log encryption B) Define a custom log parsing rule for Logtail C) Set up a Log Alarm based on a query D) Rotate AccessKey for a RAM user Answer: C Explanation: Log Alarm creation is available in the console UI; other actions require API or separate services. Question 35. What is the maximum size of a single log entry that can be sent to Log Service via PutLogs? A) 64 KB B) 128 KB C) 256 KB D) 512 KB Answer: C Explanation: Log Service limits each log entry to 256 KB. Question 36. Which of the following best explains why you would use “Log Service Loghub” instead of direct OSS export for real‑time security monitoring? A) Loghub provides lower latency delivery to downstream systems. B) Loghub automatically encrypts logs with a user‑provided key. C) Loghub reduces storage costs compared to OSS. D) Loghub enables batch processing only once per day. Answer: A

Associate Practice Exam

Explanation: Loghub streams logs in near real‑time, enabling timely security monitoring, whereas OSS export is batch‑oriented. Question 37. When configuring a Logtail Config to collect Nginx access logs, which field must you specify to correctly parse the log format? A) LogPath B) LogPattern (regex) C) LogLevel D) LogRetention Answer: B Explanation: LogPattern defines the regular expression used to parse each log line. Question 38. Which of the following is a valid reason to enable “Log Service Multi‑AZ Deployment” for a critical security Logstore? A) To increase the maximum number of shards per Logstore B) To ensure high availability and fault tolerance across zones C) To reduce the latency of log ingestion from overseas regions D) To allow cross‑account log sharing without IAM policies Answer: B Explanation: Multi‑AZ deployment replicates logs across zones, providing HA and resilience. Question 39. In the context of Alibaba Cloud, which service can automatically forward logs from Log Service to a third‑party Slack channel? A) ActionTrail B) EventBridge (formerly CloudEvents) C) CloudMonitor

Associate Practice Exam

B) 1 hour C) 12 hours D) 24 hours Answer: B Explanation: A 1‑hour token limits exposure while providing enough time for batch log uploads. Question 43. Which of the following log types is automatically collected by Log Service when you enable “Security Center” integration? A) ECS system logs B) WebShell detection logs C) VPC NAT gateway logs D) OSS bucket lifecycle logs Answer: B Explanation: Security Center forwards WebShell detection events to Log Service for analysis. Question 44. Which of the following actions can be performed using the “Logstore API – DeleteLogstore”? A) Remove a Logstore and all its data permanently B) Archive a Logstore to OSS for long‑term storage C) Disable write access while preserving data D) Transfer ownership of a Logstore to another RAM user Answer: A Explanation: DeleteLogstore permanently deletes the Logstore and its contents. Question 45. To comply with GDPR, which Log Service configuration should you verify? A) Enable Logstore WORM mode and set retention to 90 days or less.

Associate Practice Exam

B) Disable encryption at rest. C) Store logs in a public OSS bucket. D) Allow all RAM users read access to all Logstores. Answer: A Explanation: WORM ensures immutability, and a limited retention period aligns with GDPR data minimization. Question 46. Which of the following is the correct order of steps to set up centralized logging from multiple ECS instances to a single Logstore? A) Create Logstore → Install Logtail on each ECS → Configure Logtail to point to Logstore → Verify ingestion B) Install Logtail → Create Logstore → Set up VPC Flow Log → Enable encryption C) Create Logstore → Enable OSS backup → Install CloudMonitor → Deploy RAM policy D) Enable ActionTrail → Create Logstore → Attach RAM role → Deploy Logtail Answer: A Explanation: The proper sequence is to create the destination Logstore first, then install and configure Logtail on each source ECS. Question 47. Which of the following best describes the “Log Service SDK”? A) A set of command‑line tools for managing Logstores B) A collection of programming language libraries to interact with Log Service APIs C) A graphical UI for creating dashboards D) A pre‑installed agent on ECS instances Answer: B Explanation: The SDK provides language‑specific libraries (Java, Python, Go, etc.) to call Log Service APIs.

Associate Practice Exam

Explanation: WriteQPS measures the write throughput (queries per second) for log ingestion. Question 51. When configuring Logtail to collect Docker container logs, which Logtail mode should you enable? A) File mode B) Syslog mode C) Docker mode D) Journal mode Answer: C Explanation: Docker mode allows Logtail to read logs from the Docker daemon’s JSON log files. Question 52. Which of the following actions will NOT increase the security of logs stored in Log Service? A) Enabling WORM mode B) Using a customer‑managed CMK from KMS C) Setting a public read ACL on the Logstore D) Limiting RAM user permissions to read‑only Answer: C Explanation: Public read ACL exposes logs, reducing security. Question 53. In the context of Log Service, what does “TTL” stand for? A) Total Transfer Limit B) Time To Live (retention period) C) Token Transfer Log D) Transaction Trace Level Answer: B

Associate Practice Exam

Explanation: TTL defines how long log data is retained before automatic deletion. Question 54. Which of the following is the correct way to enable encryption for logs at rest using a user‑managed key? A) Create a KMS CMK and associate it with the Logstore during creation B) Set Logstore encryption flag to “AES‑ 128 ” in the console C) Upload a PEM file to Log Service D) Enable SSL for Logtail communication only Answer: A Explanation: You must create a KMS CMK and bind it to the Logstore for at‑rest encryption. Question 55. Which of the following Log Service features helps you reduce costs by automatically moving older logs to a cheaper storage tier? A) Log Archive B) Log Sharding C) Log Compression D) Log Deduplication Answer: A Explanation: Log Archive transfers aged logs to OSS, which is cheaper than primary Logstore storage. Question 56. Which of the following is NOT a valid source for Alibaba Cloud ActionTrail logs? A) API calls made by RAM users B) Console login events C) VPC Flow Log packets