Unit 1: Cloud Fundamentals and Security - Practice Quiz

INT364 — Cloud Architecture And Implementation-Ii 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which component of the AWS Global Infrastructure consists of one or more discrete data centers with redundant power, networking, and connectivity?

A. Local Zone
B. Availability Zone
C. Edge Location
D. AWS Region

2 Which factor should primarily be considered when choosing an AWS Region to reduce latency for end-users?

A. Compliance requirements
B. Cost of services
C. Number of Availability Zones
D. Proximity to the end-users

3 What is the primary function of AWS Edge Locations?

A. To provide low-latency content delivery via CloudFront
B. To host EC2 instances
C. To manage IAM policies
D. To store cold data archives

4 Which pillar of the AWS Well-Architected Framework focuses on the ability to run and monitor systems to deliver business value and to continually improve processes and procedures?

A. Security
B. Reliability
C. Operational Excellence
D. Performance Efficiency

5 Which design principle is recommended by the AWS Well-Architected Framework regarding capacity planning?

A. Guess capacity needs based on averages
B. Manually adjust capacity once a month
C. Stop guessing capacity needs
D. Always over-provision to ensure performance

6 In the Shared Responsibility Model, which of the following is the customer's responsibility?

A. Physical security of data centers
B. decommissioning storage devices
C. Patching the underlying host infrastructure
D. Client-side data encryption

7 What is the primary purpose of AWS Identity and Access Management (IAM)?

A. To monitor network traffic
B. To securely control access to AWS services and resources
C. To manage DNS records
D. To deploy applications

8 Which IAM entity represents a person or service that interacts with AWS?

A. IAM Policy
B. IAM Group
C. IAM User
D. IAM Role

9 What is the recommended best practice for the AWS account root user?

A. Use it for daily administrative tasks
B. Enable Multi-Factor Authentication (MFA) and lock away credentials
C. Create access keys for the root user for API access
D. Share the password with the development team

10 Which IAM feature allows you to associate permissions with a collection of users?

A. IAM Policy
B. Access Key
C. IAM Role
D. IAM Group

11 What format are IAM policies written in?

A. YAML
B. HTML
C. XML
D. JSON

12 Which principle suggests granting only the permissions required to perform a task?

A. Principle of Root Access
B. Principle of Maximum Authority
C. Principle of Least Privilege
D. Principle of Shared Responsibility

13 An IAM Role is best described as:

A. A document defining password policies
B. A group of users with shared permissions
C. An identity with permission policies that can be assumed by a user or service
D. A permanent identity with long-term credentials

14 What is the default effect of an IAM policy if no Allow or Deny is explicitly stated?

A. Explicit Deny
B. Implicit Deny
C. Implicit Allow
D. Conditional Allow

15 Which AWS service enables you to manage access across multiple AWS accounts centrally?

A. Amazon Inspector
B. AWS Config
C. AWS Organizations
D. Amazon CloudWatch

16 What mechanism allows users from an external identity provider (IdP) like Active Directory to access AWS resources without creating IAM users?

A. Access Keys
B. Identity Federation
C. MFA
D. IAM Groups

17 Which industry standard is commonly used for federating users into AWS?

A. HTTP
B. FTP
C. HTML5
D. SAML 2.0

18 To allow an application running on an EC2 instance to access an S3 bucket securely, what should you configure?

A. Embed Access Keys in the application code
B. Make the S3 bucket public
C. Attach an IAM Role to the EC2 instance
D. Create a new IAM User for the instance

19 Which API call is used to obtain temporary security credentials when assuming a role?

A. sts:GetSessionToken
B. sts:AssumeRole
C. iam:GetRole
D. iam:CreateUser

20 What is the primary service used for creating and managing cryptographic keys in AWS?

A. Amazon Macie
B. AWS Secrets Manager
C. AWS Key Management Service (KMS)
D. AWS Shield

21 Which type of encryption protects data while it is stored on a disk?

A. Encryption at Rest
B. SSL/TLS
C. End-to-End Encryption
D. Encryption in Transit

22 What does Server-Side Encryption (SSE) on Amazon S3 imply?

A. AWS encrypts the data after it is received and before saving it to disk
B. AWS stores the encryption keys on the user's computer
C. The user encrypts data before uploading
D. The data is encrypted during transfer over the internet only

23 Which AWS service protects against Distributed Denial of Service (DDoS) attacks?

A. AWS WAF
B. Amazon Inspector
C. AWS Artifact
D. AWS Shield

24 Which service helps protect your web applications from common web exploits like SQL injection and cross-site scripting?

A. Amazon GuardDuty
B. AWS WAF
C. AWS Firewall Manager
D. AWS Shield

25 Amazon GuardDuty is best described as:

A. An intelligent threat detection service
B. An automated vulnerability assessment service
C. A compliance reporting tool
D. A firewall for EC2 instances

