A company has an Adobe Commerce store. An attribute named "my.attribute" (type "text") is created to save each product's global ID that is shared between multiple systems.
Several months after going live, the values of "my.attribute" are all integer. This causes a problem for the other systems when those systems receive this data.
An Adobe Commerce Architect needs to recommend a solution to change the type of "my.attribute" from textXo int Which two steps should the Architect take to achieve this? (Choose two.)
A. Write a plugin for \Magento\Eav\Model\Entity\Attrlbute\Backend\AbstractBackend::afterLoad() and load data from "catalog_product_entity_int"
B. Migrate data from table "catalog_product_entity_text" to "catalog.producLentityjnt" for the attribute.id
C. Run the Command bin/magentc indexer: reset catalog_product_attribute
D. Create a Data Patch and update 'my.attribute' type from "text" to "inf
E. Go to Admin > Stores > Attributes > Product, edit "my.attribute" and update type from "text' to "inf
正解:B,D
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
An Architect wants to create an Integration Test that does the following:
* Adds a product using a data fixture
* Executes $this->someLogic->execute($product) on the product
* Checks if the result is true.
Sthis->someLogic has the correct object assigned in the setup () method-Product creation and the tested logic must be executed in the context of two different store views with IDs of 3 and 4, which have been created and are available for the test.
How should the Architect meet these requirements?
A. Create two test Classes With one test method each. Use the @magentoExecuteInStoreContext 3 and @magentoExecuteInStoreContext 4 annotations on the class level.
B. Create one test class with one test method. Use the \Magento\testFramework\ store\Executionstorecontext class once in the fixture and another time in the test.
C. Create one test class with two test methods. Use the @magentoStoreContext 3 annotation in one method and @magentoStoreContext 4 in the other one.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.
The Architect discovers that the following cache keys are loaded on each frontend request: eav_entity_types, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE , SYSTEM_DEFAULT.
* The id_prefix of the frontend =>page_cache is set to 061_.
* The id_prefix of frontend => default: is not set.
* The Architect has enabled and configured Redis L2 caching.
How should the preload.keys be configured?
A)
B)
C)
D)
A. Option C
B. Option A
C. Option D
D. Option B
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
The development of an Adobe Commerce website is complete. The website is ready to be rolled out on the production environment.
An Architect designed the system to run in a distributed architecture made up of multiple backend webservers that process requests behind a Load Balancer.
After deploying the system and accessing the website for the first time, users cannot access the Customer Dashboard after logging in. The website keeps redirecting users to the sign-in page even though the users have successfully logged in. The Architect determines that the session is not being saved properly.
In the napp/etc/env.php\ the session is configured as follows:
What should the Architect do to correct this issue?
A. Increase the session size with the command config:set system/security/max_session_size_admin
B. Update the session host value to a shared Redis instance
C. Utilize the Remote Storage module to synchronize sessions between the servers
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
A developer needs to uninstall two custom modules as well as the database data and schemas. The developer uses the following command:
bin/magento module:uninstall Vendor_SampleMinimal Vendor_SampleModifyContent When the command is run from CLI, the developer fails to remove the database schema and data defined in the module Uninstall class.
Which three requirements should the Architect recommend be checked to troubleshoot this issue? (Choose three.)
A. bin/magento maintenance: enable command should be run in CLI before
B. invoked uninstall () method is implemented in the Uninstall class
C. remove-schema and --remove-data options are specified as arguments for the CLI command
D. composer.json file is present and defines the module as a composer package
E. --remove-data option is specified as an argument for the CLI command
F. Invoke uninstallData() and uninstallSchema () are defined in the Uninstall class
正解:B,D,E
解説: (Pass4Test メンバーにのみ表示されます)
Ohta -
AD0-E718試験合格しました。本試験は模擬試験そのまんまの問題だらけで楽勝でした。
ありがとうございました。みんなも頑張ってください。