Exam Information
Free practice questions with explanations
Eccouncil 312-40 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 11
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Data Security in Cloud
A healthcare provider stores patient imaging files in Amazon S3 in the eu-west-1 region. Compliance requires that objects be retained for 7 years and that no user, including the root account, can delete or overwrite them during that period. The company also wants to keep the ability to change the retention period later if regulations change. Which configuration best meets these requirements?
Correct Answer: CExplanationS3 Object Lock in compliance mode prevents any user, including the root account, from deleting or overwriting a protected object version until its retention period expires, and the retention period can still be extended. Governance mode can be bypassed by principals holding the s3:BypassGovernanceRetention permission, which violates the no-one-can-delete requirement. Versioning with a deny policy can be undone by anyone able to edit the bucket policy, and the root user is not constrained by such a policy. Lifecycle transitions change storage class but do not enforce immutability.
-
2 Question 2 Multiple choice Platform and Infrastructure Security in Cloud
A company is migrating a three-tier application to Microsoft Azure. The database tier must accept connections only from the application subnet, must not have a public IP address, and administrators must reach virtual machines without exposing RDP or SSH to the internet. The security team also wants outbound internet traffic from the database subnet to be inspected centrally. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: C, DExplanationA network security group bound to the database subnet with an inbound rule limited to the application subnet range enforces the connectivity restriction without any public endpoint. A user-defined route sending default traffic to an Azure Firewall private address forces outbound inspection through the central firewall, as required. Azure Bastion is a valid admin path, but the question asks for two actions meeting all stated controls, and the other options either expose public IPs or misapply Bastion; Bastion alone does not inspect outbound traffic. Assigning public IPs contradicts the no-public-address rule.
-
3 Question 3 Order list Forensic Investigation in Cloud
A security engineer suspects that an AWS IAM access key belonging to a developer was used from an unfamiliar IP address to enumerate S3 buckets. The engineer must preserve evidence while keeping the investigation defensible. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Document the chain of custody for exported CloudTrail logs stored in a separate forensic account.
- Snapshot the affected EBS volumes and record their volume IDs and timestamps.
- Deactivate the suspected access key so no further API calls can be made with it.
- Query AWS CloudTrail event history for all API calls made with that access key ID.
Correct Answer:- Deactivate the suspected access key so no further API calls can be made with it.
- Query AWS CloudTrail event history for all API calls made with that access key ID.
- Snapshot the affected EBS volumes and record their volume IDs and timestamps.
- Document the chain of custody for exported CloudTrail logs stored in a separate forensic account.
ExplanationDeactivating the access key first stops ongoing misuse, but only after the key identifier is known and recorded. Querying CloudTrail for events tied to that access key ID then establishes what was accessed. Snapshotting EBS volumes preserves compute-level evidence if any instance was touched, and documenting chain of custody for exported logs is the final step to keep the evidence admissible. Snapshotting before deactivation is an acceptable alternative ordering in some playbooks, but the key must still be disabled before logs are exported and the chain of custody recorded last.
-
4 Question 4 Drag and drop Governance, Risk Management, and Compliance in Cloud
A multinational company deploys workloads across AWS, Azure, and GCP and must enforce consistent governance. Match each governance requirement to the service that natively satisfies it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Organize projects under a hierarchy where organization policy constraints are inherited by all child resourcesEvaluate resource configurations continuously against a set of compliance rules and report noncomplianceEnforce that all new Azure resources are created only in approved regionsAWS Security HubGoogle Cloud Resource ManagerAzure Blueprints archiveAWS ConfigAzure PolicyCorrect Answer:- Evaluate resource configurations continuously against a set of compliance rules and report noncompliance → AWS Config
- Enforce that all new Azure resources are created only in approved regions → Azure Policy
- Organize projects under a hierarchy where organization policy constraints are inherited by all child resources → Google Cloud Resource Manager
ExplanationAWS Config records resource configurations and evaluates them against managed or custom rules, flagging noncompliant resources. Azure Policy with a location-based definition denies or audits resource creation outside approved regions. Google Cloud Resource Manager's hierarchy of organization, folders, and projects lets organization policy constraints flow down to all child resources. AWS Security Hub aggregates findings rather than evaluating configuration rules itself, and the Azure Blueprints archive is not an enforcement service, so both serve as plausible but incorrect targets.
-
5 Question 5 Single choice Business Continuity and Disaster Recovery in Cloud
An e-commerce company runs its order database on Azure SQL Database in the East US region. The business requires a recovery point objective of 5 seconds and a recovery time objective under 30 minutes if the region fails. Read-only reporting queries must continue to run during normal operations without adding load to the primary. Which design best meets these requirements?
Correct Answer: AExplanationAuto-failover groups provide asynchronous replication with automatic or policy-driven failover, and their read-only listener lets reporting queries run against the secondary without touching the primary. Geo-restore depends on backup restoration, which takes far longer than 30 minutes and yields an RPO measured in up to an hour of data loss. Active geo-replication offers manual failover and no built-in listener, and pointing reporting at the primary adds load and violates the stated constraint. Hourly BACPAC exports cannot achieve a 5-second RPO.
-
6 Question 6 Dropdown Security Operations in Cloud
A security operations team must ensure that a CloudWatch alarm notifies on-call staff whenever an IAM root account login occurs. They are building a metric filter on the CloudTrail log group. Complete the filter pattern configuration by selecting the correct value for each blank.
Choose the correct value for each blank.
aws logs put-metric-filter --log-group-name CloudTrail/DefaultLogGroup --filter-name RootLogin --filter-pattern '{ $. = }' --metric-transformations metricName=RootLoginCount,metricNamespace=Security,metricValue=1Correct Answer:aws logs put-metric-filter --log-group-name CloudTrail/DefaultLogGroup --filter-name RootLogin --filter-pattern '{ $.userIdentity.type = "Root" }' --metric-transformations metricName=RootLoginCount,metricNamespace=Security,metricValue=1
ExplanationCloudTrail records the identity category of the caller in userIdentity.type, and root sign-in events carry the value Root, so a filter on that field matches only root activity. The JSON filter path must address that nested field, which the filter expresses through the identity type position. The other field names identify the event action, source service, or client address rather than the principal type, and the other literal values correspond to IAM users, accounts, or assumed roles rather than the root account.
-
7 Question 7 Single choice Penetration Testing in Cloud
A penetration testing firm has been contracted to assess a client's workloads running on Google Cloud. The client wants the test to include attempts to exploit misconfigured service account permissions and to pivot from a compromised Compute Engine instance. Before testing begins, which action is required by the cloud provider's policy for this type of activity?
Correct Answer: CExplanationGoogle Cloud permits customers to conduct penetration testing of their own resources without prior approval, provided the test complies with the Acceptable Use Policy and the Google Cloud Platform Terms of Service, and provided it does not target other tenants or infrastructure. Current guidance also asks testers to notify Google's security team of the planned testing, and the client's written authorization defines scope. Google's policy does not require a separate signed support agreement, and denial-of-service testing is actually prohibited without prior authorization, making the pre-approval option misleading. Stating that no notification is ever needed ignores the notice guidance.
-
8 Question 8 Multiple choice Incident Response in Cloud
A security team is building an automated response to GuardDuty findings that indicate an EC2 instance is communicating with a known command-and-control domain. The response must isolate the instance quickly, keep it running for memory capture, and avoid manual approval steps. Which TWO actions should the team include in the automated workflow? (Choose two.)
Correct Answer: A, CExplanationReplacing security groups with a quarantine group that blocks all traffic isolates the instance immediately while leaving it running, preserving volatile memory for capture. Snapshotting attached EBS volumes and tagging them with the finding identifier preserves disk evidence and links it to the incident. Stopping the instance clears memory, which conflicts with the requirement to keep it running. Termination destroys evidence, and detaching the instance profile does not stop traffic already in flight or protect the volumes.
-
9 Question 9 Single choice Standards, Policies, and Legal Issues in Cloud
A company headquartered in Germany uses a US-based SaaS vendor to process employee personal data stored in the vendor's Frankfurt data center. The company must demonstrate compliance with GDPR obligations for the processor relationship and wants to reduce audit effort by relying on independent evidence the vendor already holds. Which action best meets these requirements?
Correct Answer: DExplanationGDPR Article 28 requires a binding contract, which is the data processing agreement, with specified processor obligations, and the controller can use independent assurance reports such as SOC 2 Type II to support due diligence on controls. Reviewing the report's scope confirms whether the relevant processing environment is covered. A published privacy policy is a public statement, not contractual evidence. Storing data in the EU does not remove the Article 28 requirement, and an ISO 27001 certificate does not substitute for the contractual obligations.
-
10 Question 10 Drag and drop Introduction to Cloud Security
A cloud security architect is reviewing responsibilities for a team consuming managed services across providers. Match each security responsibility to the party that holds it under the shared responsibility model.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Configuring the access policies on a Google Cloud Storage bucket holding customer dataPatching the guest operating system on an Amazon EC2 instanceSecuring the physical hardware and facilities of Azure datacentersCloud provider only, regardless of service modelShared equally with the cloud providerCustomerCloud providerCorrect Answer:- Patching the guest operating system on an Amazon EC2 instance → Customer
- Securing the physical hardware and facilities of Azure datacenters → Cloud provider
- Configuring the access policies on a Google Cloud Storage bucket holding customer data → Customer
ExplanationIn an infrastructure-as-a-service model such as EC2, the customer is responsible for guest operating system patching and configuration. Physical facilities and hardware in Azure datacenters are the provider's responsibility under the shared model. Access policies on a storage bucket are configured by the customer, since the customer controls who can read its data. The two distractors misstate the model: responsibilities are split by service type rather than equally, and the provider's share varies by service rather than covering everything.
-
11 Question 11 Single choice Application Security in Cloud
A fintech company runs a customer-facing API on Amazon EC2 behind an Application Load Balancer. Its security team must block SQL injection and cross-site scripting attempts at the edge without modifying application code, and the solution must allow the security team to add custom rules for a new attack pattern within an hour. The team also wants to rate-limit requests from a single IP address to 2,000 per five minutes. Which approach best meets these requirements?
Correct Answer: AExplanationAWS WAF attached to an Application Load Balancer inspects HTTP requests before they reach the targets, so the application code stays unchanged. Managed rule groups cover SQL injection and cross-site scripting, and rule updates take effect quickly, meeting the one-hour requirement. Rate-based rules count requests per source IP over a rolling five-minute window. Shield Advanced targets volumetric DDoS and does not provide application-layer pattern matching of this kind. GuardDuty detects threats but does not block traffic inline, and changing security groups cannot inspect request content. Inspector finds vulnerabilities in the instance but does not filter live malicious requests.
These are 11 of the 147 questions in the full 312-40 pack.
Get All 147 QuestionsGet all 147 questions & answers
Full access options for Eccouncil 312-40
Self-study
PDF Version
- 147 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 147 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 147 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 312-40 Exam (Certified Cloud Security Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.