26 Which service automatically discovers, classifies, and protects sensitive data (like PII) in AWS?

A. Amazon Macie
B. Amazon Inspector
C. AWS Config
D. AWS Secrets Manager

27 Which service is used to assess applications for exposure, vulnerabilities, and deviations from best practices?

A. AWS Shield
B. AWS WAF
C. AWS Trusted Advisor
D. Amazon Inspector

28 What does the 'Sustainability' pillar of the Well-Architected Framework focus on?

A. Reducing cost
B. Managing access controls
C. Minimizing the environmental impacts of running cloud workloads
D. Ensuring high availability

29 Which AWS service records API calls for your account and delivers log files to you?

A. AWS CloudTrail
B. Amazon CloudWatch
C. AWS Config
D. AWS X-Ray

30 In IAM, what is the 'PowerUserAccess' managed policy?

A. Access to billing information only
B. Full access to all services including IAM
C. Full access to all services excluding IAM management
D. Read-only access to all services

31 What feature allows you to grant cross-account access to S3 resources explicitly within the S3 service?

A. Bucket Policies
B. Service Control Policies
C. Security Groups
D. NACLs

32 Which cryptographic method uses a public key for encryption and a private key for decryption?

A. Obfuscation
B. Asymmetric encryption
C. Hashing
D. Symmetric encryption

33 What is 'Envelope Encryption'?

A. Wrapping a physical hard drive in a secure envelope
B. Encrypting data only at the network edge
C. Encrypting plaintext data with a data key, then encrypting the data key with a master key
D. Encrypting the email used to send keys

34 Which AWS feature can be used to ensure that EBS volumes created by users are always encrypted?

A. VPC Flow Logs
B. AWS Config Rules
C. EBS Snapshots
D. IAM Roles

35 When designing for failure in the Cloud, what is a key concept?

A. Single point of failure
B. Tightly coupled components
C. Vertical scaling only
D. Decoupling components

36 What is the purpose of Service Control Policies (SCPs) in AWS Organizations?

A. To define the maximum available permissions for member accounts
B. To manage encryption keys
C. To configure firewall rules
D. To grant permissions to IAM users

37 Which credential is required for programmatic access to AWS via the CLI?

A. SSH Key Pair
B. MFA Token only
C. Access Key ID and Secret Access Key
D. User Name and Password

38 What is the function of AWS Secrets Manager?

A. To store IAM user passwords
B. To rotate, manage, and retrieve database credentials and API keys
C. To firewall web applications
D. To encrypt EBS volumes

39 Which pillar of the Well-Architected Framework focuses on the ability to prevent financial loss?

A. Security
B. Reliability
C. Cost Optimization
D. Performance Efficiency

40 Which security service provides on-demand access to AWS compliance reports (e.g., SOC, PCI)?

A. AWS Artifact
B. AWS Shield
C. AWS Config
D. Amazon Inspector

41 In IAM, what is the 'Principal' in a policy statement?

A. The action being performed
B. The condition under which access is granted
C. The resource being accessed
D. The entity (user/role) allowed or denied access

42 What is the difference between a Security Group and a Network ACL (NACL)?

A. Security Groups act at the subnet level; NACLs act at the instance level
B. Security Groups are stateless; NACLs are stateful
C. Security Groups are stateful; NACLs are stateless
D. There is no difference

43 Which AWS service allows you to manage encryption keys in a dedicated, single-tenant hardware security module (HSM)?

A. Amazon S3
B. AWS CloudHSM
C. AWS KMS
D. AWS Secrets Manager

44 How often should IAM Access Keys be rotated according to best practices?

A. Once every 10 years
B. Regularly
C. Only when a breach occurs
D. Never

45 Which IAM tool helps you identify unused credentials and excessive permissions?

A. Route 53
B. IAM Credential Report / Access Analyzer
C. AWS Cost Explorer
D. AWS CloudFormation

46 If an explicit Deny and an explicit Allow exist for the same request, which one takes precedence?

A. The most recent policy
B. Explicit Deny
C. Explicit Allow
D. The policy with the most permissions

47 Which is a valid use case for Web Identity Federation?

A. Authenticating users via Google or Facebook to access AWS resources
B. Managing EC2 instances
C. Connecting an on-premise data center to VPC
D. Encrypting S3 buckets

48 What is the 'Condition' element in an IAM JSON policy used for?

A. To specify the resource ARN
B. To list the allowed actions
C. To define who can access the resource
D. To specify circumstances under which the policy grants permission

49 Which service acts as a threat detection service that continuously monitors for malicious activity and unauthorized behavior to protect your AWS accounts and workloads?

A. Amazon Macie
B. AWS WAF
C. Amazon GuardDuty
D. AWS Shield

50 What type of scaling is described as adding more power (CPU, RAM) to an existing machine?

A. Vertical Scaling
B. Auto Scaling
C. Horizontal Scaling
D. Diagonal Scaling