SAP-C01 : AWS Certified Solutions Architect – Professional : Part 19

  1. Someone has recommended a new client to you and you know he is into online gaming and you are almost certain he will want to set up an online gaming site which will require a database service that provides fast and predictable performance with seamless scalability.

    Which of the following AWS databases would be best suited to an online gaming site?

    • Amazon SimpleDB
    • Amazon DynamoDB
    • Amazon Redshift
    • Amazon ElastiCache
    Explanation:
    Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. You can use Amazon DynamoDB to create a database table that can store and retrieve any amount of data, and serve any level of request traffic. Amazon DynamoDB automatically spreads the data and traffic for the table over a sufficient number of servers to handle the request capacity specified by the customer and the amount of data stored, while maintaining consistent and fast performance.
  2. In DynamoDB, “The data is eventually consistent” means that__________.

    • a read request immediately after a write operation might not show the latest change.
    • a read request immediately after a write operation shows the latest change.
    • a write request immediately after a read operation might cause data loss.
    • a read request immediately after a write operation might cause data loss.
    Explanation:
    In DynamoDB, it takes time for the update to propagate to all copies. The data is eventually consistent, meaning that a read request immediately after a write operation might not show the latest change.
  3. ____________pricing offers significant savings over the normal price of DynamoDB provisioned throughput capacity.

    • Discount Voucher
    • Reserved Capacity
    • Discount Service
    • Reserved Point
    Explanation:
    Reserved Capacity pricing offers significant savings over the normal price of DynamoDB provisioned throughput capacity. When you buy Reserved Capacity, you pay a one-time upfront fee and commit to paying for a minimum usage level, at the hourly rates indicated above, for the duration of the Reserved Capacity term.
  4. In DynamoDB, which of the following operations is not possible by the console?

    • Updating an item
    • Copying an item
    • Blocking an item
    • Deleting an item
    Explanation:
    By using the console to manage DynamoDB, you can perform the following: adding an item, deleting an item, updating an item, and copying an item.
  5. In order for a table write to succeed, the provisioned throughput settings for the table and global secondary indexes, in DynamoDB, must have__________; otherwise, the write to the table will be throttled.

    • enough write capacity to accommodate the write
    • no additional write cost for the index
    • 100 bytes of overhead per index item
    • the size less than or equal to 1 KB
    Explanation:
    In order for a table write to succeed in DynamoDB, the provisioned throughput settings for the table and global secondary indexes must have enough write capacity to accommodate the write; otherwise, the write will be throttled.
  6. In DynamoDB, to get a detailed listing of secondary indexes on a table, you can use the ______ action.

    • BatchGetItem
    • TableName
    • DescribeTable
    • GetItem
    Explanation:
    In DynamoDB, DescribeTable returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.
  7. In regard to DynamoDB, for which one of the following parameters does Amazon not charge you?

    • Storage cost
    • I/O usage within the same Region
    • Cost per provisioned read units
    • Cost per provisioned write units
    Explanation:
    In DynamoDB, you will be charged for the storage and the throughput you use rather than for the I/O which has been used.
  8. Complete this statement: “When you load your table directly from an Amazon_____ table, you have the option to control the amount of provisioned throughput you consume.”

    • RDS
    • DataPipeline
    • DynamoDB
    • S3
    Explanation:
    When you load your table directly from an Amazon DynamoDB table, you have the option to control the amount of Amazon DynamoDB provisioned throughput you consume.
  9. Which of the following does Amazon DynamoDB perform?

    • Atomic increment or decrement on scalar values
    • Neither increment nor decrement operations
    • Only increment on vector values
    • Only atomic decrement operations

    Explanation:

    Amazon DynamoDB allows atomic increment and decrement operations on scalar values.

  10. A Provisioned IOPS volume must be at least __________ GB in size:

    • 20
    • 10
    • 50
    • 1
    Explanation:
    A Provisioned IOPS volume must be at least 10 GB in size
  11. A user has launched two EBS backed EC2 instances in the US-East-1a region. The user wants to change the zone of one of the instances. How can the user change it?

    • It is not possible to change the zone of an instance after it is launched
    • From the AWS EC2 console, select the Actions – > Change zones and specify the new zone
    • The zone can only be modified using the AWS CLI
    • Stop one of the instances and change the availability zone
    Explanation:
    With AWS EC2, when a user is launching an instance he can select the availability zone (AZ) at the time of launch. If the zone is not selected, AWS selects it on behalf of the user. Once the instance is launched, the user cannot change the zone of that instance unless he creates an AMI of that instance and launches a new instance from it.
  12. In Amazon Elastic Compute Cloud, you can specify storage volumes in addition to the root device volume when you create an AMI or when launching a new instance using______.

    • block device mapping
    • object mapping
    • batch storage mapping
    • datacenter mapping
    Explanation:
    When creating an AMI or launching a new instance, you can assign more than one block storage device to it.
    This device will be automatically set ready for you through an automated process known as block device mapping.
  13. You create an Amazon Elastic File System (EFS) file system and mount targets for the file system in your Virtual Private Cloud (VPC). Identify the initial permissions you can grant to the group root of your file system.

    • write-execute-modify
    • read-execute
    • read-write-modify
    • read-write
    Explanation:
    In Amazon EFS, when a file system and mount targets are created in your VPC, you can mount the remote file system locally on your Amazon Elastic Compute Cloud (EC2) instance. You can grant permissions to the users of your file system. The initial permissions mode allowed for Amazon EFS are:
    -​​ read-write-execute permissions to the owner root
    – read-execute permissions to the group root read-execute permissions to others
  14. You want to mount an Amazon EFS file system on an Amazon EC2 instance using DNS names. Which of the following generic form of a mount target’s DNS name must you use to mount the file system?

    • availability-zone.file-system-id.efs.aws-region.amazonaws.com
    • efs-system-id.availability-zone.file-aws-region.amazonaws.com
    • $file-system-id.$availability-zone.$efs.aws-region.$amazonaws.com
    • #aws-region.#availability-zone.#file-system-id.#efs.#amazonaws.com
    Explanation:
    An Amazon EFS file system can be mounted on an Amazon EC2 instance using DNS names. This can be done with either a DNS name for the file system or a DNS name for the mount target. To construct the mount target’s DNS name, use the following generic form:
    availability-zone.file-system-id.efs.aws-region.amazonaws.com
  15. A user is creating a Provisioned IOPS volume. What is the maximum ratio the user should configure between Provisioned IOPS and the volume size?

    • 30 to 1
    • 50 to 1
    • 10 to 1
    • 20 to 1
    Explanation:
    Provisioned IOPS SSD (io1) volumes are designed to meet the needs of I/O-intensive workloads, particularly database workloads, that are sensitive to storage performance and consistency. An io1 volume can range in size from 4 GiB to 16 TiB and you can provision 100 up to 20,000 IOPS per volume. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. For example, a 100 GiB volume can be provisioned with up to 5,000 IOPS. Any volume 400 GiB in size or greater allows provisioning up to the 20,000 IOPS maximum.
  16. Your Application is not highly available, and your on-premises server cannot access the mount target because the Availability Zone (AZ) in which the mount target exists is unavailable.

    Which of the following actions is recommended?

    • The application must implement the checkpoint logic and recreate the mount target.
    • The application must implement the shutdown logic and delete the mount target in the AZ.
    • The application must implement the delete logic and connect to a different mount target in the same AZ.
    • The application must implement the restart logic and connect to a mount target in a different AZ.
    Explanation:
    To make sure that there is continuous availability between your on-premises data center and your Amazon Virtual Private Cloud (VPC), it is suggested that you configure two AWS Direct Connect connections. Your application should implement restart logic and connect to a mount target in a different AZ if your application is not highly available and your on-premises server cannot access the mount target because the AZ in which the mount target exists becomes unavailable.
  17. Which of the following Amazon RDS storage types is ideal for applications with light or burst I/O requirements?

    • Both magnetic and Provisioned IOPS storage
    • Magnetic storage
    • Provisioned IOPS storage
    • None of these
    Explanation:
    Amazon RDS provides three storage types: magnetic, General Purpose (SSD), and Provisioned IOPS (input/output operations per second). Magnetic (Standard) storage is ideal for applications with light or burst I/O requirements.
  18. When I/O performance is more important than fault tolerance, which of the following configurations should be used?

    • SPAN 10
    • RAID 1
    • RAID 0
    • NFS 1
    Explanation:
    When I/O performance is more important than fault tolerance, the RAID 0 configuration must be used; for example, as in a heavily used database (where data replication is already set up separately).
  19. Amazon Elastic File System (EFS) provides information about the space used for an object by using the space _ used attribute of the Network File System Version 4.1 (NFSv4.1). The attribute includes the object’s current metered data size and not the metadata size. Which of the following utilities will you use to measure the amount of disk that is used of a file?

    • blkid utility
    • du utility
    • sfdisk utility
    • pydf utility
    Explanation:
    Amazon EFS reports file system sizes and sizes of objects within a file system. Using the NFSv4.1 space _ used attribute for measuring the space used for an object, it reports only the object’s current metered data size and not the metadata size. There are two utilities available for measuring disk usage of a file, the du and stat utilities.
  20. You have custom Network File System (NFS) client settings for your Amazon Elastic File System (EFS). It takes up to three seconds for an Amazon Elastic Compute Cloud (EC2) instance to see a write operation performed on a file system from another Amazon EC2 instance.

    Which of the following actions should you take to solve the custom NFS settings from causing delays in the write operation?

    • Unmount and remount the file system with the noac option to disable attribute caching.
    • Reduce the number of active users that have files open simultaneously on the instances.
    • Verify that the IP address of the specified mount target is valid.
    • Run the write operation from a different user ID on the same Amazon EC2 instance.
    Explanation:
    When you set up custom NFS client settings, it takes up to three seconds for an Amazon EC2 instance to see a write operation being performed on a file system from another Amazon EC2 instance. To solve this issue, you must unmount and remount your file system with the noac option to disable attribute caching if the NFS client on the Amazon EC2 instance that is reading the data has attribute caching activated. Attribute cache can also be cleared on demand by using a programming language that is compatible with the NFS procedures. To do this, you must send an ACCESS procedure request immediately before a read request.
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments